summaryrefslogtreecommitdiff
path: root/libavcodec/vp6data.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-10-14 22:30:59 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-10-14 22:30:59 +0000
commitf28b10483accd131125752e45160508b260ca9ac (patch)
tree64e1160ff576fb1e620b80ede5a2cece34c2d724 /libavcodec/vp6data.h
parent437c2079b7984f4989dbc924cf06d1645fa90d82 (diff)
add support for VP6 with huffman encoded blocks
closes issue 104 Originally committed as revision 10737 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp6data.h')
-rw-r--r--libavcodec/vp6data.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/vp6data.h b/libavcodec/vp6data.h
index 083c3fd482..70bf1b88c4 100644
--- a/libavcodec/vp6data.h
+++ b/libavcodec/vp6data.h
@@ -297,4 +297,12 @@ static const vp56_tree_t vp6_pcr_tree[] = {
static const uint8_t vp6_coord_div[] = { 4, 4, 4, 4, 8, 8 };
+static const uint8_t vp6_huff_coeff_map[] = {
+ 13, 14, 11, 0, 1, 15, 16, 18, 2, 17, 3, 4, 19, 20, 5, 6, 21, 22, 7, 8, 9, 10
+};
+
+static const uint8_t vp6_huff_run_map[] = {
+ 10, 13, 11, 12, 0, 1, 2, 3, 14, 8, 15, 16, 4, 5, 6, 7
+};
+
#endif /* VP6DATA_H */