summaryrefslogtreecommitdiff
path: root/libavcodec/ivi_common.h
diff options
context:
space:
mode:
authorDirk Ausserhaus <dausserhaus@gmail.com>2014-05-29 13:17:49 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2014-06-01 08:53:27 +0200
commit3df0d20028cb9d2daca16ac0dc6c3ab77183da37 (patch)
treebd943b8e794242ded9b723a747b10f53f58e6eb6 /libavcodec/ivi_common.h
parent383136264ef40452efd86cafb2d7221cd3830b3d (diff)
Move Indeo4 frametypes into common header.
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
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 fb97c8d7a2..584bf07279 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