Revision 4ae3ee4a libavcodec/vp8.c
libavcodec/vp8.c | ||
---|---|---|
30 | 30 |
#include "h264pred.h" |
31 | 31 |
#include "rectangle.h" |
32 | 32 |
|
33 |
#if ARCH_ARM |
|
34 |
# include "arm/vp8.h" |
|
35 |
#endif |
|
36 |
|
|
33 | 37 |
typedef struct { |
34 | 38 |
uint8_t filter_level; |
35 | 39 |
uint8_t inner_limit; |
... | ... | |
801 | 805 |
} |
802 | 806 |
} |
803 | 807 |
|
808 |
#ifndef decode_block_coeffs_internal |
|
804 | 809 |
/** |
805 | 810 |
* @param c arithmetic bitstream reader context |
806 | 811 |
* @param block destination for block coefficients |
... | ... | |
854 | 859 |
int b = vp56_rac_get_prob(c, token_prob[9+a]); |
855 | 860 |
int cat = (a<<1) + b; |
856 | 861 |
coeff = 3 + (8<<cat); |
857 |
coeff += vp8_rac_get_coeff(c, vp8_dct_cat_prob[cat]); |
|
862 |
coeff += vp8_rac_get_coeff(c, ff_vp8_dct_cat_prob[cat]);
|
|
858 | 863 |
} |
859 | 864 |
} |
860 | 865 |
token_prob = probs[i+1][2]; |
... | ... | |
864 | 869 |
|
865 | 870 |
return i; |
866 | 871 |
} |
872 |
#endif |
|
867 | 873 |
|
868 | 874 |
static av_always_inline |
869 | 875 |
int decode_block_coeffs(VP56RangeCoder *c, DCTELEM block[16], |
Also available in: Unified diff