summaryrefslogtreecommitdiffstats
path: root/libavcodec/h263data.h
diff options
context:
space:
mode:
authorJuanjo <pulento@users.sourceforge.net>2001-11-17 21:14:54 +0000
committerJuanjo <pulento@users.sourceforge.net>2001-11-17 21:14:54 +0000
commit96815ce9e206279612628ce91bdc21734930fd12 (patch)
tree9e23b4cdd10cbfd91f6f61f0a12f607b7c37720a /libavcodec/h263data.h
parent9eaa46906b83bab588b8a30aa58e6b7095b8d8f5 (diff)
downloadffmpeg-streaming-96815ce9e206279612628ce91bdc21734930fd12.zip
ffmpeg-streaming-96815ce9e206279612628ce91bdc21734930fd12.tar.gz
- Added support to Inter4V+Q MBs to H.263 decoder.
- Advanced Prediction Mode activated for H.263 decoder. - Bug fixed on H.263+ header parsing for UFEP. - Now we can decode VIVO v1 streams :) Originally committed as revision 221 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263data.h')
-rw-r--r--libavcodec/h263data.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/libavcodec/h263data.h b/libavcodec/h263data.h
index 6965525..d41996a 100644
--- a/libavcodec/h263data.h
+++ b/libavcodec/h263data.h
@@ -4,20 +4,24 @@ static const UINT8 intra_MCBPC_code[8] = { 1, 1, 2, 3, 1, 1, 2, 3 };
static const UINT8 intra_MCBPC_bits[8] = { 1, 3, 3, 3, 4, 6, 6, 6 };
/* inter MCBPC, mb_type = (inter), (intra), (interq), (intraq), (inter4v) */
-/* Changed the tables for interq, following the standard ** Juanjo ** */
-static const UINT8 inter_MCBPC_code[20] = {
+/* Changed the tables for interq and inter4v+q, following the standard ** Juanjo ** */
+static const UINT8 inter_MCBPC_code[25] = {
1, 3, 2, 5,
3, 4, 3, 3,
3, 7, 6, 5,
4, 4, 3, 2,
2, 5, 4, 5,
+ 1, /* Stuffing */
+ 2, 12, 14, 15,
};
-static const UINT8 inter_MCBPC_bits[20] = {
+static const UINT8 inter_MCBPC_bits[25] = {
1, 4, 4, 6,
5, 8, 8, 7,
3, 7, 7, 9,
6, 9, 9, 9,
3, 7, 7, 8,
+ 9, /* Stuffing */
+ 11, 13, 13, 13,
};
/* This is the old table
OpenPOWER on IntegriCloud