Commit d754a8d8 authored by maxim's avatar maxim

Make dequantization equation use less registers on some CPUs.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23391 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent aa13db47
......@@ -416,7 +416,7 @@ int ff_ivi_decode_blocks(GetBitContext *gb, IVIBandDesc *band, IVITile *tile)
q = (base_tab[pos] * scale_tab[quant]) >> 8;
if (q > 1)
val = val * q + FFSIGN(val) * ((q >> 1) - (q & 1));
val = val * q + FFSIGN(val) * (((q ^ 1) - 1) >> 1);
trvec[pos] = val;
col_flags[pos & col_mask] |= !!val; /* track columns containing non-zero coeffs */
}// while
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment