I want to feed DirectX surfaces to the VPP, and in turn, the encoder. My input is the back buffer of my DirectX app, so I would like to render the back buffer to the surfaces in the VPP surface pool. However,the VPP surfacepool is created usingIDirectXVideoAccelerationService::CreateSurface which doesn't allow setting the D3DUSAGE_RENDERTARGET flag; this means I can't use the surfaces in the surface pool as render targets. Is there any way to get around this?
Thanks in advance,