comparison h264.c @ 4882:8131ccb4ea72 libavcodec

Mark code parts that cannot work on AMD64 due to broken relocations as such. This allows building shared libraries on AMD64 again. based on a patch by Diego 'Flameeyes' Petten and suggestions by Michael original thread: Date: Wed, 18 Apr 2007 11:26:12 +0200 Subject: [Ffmpeg-devel] [PATCH] (try 2) Build shared libraries on AMD64 again
author diego
date Fri, 27 Apr 2007 09:32:31 +0000
parents fb8cbb18b2b4
children 7eba8b456a3f
comparison
equal deleted inserted replaced
4881:fb8cbb18b2b4 4882:8131ccb4ea72
6109 }\ 6109 }\
6110 if( last == max_coeff -1 ) {\ 6110 if( last == max_coeff -1 ) {\
6111 index[coeff_count++] = last;\ 6111 index[coeff_count++] = last;\
6112 } 6112 }
6113 const uint8_t *sig_off = significant_coeff_flag_offset_8x8[MB_FIELD]; 6113 const uint8_t *sig_off = significant_coeff_flag_offset_8x8[MB_FIELD];
6114 #if defined(ARCH_X86) && defined(CONFIG_7REGS) && defined(HAVE_EBX_AVAILABLE) 6114 #if defined(ARCH_X86) && defined(CONFIG_7REGS) && defined(HAVE_EBX_AVAILABLE) && !defined(BROKEN_RELOCATIONS)
6115 coeff_count= decode_significance_8x8_x86(CC, significant_coeff_ctx_base, index, sig_off); 6115 coeff_count= decode_significance_8x8_x86(CC, significant_coeff_ctx_base, index, sig_off);
6116 } else { 6116 } else {
6117 coeff_count= decode_significance_x86(CC, max_coeff, significant_coeff_ctx_base, index); 6117 coeff_count= decode_significance_x86(CC, max_coeff, significant_coeff_ctx_base, index);
6118 #else 6118 #else
6119 DECODE_SIGNIFICANCE( 63, sig_off[last], last_coeff_flag_offset_8x8[last] ); 6119 DECODE_SIGNIFICANCE( 63, sig_off[last], last_coeff_flag_offset_8x8[last] );