diff vp6data.h @ 5821:51918cb97f6f libavcodec

add support for VP6 with huffman encoded blocks closes issue 104
author aurel
date Sun, 14 Oct 2007 22:30:59 +0000
parents 2b72f9bc4f06
children 1d83e9c34641
line wrap: on
line diff
--- a/vp6data.h	Sun Oct 14 21:19:40 2007 +0000
+++ b/vp6data.h	Sun Oct 14 22:30:59 2007 +0000
@@ -297,4 +297,12 @@
 
 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 */