[xiph-commits] r9619 - trunk/theora/lib
giles at svn.xiph.org
giles at svn.xiph.org
Sun Jul 24 14:24:42 PDT 2005
Author: giles
Date: 2005-07-24 14:24:41 -0700 (Sun, 24 Jul 2005)
New Revision: 9619
Modified:
trunk/theora/lib/quant.c
trunk/theora/lib/toplevel.c
Log:
More cleanup associated with the ZigZag rename.
Modified: trunk/theora/lib/quant.c
===================================================================
--- trunk/theora/lib/quant.c 2005-07-24 21:16:06 UTC (rev 9618)
+++ trunk/theora/lib/quant.c 2005-07-24 21:24:41 UTC (rev 9619)
@@ -329,10 +329,10 @@
memcpy(pbi->Inter_coeffs, Inter_coeffsV1, sizeof(pbi->Inter_coeffs));
}
-static void BuildQuantIndex_Generic(PB_INSTANCE *pbi){
+static void BuildZigZagIndex(PB_INSTANCE *pbi){
ogg_int32_t i,j;
- /* invert the dequant index into the quant index */
+ /* invert the row to zigzag coeffient order lookup table */
for ( i = 0; i < BLOCK_SIZE; i++ ){
j = dezigzag_index[i];
pbi->zigzag_index[j] = i;
@@ -697,7 +697,7 @@
/* invert the dequant index into the quant index
the dxer has a different order than the cxer. */
- BuildQuantIndex_Generic(pbi);
+ BuildZigZagIndex(pbi);
/* Reorder dequantisation coefficients into dct zigzag order. */
for ( i = 0; i < BLOCK_SIZE; i++ ) {
Modified: trunk/theora/lib/toplevel.c
===================================================================
--- trunk/theora/lib/toplevel.c 2005-07-24 21:16:06 UTC (rev 9618)
+++ trunk/theora/lib/toplevel.c 2005-07-24 21:24:41 UTC (rev 9619)
@@ -317,7 +317,7 @@
/* Clear down the YUVtoRGB conversion skipped list. */
memset(pbi->skipped_display_fragments, 0, pbi->UnitFragments );
- /* Initialise version specific quantiser and in-loop filter values */
+ /* Initialise quantiser and in-loop filter */
CopyQTables(pbi, ci);
CopyFilterTables(pbi, ci);
More information about the commits
mailing list