cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

mattpcomp
Journeyman III

DXVA and Direct3D

using pixel shaders for video processing.

Hi,


I have a question regarding DXVA2 and render targets. I am developing a
video processing application and ultimately I want to use pixel shaders (in
D3D) to process video that comes out of the DXVA2 decoder.

I have successfully managed to create an H264 decoder and decode video, but
I run into problems when I try and change the render targets for the
decoder. Ideally I want to use IDirect3DTexture9 surfaces created with
IDirect3DDevice9::CreateTexture because this way I can avoid unnecessary
video copies or colour space conversions. However, it seems as if only
surfaces created with IDirectXVideoAccelerationService::CreateSurface will
work in the decoder (note I have also tried
IDirect3DDevice9::CreateOffscreenPlainSurface and
IDirect3DDevice9::CreateRenderTarget but they dont work either). Please can
you advise if what I am trying to do is possible and if so how.

Many thanks,

Matthew

0 Likes
2 Replies

Hi Matthew,

Go up one level and repost in the Graphics Programming category. I think the video folks will see it there.

Regards,

   Randy [AMD]

 

0 Likes

thanks

0 Likes