changeset 4741:17f982d0141b libavcodec

One more FASTTX-related hack
author kostya
date Tue, 27 Mar 2007 07:27:53 +0000
parents 59f4fb490fa7
children 184d33cce3b6
files vc1.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vc1.c	Tue Mar 27 05:23:07 2007 +0000
+++ b/vc1.c	Tue Mar 27 07:27:53 2007 +0000
@@ -3849,6 +3849,7 @@
                 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;
                 }