[xiph-commits] r14273 - branches/theora-thusnelda/lib/enc
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Wed Dec 5 21:35:22 PST 2007
Author: xiphmont
Date: 2007-12-05 21:35:22 -0800 (Wed, 05 Dec 2007)
New Revision: 14273
Modified:
branches/theora-thusnelda/lib/enc/codec_internal.h
branches/theora-thusnelda/lib/enc/encode.c
Log:
Eliminate two unused counters
Modified: branches/theora-thusnelda/lib/enc/codec_internal.h
===================================================================
--- branches/theora-thusnelda/lib/enc/codec_internal.h 2007-12-06 05:32:49 UTC (rev 14272)
+++ branches/theora-thusnelda/lib/enc/codec_internal.h 2007-12-06 05:35:22 UTC (rev 14273)
@@ -197,8 +197,6 @@
fragment_t *coded_head;
fragment_t *coded_tail;
- ogg_uint32_t coded_y;
- ogg_uint32_t coded_total;
unsigned char *dct_token_storage;
ogg_uint16_t *dct_token_eb_storage;
Modified: branches/theora-thusnelda/lib/enc/encode.c
===================================================================
--- branches/theora-thusnelda/lib/enc/encode.c 2007-12-06 05:32:49 UTC (rev 14272)
+++ branches/theora-thusnelda/lib/enc/encode.c 2007-12-06 05:35:22 UTC (rev 14273)
@@ -161,10 +161,6 @@
if ( fp && fp->coded ) {
- cpi->coded_total++;
- if(plane == 0)
- cpi->coded_y++;
-
/* transform and quantize block */
TransformQuantizeBlock( cpi, fp );
@@ -452,7 +448,6 @@
/* reset all coding metadata */
memset(cpi->ModeCount, 0, MAX_MODES*sizeof(*cpi->ModeCount));
cpi->coded_head = cpi->coded_tail = NULL;
- cpi->coded_y = cpi->coded_total = 0;
dsp_save_fpu (cpi->dsp);
More information about the commits
mailing list