locked
Using the TargetFrame parameter in the DXVA2_VideoProcessBltParams structure for interlaced content RRS feed

  • Question

  •  Hello

     The documentation for the VideoProcessBlt method  (DXVA Video Processing)  says :

     "For interlaced content, a frame with two interleaved fields produces two deinterlaced output frames. On the first output frame, the presentation time must equal the start time of the current picture in the primary video stream, just like progressive content. On the second output frame, the start time must equal the midpoint between the start time of the current picture in the primary video stream and the start time of the next picture in the stream."

     But the VideoProcessBlt method has only one Direct3D surface parameter, so how can one create two deinterlaced output frames with the correct start time ?

    Friday, October 15, 2010 12:11 AM

Answers

  • Hi lorin_f,

     

    You are correct.  You need to assign DXVA2_VideoProcessBltParams::TargetFrame properly (the start time for the first, the midpoint for the second).


    eijit
    • Marked as answer by lorin_f Thursday, November 4, 2010 12:25 AM
    Wednesday, November 3, 2010 5:12 PM

All replies

  •  Since no other change in parameters is mentioned and since in the case above the output frame rate is twice the input frame rate, I assume that  I just need to call VideoProcessBlt twice, first with the start time of the current picture in the primary video stream, and then with  the midpoint between pictures, as mentioned.

      Is it correct ?

    Friday, October 15, 2010 5:58 AM
  • Hi lorin_f,

     

    You are correct.  You need to assign DXVA2_VideoProcessBltParams::TargetFrame properly (the start time for the first, the midpoint for the second).


    eijit
    • Marked as answer by lorin_f Thursday, November 4, 2010 12:25 AM
    Wednesday, November 3, 2010 5:12 PM