Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaruhiko Yamagata <h.yamagata@nifty.com>2009-06-10 01:16:40 +0400
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-06-10 01:16:40 +0400
commitb19d493f2b9b59e50547c6ccb0d4d68c29267923 (patch)
tree8260285e03627b6b0e9eb6346d8400f69d29537d /libavcodec/h264.h
parent277a28e8fc39cdc8bc69ed11532205f6f92a66ad (diff)
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 Originally committed as revision 19141 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index b58d86a67d..fa348a201f 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -504,6 +504,14 @@ typedef struct H264Context{
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).