[xiph-cvs] cvs commit: theora/lib quant.c
Ralph Giles
giles at xiph.org
Sat Mar 6 18:43:29 PST 2004
giles 04/03/06 21:43:29
Modified: lib quant.c
Log:
further revisions
Revision Changes Path
1.15 +4 -10 theora/lib/quant.c
Index: quant.c
===================================================================
RCS file: /usr/local/cvsroot/theora/lib/quant.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- quant.c 7 Mar 2004 02:27:04 -0000 1.14
+++ quant.c 7 Mar 2004 02:43:29 -0000 1.15
@@ -11,7 +11,7 @@
********************************************************************
function:
- last mod: $Id: quant.c,v 1.14 2004/03/07 02:27:04 giles Exp $
+ last mod: $Id: quant.c,v 1.15 2004/03/07 02:43:29 giles Exp $
********************************************************************/
@@ -305,15 +305,9 @@
}
/* ignore the range table and reference the matricies we use */
-#if 0
- ci->Y_coeffs=&(ci->qmats[0]);
- ci->UV_coeffs=&(ci->qmats[64]);
- ci->Inter_coeffs=&(ci->qmats[2*64]);
-#else
memcpy(ci->Y_coeffs, &ci->qmats[0], sizeof(ci->Y_coeffs));
memcpy(ci->UV_coeffs, &ci->qmats[64], sizeof(ci->UV_coeffs));
memcpy(ci->Inter_coeffs, &ci->qmats[2*64], sizeof(ci->Inter_coeffs));
-#endif
return 0;
}
@@ -334,9 +328,9 @@
memcpy(pbi->QThreshTable, QThreshTableV1, sizeof(pbi->QThreshTable));
memcpy(pbi->DcScaleFactorTable, DcScaleFactorTableV1,
sizeof(pbi->DcScaleFactorTable));
- memcpy(pbi->Y_coeffs, Y_coeffsV1, sizeof(Y_coeffsV1));
- memcpy(pbi->UV_coeffs, UV_coeffsV1, sizeof(UV_coeffsV1));
- memcpy(pbi->Inter_coeffs, Inter_coeffsV1, sizeof(Inter_coeffsV1));
+ memcpy(pbi->Y_coeffs, Y_coeffsV1, sizeof(pbi->Y_coeffs));
+ memcpy(pbi->UV_coeffs, UV_coeffsV1, sizeof(pbi->UV_coeffs));
+ memcpy(pbi->Inter_coeffs, Inter_coeffsV1, sizeof(pbi->Inter_coeffs));
}
static void BuildQuantIndex_Generic(PB_INSTANCE *pbi){
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list