From 59b560acef8bff4c50d66a553f24a3ff7f2e1b30 Mon Sep 17 00:00:00 2001 From: James Zern Date: Tue, 2 Feb 2016 17:42:07 -0800 Subject: [PATCH] vp9_aq_complexity.c: remove unused macros DEFAULT_COMPLEXITY VAR_STRENGTH_STEP unused since first commit Change-Id: I4a47544098caf0d72e571633b7776146be88237c --- vp9/encoder/vp9_aq_complexity.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vp9/encoder/vp9_aq_complexity.c b/vp9/encoder/vp9_aq_complexity.c index e5973220e..2d979ec70 100644 --- a/vp9/encoder/vp9_aq_complexity.c +++ b/vp9/encoder/vp9_aq_complexity.c @@ -35,9 +35,6 @@ static const double aq_c_var_thresholds[AQ_C_STRENGTHS][AQ_C_SEGMENTS] = {-3.5, -2.5, -1.5, 100.00, 100.0}, {-3.0, -2.0, -1.0, 100.00, 100.0} }; -#define DEFAULT_COMPLEXITY 64 - - static int get_aq_c_strength(int q_index, vpx_bit_depth_t bit_depth) { // Approximate base quatizer (truncated to int) const int base_quant = vp9_ac_quant(q_index, 0, bit_depth) / 4; @@ -107,7 +104,6 @@ void vp9_setup_in_frame_q_adj(VP9_COMP *cpi) { #define DEFAULT_LV_THRESH 10.0 #define MIN_DEFAULT_LV_THRESH 8.0 -#define VAR_STRENGTH_STEP 0.25 // Select a segment for the current block. // The choice of segment for a block depends on the ratio of the projected // bits for the block vs a target average and its spatial complexity. -- 2.40.0