Mercurial > libavcodec.hg
comparison h264.c @ 4113:4ce3923d5806 libavcodec
Reenable AMD64 optimizations for cabac accidentially disabled in r6852
author | reimar |
---|---|
date | Wed, 01 Nov 2006 17:18:49 +0000 |
parents | 29f5edb4430a |
children | a1786732cd62 |
comparison
equal
deleted
inserted
replaced
4112:29f5edb4430a | 4113:4ce3923d5806 |
---|---|
6137 }\ | 6137 }\ |
6138 if( last == max_coeff -1 ) {\ | 6138 if( last == max_coeff -1 ) {\ |
6139 index[coeff_count++] = last;\ | 6139 index[coeff_count++] = last;\ |
6140 } | 6140 } |
6141 const uint8_t *sig_off = significant_coeff_flag_offset_8x8[MB_FIELD]; | 6141 const uint8_t *sig_off = significant_coeff_flag_offset_8x8[MB_FIELD]; |
6142 #if defined(ARCH_X86_32) && !(defined(PIC) && defined(__GNUC__)) | 6142 #if defined(ARCH_X86) && !(defined(PIC) && defined(__GNUC__)) |
6143 coeff_count= decode_significance_8x8_x86(CC, significant_coeff_ctx_base, index, sig_off); | 6143 coeff_count= decode_significance_8x8_x86(CC, significant_coeff_ctx_base, index, sig_off); |
6144 } else { | 6144 } else { |
6145 coeff_count= decode_significance_x86(CC, max_coeff, significant_coeff_ctx_base, index); | 6145 coeff_count= decode_significance_x86(CC, max_coeff, significant_coeff_ctx_base, index); |
6146 #else | 6146 #else |
6147 DECODE_SIGNIFICANCE( 63, sig_off[last], last_coeff_flag_offset_8x8[last] ); | 6147 DECODE_SIGNIFICANCE( 63, sig_off[last], last_coeff_flag_offset_8x8[last] ); |