summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-10-07 22:37:34 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-10-07 22:37:34 +0000
commit400d0f8e473b120f3db821e82e9b6ece4ffc3a0f (patch)
tree281b987d1274f66a06345750f53fd22296ce47e5 /libavcodec
parent4310580db5b53bd3dade6e9f73d1aeb39016b1e5 (diff)
disable benchmarking code
disable asm optims as the fastest depends on cpu type Originally committed as revision 6582 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/cabac.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h
index fdb8cdfdc5..18fd51d56a 100644
--- a/libavcodec/cabac.h
+++ b/libavcodec/cabac.h
@@ -297,7 +297,7 @@ static inline void renorm_cabac_decoder(CABACContext *c){
}
static inline void renorm_cabac_decoder_once(CABACContext *c){
-#ifdef ARCH_X86
+#ifdef ARCH_X86_DISABLED
int temp;
#if 0
//P3:683 athlon:475
@@ -367,7 +367,7 @@ static inline void renorm_cabac_decoder_once(CABACContext *c){
static int get_cabac(CABACContext *c, uint8_t * const state){
//FIXME gcc generates duplicate load/stores for c->low and c->range
-START_TIMER
+//START_TIMER
int s = *state;
int RangeLPS= c->lps_range[s][c->range>>(CABAC_BITS+7)]<<(CABAC_BITS+1);
int bit, lps_mask attribute_unused;
@@ -406,7 +406,7 @@ START_TIMER
if(!(c->low & CABAC_MASK))
refill2(c);
#endif
-STOP_TIMER("get_cabac")
+//STOP_TIMER("get_cabac")
return bit;
}