am trying to add VPP support to DirectShow filter sample code for
decoder. I am using transcode application and Encoder DirectShow
filter as reference for this. I have done the following,
Decode and VPP is created during filter creation.
session is used for both decoder and VPP.
have provided one interface to filter through which the application
can set VPP parameters.
same frame allocator will be used for allocating frame surfaces for
both decoder as well as VPP.
Decoder output surface
is used as input for VPP. VPP output surface is delivered to
With these modifications, I
am able to get results when no HW acceleration is used. But when HW
acceleration is used, I dont see any effect on output after the VPP
parameter change. But there is no error returned by any of the
I am using Media SDK 2.0. The version number used is
Major - 1, Minor - 0.
Is anything specific has to be done for HW
acceleration? Also is my approach correct?