summaryrefslogtreecommitdiffstats
path: root/libhb/internal.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-10-23 17:09:27 +0000
committerjstebbins <[email protected]>2010-10-23 17:09:27 +0000
commit07331bb1e1c3d237fd63579d82c82440a7380883 (patch)
tree268cea75cf6fa0afe6defaefa97765cbb35f0fdb /libhb/internal.h
parenta57e235b627a7f1609f3e967bc106b60d344dba2 (diff)
ffmpeg video decoder enhancements
Add film/video cadence logging. Set buffer flags indicating field order, progressive, and repeats. Fix frame duration calculation when ffmpeg ticks_per_frame > 1 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3609 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/internal.h')
-rw-r--r--libhb/internal.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libhb/internal.h b/libhb/internal.h
index b6fbd1ddb..335c9a854 100644
--- a/libhb/internal.h
+++ b/libhb/internal.h
@@ -369,6 +369,17 @@ enum
FILTER_ROTATE
};
+// Picture flags used by filters
+#ifndef PIC_FLAG_REPEAT_FIRST_FIELD
+#define PIC_FLAG_REPEAT_FIRST_FIELD 256
+#endif
+#ifndef PIC_FLAG_TOP_FIELD_FIRST
+#define PIC_FLAG_TOP_FIELD_FIRST 8
+#endif
+#ifndef PIC_FLAG_PROGRESSIVE_FRAME
+#define PIC_FLAG_PROGRESSIVE_FRAME 16
+#endif
+
extern hb_work_object_t * hb_objects;
#define HB_WORK_IDLE 0