This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TI's MPEG2 codec for interlaced decode

Hi All,

I am using TI's MPEG2 codec for interlaced decoding.

The IMPEG2VDEC_OutArgs after the decode is as below:

outArgs.is_mpeg2 = 1

outArgs.topfirst = 1

outArgs.repeatfield = 0

outArgs.progressive_frame = 0

outArgs.progressive_sequence = 0

outArgs.closed_gop  = 0

outArgs.broken_link = 0

outArgs.pict_struct  = 3 //MPEG2VDEC_FRAME_PICTURE

The value for outArgs.pict_struct   should be either MPEG2VDEC_TOP_FIELD or MPEG2VDEC_BOTTOM_FIELD, is not my assumption right ?

How do we get to know from the out agrs whether the decoded video picture is a field or a frame?

Our system is having a LCD based display and thus want the display frame to be progressive frame. So what would be the best way to get the frame (de-interlaced) for display while using the TI's decoder.

Thanks and Regards,

Krt