From 34ba18760fa1e14c6679aa4e423f030e3166b981 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Wed, 1 Jun 2011 11:10:13 -0700 Subject: [PATCH] Fix code under #if CONFIG_INTERNAL_STATS. Change-Id: Iccbd78d91c3071b16fb3b2911523a22092652ecd --- vp8/encoder/onyx_if.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index 9892f8078..2363c9d0e 100644 --- a/vp8/encoder/onyx_if.c +++ b/vp8/encoder/onyx_if.c @@ -4299,7 +4299,7 @@ static void encode_frame_to_data_rate vp8_clear_system_state(); //__asm emms; - if (cpi->total_coded_error_left != 0.0) + if (cpi->twopass.total_coded_error_left != 0.0) fprintf(f, "%10d %10d %10d %10d %10d %10d %10d %10d %6d %6d" "%6d %6d %6d %5d %5d %5d %8d %8.2f %10d %10.3f" "%10.3f %8d\n", @@ -4314,9 +4314,9 @@ static void encode_frame_to_data_rate //cpi->avg_frame_qindex, cpi->zbin_over_quant, cm->refresh_golden_frame, cm->refresh_alt_ref_frame, cm->frame_type, cpi->gfu_boost, - cpi->twopass.est_max_qcorrection_factor, (int)cpi->bits_left, - cpi->total_coded_error_left, - (double)cpi->bits_left / cpi->total_coded_error_left, + cpi->twopass.est_max_qcorrection_factor, (int)cpi->twopass.bits_left, + cpi->twopass.total_coded_error_left, + (double)cpi->twopass.bits_left / cpi->twopass.total_coded_error_left, cpi->tot_recode_hits); else fprintf(f, "%10d %10d %10d %10d %10d %10d %10d %10d %6d %6d" @@ -4333,8 +4333,8 @@ static void encode_frame_to_data_rate //cpi->avg_frame_qindex, cpi->zbin_over_quant, cm->refresh_golden_frame, cm->refresh_alt_ref_frame, cm->frame_type, cpi->gfu_boost, - cpi->twopass.est_max_qcorrection_factor, (int)cpi->bits_left, - cpi->total_coded_error_left, cpi->tot_recode_hits); + cpi->twopass.est_max_qcorrection_factor, (int)cpi->twopass.bits_left, + cpi->twopass.total_coded_error_left, cpi->tot_recode_hits); fclose(f);