For DXVA decoder, can different resolution videos share same DXVA2_VideoDecoderRenderTarget surface RRS feed

  • Question

  • Hello,

    I am writing a H.264 playback using HW decoding. My decoder connects to an EVR filter. In my decoder, I fill dxva structures and put H.264 data into a DXVA2_VideoDecoderRenderTarget surface buffer, which is associated to an media sample. When my input H.264 data change to a different resolution, should I re-create the DXVA2_VideoDecoderRenderTarget surface? Or can I recycle the current DXVA2_VideoDecoderRenderTarget surface buffer and put in different resolution H.264 data?

    Thank you


    Tuesday, July 24, 2012 12:12 AM