From c6137a61f4043ae9130db9475cfbe6d98005b255 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Mon, 22 Oct 2007 10:22:36 +0000 Subject: [PATCH] Remove incorrect and unneeded code Originally committed as revision 10834 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vc1.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c index 420017c65..9736295b1 100644 --- a/libavcodec/vc1.c +++ b/libavcodec/vc1.c @@ -3096,7 +3096,6 @@ static int vc1_decode_p_mb(VC1Context *v) s->dsp.vc1_inv_trans_8x8(s->block[i]); if(v->rangeredfrm) for(j = 0; j < 64; j++) s->block[i][j] <<= 1; for(j = 0; j < 64; j++) s->block[i][j] += 128; - if(!v->res_fasttx && v->res_x8) for(j = 0; j < 64; j++) s->block[i][j] += 16; s->dsp.put_pixels_clamped(s->block[i], s->dest[dst_idx] + off, s->linesize >> ((i & 4) >> 2)); if(v->pq >= 9 && v->overlap) { if(v->c_avail) @@ -3200,7 +3199,6 @@ static int vc1_decode_p_mb(VC1Context *v) s->dsp.vc1_inv_trans_8x8(s->block[i]); if(v->rangeredfrm) for(j = 0; j < 64; j++) s->block[i][j] <<= 1; for(j = 0; j < 64; j++) s->block[i][j] += 128; - if(!v->res_fasttx && v->res_x8) for(j = 0; j < 64; j++) s->block[i][j] += 16; s->dsp.put_pixels_clamped(s->block[i], s->dest[dst_idx] + off, (i&4)?s->uvlinesize:s->linesize); if(v->pq >= 9 && v->overlap) { if(v->c_avail) @@ -3464,7 +3462,6 @@ static void vc1_decode_i_blocks(VC1Context *v) vc1_decode_i_block(v, s->block[k], k, val, (k<4)? v->codingset : v->codingset2); s->dsp.vc1_inv_trans_8x8(s->block[k]); - if(!v->res_fasttx && !v->res_x8) for(j = 0; j < 64; j++) s->block[k][j] -= 16; if(v->pq >= 9 && v->overlap) { for(j = 0; j < 64; j++) s->block[k][j] += 128; } -- 2.34.1