summaryrefslogtreecommitdiff
path: root/vp9/encoder
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2016-02-02 17:42:07 -0800
committerJames Zern <jzern@google.com>2016-02-02 18:01:30 -0800
commit59b560acef8bff4c50d66a553f24a3ff7f2e1b30 (patch)
tree48fa63f0dbd78c240455a08d1f973ba19e315d14 /vp9/encoder
parent8ec0159159b99d0e89486730e2f1d8b29bad3467 (diff)
downloadlibvpx-59b560acef8bff4c50d66a553f24a3ff7f2e1b30.tar
libvpx-59b560acef8bff4c50d66a553f24a3ff7f2e1b30.tar.gz
libvpx-59b560acef8bff4c50d66a553f24a3ff7f2e1b30.tar.bz2
libvpx-59b560acef8bff4c50d66a553f24a3ff7f2e1b30.zip
vp9_aq_complexity.c: remove unused macros
DEFAULT_COMPLEXITY VAR_STRENGTH_STEP unused since first commit Change-Id: I4a47544098caf0d72e571633b7776146be88237c
Diffstat (limited to 'vp9/encoder')
-rw-r--r--vp9/encoder/vp9_aq_complexity.c4
1 files changed, 0 insertions, 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.