summaryrefslogtreecommitdiffstats
path: root/libavcodec/h263data.h
diff options
context:
space:
mode:
authorJuanjo <pulento@users.sourceforge.net>2002-02-18 19:33:27 +0000
committerJuanjo <pulento@users.sourceforge.net>2002-02-18 19:33:27 +0000
commitd140623fc44c67e8955c56c7cf74c56c94c0f064 (patch)
tree2e686108e99dc6db02219cdf86fc288f7a3edf46 /libavcodec/h263data.h
parent608d0dee6fdb81ad260e74071a329353d74eef39 (diff)
downloadffmpeg-streaming-d140623fc44c67e8955c56c7cf74c56c94c0f064.zip
ffmpeg-streaming-d140623fc44c67e8955c56c7cf74c56c94c0f064.tar.gz
- H.263+ decoder support for Advanded INTRA Coding (buggy)
Originally committed as revision 310 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263data.h')
-rw-r--r--libavcodec/h263data.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/libavcodec/h263data.h b/libavcodec/h263data.h
index d41996a..88e456b 100644
--- a/libavcodec/h263data.h
+++ b/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 },
OpenPOWER on IntegriCloud