summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_picklpf.c
diff options
context:
space:
mode:
authorDeb Mukherjee <debargha@google.com>2014-09-02 16:34:09 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2014-09-16 14:55:37 -0700
commit5cd0aab81a007f7195ead1b5fdb7ae8545f885b4 (patch)
tree213b88c9c06e1dbfe0e2f7b16e9a42a67c286d29 /vp9/encoder/vp9_picklpf.c
parent66f812fb5676df6088c5696cf5f5cea2b9c90372 (diff)
downloadlibvpx-5cd0aab81a007f7195ead1b5fdb7ae8545f885b4.tar.gz
Adds high bitdepth quantization functions
Adds various high bitdepth quantization functions. Change-Id: I36fc0bf75a1bd15128ed271df8723de0ac134b0c
Diffstat (limited to 'vp9/encoder/vp9_picklpf.c')
-rw-r--r--vp9/encoder/vp9_picklpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_picklpf.c b/vp9/encoder/vp9_picklpf.c
index 5557d7fe7..2fc05e7fe 100644
--- a/vp9/encoder/vp9_picklpf.c
+++ b/vp9/encoder/vp9_picklpf.c
@@ -142,7 +142,7 @@ void vp9_pick_filter_level(const YV12_BUFFER_CONFIG *sd, VP9_COMP *cpi,
} else if (method >= LPF_PICK_FROM_Q) {
const int min_filter_level = 0;
const int max_filter_level = get_max_filter_level(cpi);
- const int q = vp9_ac_quant(cm->base_qindex, 0);
+ const int q = vp9_ac_quant(cm->base_qindex, 0, cm->bit_depth);
// These values were determined by linear fitting the result of the
// searched level, filt_guess = q * 0.316206 + 3.87252
int filt_guess = ROUND_POWER_OF_TWO(q * 20723 + 1015158, 18);