summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/h263data.h
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2002-03-12 00:40:52 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2002-03-12 00:40:52 +0000
commit0bf7e08a076a9d88acaebcf6bbed63e090ff6857 (patch)
tree17001793feff338449d34ef8e8ff89d8dcb0ebad /src/libffmpeg/libavcodec/h263data.h
parent0e27a3976b6b5eaab4983b3e63a7009fe77451cf (diff)
downloadxine-lib-0bf7e08a076a9d88acaebcf6bbed63e090ff6857.tar.gz
xine-lib-0bf7e08a076a9d88acaebcf6bbed63e090ff6857.tar.bz2
updated ffmpeg to the latest ffmpeg-cvs, hopefully this will handle divx5 files
CVS patchset: 1558 CVS date: 2002/03/12 00:40:52
Diffstat (limited to 'src/libffmpeg/libavcodec/h263data.h')
-rw-r--r--src/libffmpeg/libavcodec/h263data.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/libffmpeg/libavcodec/h263data.h b/src/libffmpeg/libavcodec/h263data.h
index d41996a3b..88e456ba2 100644
--- a/src/libffmpeg/libavcodec/h263data.h
+++ b/src/libffmpeg/libavcodec/h263data.h
@@ -125,6 +125,47 @@ static RLTable rl_inter = {
inter_level,
};
+/* table used for Advanced INTRA Coding, just RUN and LEVEL change */
+const INT8 inter_level_aic[102] = {
+ 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 3, 2, 1, 2, 2, 4, 5,
+ 6, 7, 3, 2, 3, 4, 5, 2,
+ 3, 4, 2, 3, 1, 2, 25, 1,
+ 2, 24, 8, 2, 7, 4, 6, 1,
+ 9, 23, 2, 3, 1, 10, 12, 11,
+ 18, 17, 16, 15, 14, 13, 20, 19,
+ 22, 21, 1, 1, 1, 1, 1, 1,
+ 1, 2, 1, 1, 1, 3, 1, 1,
+ 1, 1, 1, 1, 1, 4, 1, 1,
+ 1, 1, 2, 2, 6, 5, 2, 2,
+ 3, 7, 3, 4, 9, 8, 1, 1,
+ 1, 2, 2, 2, 3, 10,
+};
+
+const INT8 inter_run_aic[102] = {
+ 0, 1, 3, 5, 7, 8, 9, 10,
+ 11, 4, 9, 13, 0, 1, 1, 1,
+ 1, 1, 0, 3, 2, 3, 0, 4,
+ 3, 0, 5, 5, 2, 6, 0, 4,
+ 7, 0, 0, 8, 0, 2, 0, 12,
+ 0, 0, 2, 1, 6, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 14, 20, 1, 19, 2,
+ 3, 0, 5, 6, 4, 0, 9, 10,
+ 11, 12, 13, 8, 7, 0, 17, 18,
+ 16, 15, 2, 1, 0, 0, 4, 3,
+ 1, 0, 2, 1, 0, 0, 21, 22,
+ 23, 7, 6, 5, 3, 0,
+};
+
+static RLTable rl_intra_aic = {
+ 102,
+ 58,
+ inter_vlc,
+ inter_run_aic,
+ inter_level_aic,
+};
+
static const UINT16 h263_format[8][2] = {
{ 0, 0 },
{ 128, 96 },