diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-10-09 15:52:17 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-10-09 15:52:17 +0000 |
commit | 30dc5f56ad526410692fb60eb3cab3f50eac4aba (patch) | |
tree | 979d2d8d0dadbefa5c69759d07977b7e3a2c3076 /libavcodec | |
parent | c56d23dacf4c39d9184ea11e9fc85ef4ddcaa174 (diff) | |
download | ffmpeg-30dc5f56ad526410692fb60eb3cab3f50eac4aba.tar.gz |
drop failed attempt to optimize *state= c->mps_state[s];
Originally committed as revision 6604 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/cabac.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h index 031e136d79..cec2b1fc29 100644 --- a/libavcodec/cabac.h +++ b/libavcodec/cabac.h @@ -456,23 +456,7 @@ static int get_cabac(CABACContext *c, uint8_t * const state){ #if 1 if(c->low < c->range){ bit= s&1; -#ifdef ARCH_X86 - //P3:627 -asm( - "addb $2, %b0 \n\t" - " js 1f \n\t" - "movb %b0, %1 \n\t" - "1: \n\t" - : "+q"(s), "=m"(*state) -); -#else - *state= c->mps_state[s]; //P3:655 -/* if(s<126) //P3:657 - *state= s+2;*/ - s+=2; //P3:631 - if(s<128) - *state= s; -#endif + *state= c->mps_state[s]; renorm_cabac_decoder_once(c); }else{ bit= ff_h264_norm_shift[RangeLPS>>19]; |