From: Paul Wilkins Date: Wed, 24 Sep 2014 10:48:58 +0000 (+0100) Subject: Fix build issue with stats enabled. X-Git-Tag: v1.4.0~725^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b724fc78e429bfc50f2c5cfe6770769ee2b7be8;p=libvpx Fix build issue with stats enabled. Compiler build issue when output stats enabled. Change-Id: I7b5409108f3f27ba61b0241b9340b412683eff45 --- diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c index 95d8c9f23..5f3620b05 100644 --- a/vp9/encoder/vp9_encoder.c +++ b/vp9/encoder/vp9_encoder.c @@ -2454,11 +2454,12 @@ static void output_frame_level_debug_stats(VP9_COMP *cpi) { cpi->rc.total_target_vs_actual, (cpi->rc.starting_buffer_level - cpi->rc.bits_off_target), cpi->rc.total_actual_bits, cm->base_qindex, - vp9_convert_qindex_to_q(cm->base_qindex), - (double)vp9_dc_quant(cm->base_qindex, 0) / 4.0, - vp9_convert_qindex_to_q(cpi->twopass.active_worst_quality), + vp9_convert_qindex_to_q(cm->base_qindex, cm->bit_depth), + (double)vp9_dc_quant(cm->base_qindex, 0, cm->bit_depth) / 4.0, + vp9_convert_qindex_to_q(cpi->twopass.active_worst_quality, + cm->bit_depth), cpi->rc.avg_q, - vp9_convert_qindex_to_q(cpi->oxcf.cq_level), + vp9_convert_qindex_to_q(cpi->oxcf.cq_level, cm->bit_depth), cpi->refresh_last_frame, cpi->refresh_golden_frame, cpi->refresh_alt_ref_frame, cm->frame_type, cpi->rc.gfu_boost, cpi->twopass.bits_left,