[xiph-commits] r9529 - trunk/theora/lib

giles at svn.xiph.org giles at svn.xiph.org
Mon Jun 27 04:41:22 PDT 2005


Author: giles
Date: 2005-06-27 04:41:20 -0700 (Mon, 27 Jun 2005)
New Revision: 9529

Modified:
   trunk/theora/lib/quant.c
Log:
Clarify some comments.


Modified: trunk/theora/lib/quant.c
===================================================================
--- trunk/theora/lib/quant.c	2005-06-27 11:28:02 UTC (rev 9528)
+++ trunk/theora/lib/quant.c	2005-06-27 11:41:20 UTC (rev 9529)
@@ -20,6 +20,8 @@
 #include "encoder_internal.h"
 #include "quant_lookup.h"
 
+/* the *V1 tables are the originals used by the VP3 codec */
+
 static const ogg_uint32_t QThreshTableV1[Q_TABLE_SIZE] = {
   500,  450,  400,  370,  340,  310, 285, 265,
   245,  225,  210,  195,  185,  180, 170, 160,
@@ -69,7 +71,6 @@
         99,     99,     99,     99,     99,     99,     99,     99
 };
 
-/* Different matrices for different encoder versions */
 static const Q_LIST_ENTRY Inter_coeffsV1[64] =
 {
         12, 16,  16,  16,  20,  20,  20,  20,
@@ -106,7 +107,6 @@
   99,   99,     99,     99,     99,     99,     99,     99
 };
 
-/* Different matrices for different encoder versions */
 static const Q_LIST_ENTRY Inter_coeffsV1[64] ={
   16,  16,  16,  20,  24,  28,  32,  40,
   16,  16,  20,  24,  28,  32,  40,  48,
@@ -319,7 +319,7 @@
 
 /* Initialize custom qtables using the VP31 values.
    Someday we can change the quant tables to be adaptive, or just plain
-    better.*/
+    better. */
 void InitQTables( PB_INSTANCE *pbi ){
   memcpy(pbi->QThreshTable, QThreshTableV1, sizeof(pbi->QThreshTable));
   memcpy(pbi->DcScaleFactorTable, DcScaleFactorTableV1,



More information about the commits mailing list