Commit 46ae3de1 authored by Yushin Cho's avatar Yushin Cho
Browse files

Fix the comments on the precisions in quantization

Fix the comments on the precision of quantizers and tx coefficients
during a quantization process for different input depth and tx size.

I think the author really meant "de-quantized/de-coded coefficients" by
"quantized/coded coefficients". So, made it clear to avoid any possible
misunderstandings.

Change-Id: Ib92ac7dcfddcbe58cf3adfb9448497512381c1f5
parent 85c29ddc
......@@ -290,8 +290,9 @@ static const int16_t ac_qlookup_12_Q3[QINDEX_RANGE] = {
// 64x32 and 64x64 transforms return Q1 coefficients. However, the
// quantizers are de-scaled down on-the-fly by the same amount
// (av1_tx_get_scale()) during quantization, and as such the
// quantized/coded coefficients, even for large TX blocks, are always
// effectively Q3.
// dequantized/decoded coefficients, even for large TX blocks, are always
// effectively Q3. Meanwhile, quantized/coded coefficients are Q0
// because Qn quantizers are applied to Qn tx coefficients.
 
// Note that encoder decision making (which uses the quantizer to
// generate several bespoke lamdas for RDO and other heuristics)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment