Lines Matching refs:q_
213 m->iq_[i] = (1 << QFIX) / m->q_[i]; in ExpandMatrix()
221 m->q_[i] = m->q_[1]; in ExpandMatrix()
228 m->sharpen_[i] = (kFreqSharpening[i] * m->q_[i]) >> SHARPEN_BITS; in ExpandMatrix()
232 sum += m->q_[i]; in ExpandMatrix()
249 m->y1_.q_[0] = kDcTable[clip(q + enc->dq_y1_dc_, 0, 127)]; in SetupMatrices()
250 m->y1_.q_[1] = kAcTable[clip(q, 0, 127)]; in SetupMatrices()
252 m->y2_.q_[0] = kDcTable[ clip(q + enc->dq_y2_dc_, 0, 127)] * 2; in SetupMatrices()
253 m->y2_.q_[1] = kAcTable2[clip(q + enc->dq_y2_ac_, 0, 127)]; in SetupMatrices()
255 m->uv_.q_[0] = kDcTable[clip(q + enc->dq_uv_dc_, 0, 117)]; in SetupMatrices()
256 m->uv_.q_[1] = kAcTable[clip(q + enc->dq_uv_ac_, 0, 127)]; in SetupMatrices()
281 m->min_disto_ = 20 * m->y1_.q_[0]; // quantization-aware min disto in SetupMatrices()
606 const int thresh = mtx->q_[1] * mtx->q_[1] / 4; in TrellisQuantizeBlock()
638 const uint32_t Q = mtx->q_[j]; in TrellisQuantizeBlock()
739 in[j] = out[n] * mtx->q_[j]; in TrellisQuantizeBlock()