diff options
author | Måns Rullgård <mans@mansr.com> | 2010-06-22 23:12:48 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-06-22 23:12:48 +0000 |
commit | 8fbd4f51a8bf8ae56303d1c7a18bf357b606df61 (patch) | |
tree | 610d916dda31bc04e497492cceaabf7248813257 /libavcodec/bfin | |
parent | 25d3445811bd75df1de726973de00d1ebfaf9ed4 (diff) | |
download | ffmpeg-8fbd4f51a8bf8ae56303d1c7a18bf357b606df61.tar.gz |
Improve some uses of ff_cropTbl with constant offset
Originally committed as revision 23728 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bfin')
-rw-r--r-- | libavcodec/bfin/vp3_bfin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/bfin/vp3_bfin.c b/libavcodec/bfin/vp3_bfin.c index b0101785c9..dfe34c5b3e 100644 --- a/libavcodec/bfin/vp3_bfin.c +++ b/libavcodec/bfin/vp3_bfin.c @@ -25,14 +25,14 @@ /* Intra iDCT offset 128 */ void ff_bfin_vp3_idct_put (uint8_t *dest, int line_size, DCTELEM *block) { - uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; + uint8_t *cm = ff_cropTbl + MAX_NEG_CROP + 128; int i,j; ff_bfin_vp3_idct (block); for (i=0;i<8;i++) for (j=0;j<8;j++) - dest[line_size*i+j]=cm[128+block[i*8+j]]; + dest[line_size*i+j]=cm[block[i*8+j]]; } /* Inter iDCT */ |