Mercurial > libavcodec.hg
comparison vp6data.h @ 4308:74b476185cd1 libavcodec
Add support for VP60 and VP61.
author | aurel |
---|---|
date | Sun, 17 Dec 2006 22:00:12 +0000 |
parents | 5d33a42ee01a |
children | 2b72f9bc4f06 |
comparison
equal
deleted
inserted
replaced
4307:649e51394b6f | 4308:74b476185cd1 |
---|---|
142 5, 5, 5, 5, 5, 5, 5, 5, | 142 5, 5, 5, 5, 5, 5, 5, 5, |
143 5, 5, 5, 5, 5, 5, 5, 5, | 143 5, 5, 5, 5, 5, 5, 5, 5, |
144 5, 5, 5, 5, 5, 5, 5, 5, | 144 5, 5, 5, 5, 5, 5, 5, 5, |
145 }; | 145 }; |
146 | 146 |
147 static const int16_t vp6_block_copy_filter[16][8][4] = { | 147 static const int16_t vp6_block_copy_filter[17][8][4] = { |
148 { { 0, 128, 0, 0 }, /* 0 */ | 148 { { 0, 128, 0, 0 }, /* 0 */ |
149 { -3, 122, 9, 0 }, | 149 { -3, 122, 9, 0 }, |
150 { -4, 109, 24, -1 }, | 150 { -4, 109, 24, -1 }, |
151 { -5, 91, 45, -3 }, | 151 { -5, 91, 45, -3 }, |
152 { -4, 68, 68, -4 }, | 152 { -4, 68, 68, -4 }, |
271 { -19, 99, 59, -11 }, | 271 { -19, 99, 59, -11 }, |
272 { -16, 80, 80, -16 }, | 272 { -16, 80, 80, -16 }, |
273 { -11, 59, 99, -19 }, | 273 { -11, 59, 99, -19 }, |
274 { -6, 38, 114, -18 }, | 274 { -6, 38, 114, -18 }, |
275 { -2, 18, 124, -12 } }, | 275 { -2, 18, 124, -12 } }, |
276 { { 0, 128, 0, 0 }, /* 16 */ | |
277 { -4, 118, 16, -2 }, | |
278 { -7, 106, 34, -5 }, | |
279 { -8, 90, 53, -7 }, | |
280 { -8, 72, 72, -8 }, | |
281 { -7, 53, 90, -8 }, | |
282 { -5, 34, 106, -7 }, | |
283 { -2, 16, 118, -4 } }, | |
276 }; | 284 }; |
277 | 285 |
278 static const vp56_tree_t vp6_pcr_tree[] = { | 286 static const vp56_tree_t vp6_pcr_tree[] = { |
279 { 8, 0}, | 287 { 8, 0}, |
280 { 4, 1}, | 288 { 4, 1}, |