aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ivi_common.h
diff options
context:
space:
mode:
authorDirk Ausserhaus <dausserhaus@gmail.com>2014-05-29 13:17:49 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-30 13:49:25 +0200
commitd24673a2c80418c3c14dad523619f44f3ca8cb58 (patch)
tree0284da96f0cca98800c681f11740e804d2e25a5c /libavcodec/ivi_common.h
parentca2ec98cbe1f0e690cac6f6a8c9b9fedd58c10f5 (diff)
downloadffmpeg-d24673a2c80418c3c14dad523619f44f3ca8cb58.tar.gz
avcodec/indeo4: Move frametypes into common header.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ivi_common.h')
-rw-r--r--libavcodec/ivi_common.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libavcodec/ivi_common.h b/libavcodec/ivi_common.h
index 72ab54f0a5..76d1b61c6a 100644
--- a/libavcodec/ivi_common.h
+++ b/libavcodec/ivi_common.h
@@ -33,6 +33,19 @@
#include "get_bits.h"
#include <stdint.h>
+/**
+ * Indeo 4 frame types.
+ */
+enum {
+ IVI4_FRAMETYPE_INTRA = 0,
+ IVI4_FRAMETYPE_INTRA1 = 1, ///< intra frame with slightly different bitstream coding
+ IVI4_FRAMETYPE_INTER = 2, ///< non-droppable P-frame
+ IVI4_FRAMETYPE_BIDIR = 3, ///< bidirectional frame
+ IVI4_FRAMETYPE_INTER_NOREF = 4, ///< droppable P-frame
+ IVI4_FRAMETYPE_NULL_FIRST = 5, ///< empty frame with no data
+ IVI4_FRAMETYPE_NULL_LAST = 6 ///< empty frame with no data
+};
+
#define IVI_VLC_BITS 13 ///< max number of bits of the ivi's huffman codes
#define IVI4_STREAM_ANALYSER 0
#define IVI5_IS_PROTECTED 0x20