Mercurial > libavcodec.hg
comparison vp3.c @ 8032:0839f325edb5 libavcodec
MMX VP3 Loop Filter
author | conrad |
---|---|
date | Fri, 17 Oct 2008 03:18:08 +0000 |
parents | 28d9f91aeb28 |
children | 800444234375 |
comparison
equal
deleted
inserted
replaced
8031:eebc7209c47f | 8032:0839f325edb5 |
---|---|
227 int entries; | 227 int entries; |
228 int huff_code_size; | 228 int huff_code_size; |
229 uint16_t huffman_table[80][32][2]; | 229 uint16_t huffman_table[80][32][2]; |
230 | 230 |
231 uint8_t filter_limit_values[64]; | 231 uint8_t filter_limit_values[64]; |
232 int bounding_values_array[256]; | 232 DECLARE_ALIGNED_8(int, bounding_values_array[256+2]); |
233 } Vp3DecodeContext; | 233 } Vp3DecodeContext; |
234 | 234 |
235 /************************************************************************ | 235 /************************************************************************ |
236 * VP3 specific functions | 236 * VP3 specific functions |
237 ************************************************************************/ | 237 ************************************************************************/ |
531 bounding_values[-x - filter_limit] = -filter_limit + x; | 531 bounding_values[-x - filter_limit] = -filter_limit + x; |
532 bounding_values[-x] = -x; | 532 bounding_values[-x] = -x; |
533 bounding_values[x] = x; | 533 bounding_values[x] = x; |
534 bounding_values[x + filter_limit] = filter_limit - x; | 534 bounding_values[x + filter_limit] = filter_limit - x; |
535 } | 535 } |
536 bounding_values[129] = bounding_values[130] = filter_limit * 0x02020202; | |
536 } | 537 } |
537 | 538 |
538 /* | 539 /* |
539 * This function unpacks all of the superblock/macroblock/fragment coding | 540 * This function unpacks all of the superblock/macroblock/fragment coding |
540 * information from the bitstream. | 541 * information from the bitstream. |