摘要 |
Methods and systems for MPEG2 progressive/interlace type detection are disclosed. Aspects of one method may include determining whether video data may comprise interlaced or progressive video data type, and use appropriate DCT coefficients scanning method for that video data type. Video data type may be determined by determining a number of interlaced macroblocks (IMs), for example, in a 60 frame macrocluster. This may comprise comparing field and frame variances for each macroblock in the original unencoded frame. The number of IMs may then be processed to generate a number of IMs in the macrocluster. The number of IMs in the macrocluster may be processed to determine the video data type. If, for example, three consecutive macroclusters are considered to be interlaced, then an appropriate pixel scanning method may be used for encoding. Similarly, if three consecutive macroclusters are considered to be progressive, then another appropriate pixel scanning method may be used for encoding.
|