diff h264.h @ 9831:febe1855b64a libavcodec

Add field prev_interlaced_frame to H264Context to be able to flag soft telecine progressive. Patch by Haruhiko Yamagata, h D yamagata A nifty D com
author cehoyos
date Tue, 09 Jun 2009 21:16:40 +0000
parents 828d15d322ed
children 46a247e54d6e
line wrap: on
line diff
--- a/h264.h	Tue Jun 09 20:29:52 2009 +0000
+++ b/h264.h	Tue Jun 09 21:16:40 2009 +0000
@@ -504,6 +504,14 @@
     SEI_PicStructType sei_pic_struct;
 
     /**
+     * Complement sei_pic_struct
+     * SEI_PIC_STRUCT_TOP_BOTTOM and SEI_PIC_STRUCT_BOTTOM_TOP indicate interlaced frames.
+     * However, soft telecined frames may have these values.
+     * This is used in an attempt to flag soft telecine progressive.
+     */
+    int prev_interlaced_frame;
+
+    /**
      * Bit set of clock types for fields/frames in picture timing SEI message.
      * For each found ct_type, appropriate bit is set (e.g., bit 1 for
      * interlaced).