|
|
|
@ -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; |
|
|
|
|
} |
|
|
|
|