[xiph-commits] r16323 - branches/theora-gumboot/lib/enc
gumboot at svn.xiph.org
gumboot at svn.xiph.org
Wed Jul 22 20:21:27 PDT 2009
Author: gumboot
Date: 2009-07-22 20:21:26 -0700 (Wed, 22 Jul 2009)
New Revision: 16323
Modified:
branches/theora-gumboot/lib/enc/analyze.c
Log:
In the DC-only IDCT case, use dc_dequant rather than dequant[0] (consistent with r16314) when performing the transform in-place.
Modified: branches/theora-gumboot/lib/enc/analyze.c
===================================================================
--- branches/theora-gumboot/lib/enc/analyze.c 2009-07-23 02:34:31 UTC (rev 16322)
+++ branches/theora-gumboot/lib/enc/analyze.c 2009-07-23 03:21:26 UTC (rev 16323)
@@ -778,7 +778,7 @@
int ci;
/*We round this dequant product (and not any of the others) because there's
no iDCT rounding.*/
- p=(ogg_int16_t)(data[0]*(ogg_int32_t)dequant[0]+15>>5);
+ p=(ogg_int16_t)(data[0]*(ogg_int32_t)dc_dequant+15>>5);
/*LOOP VECTORIZES.*/
for(ci=0;ci<64;ci++)data[ci]=p;
}
More information about the commits
mailing list