Searched refs:QFIX (Results 1 – 4 of 4) sorted by relevance
167 #define QFIX 17 macro168 #define BIAS(b) ((b) << (QFIX - 8))172 return (int)((n * iQ + B) >> QFIX); in QUANTDIV()
191 m->iq_[i] = (1 << QFIX) / m->q_[i]; in ExpandMatrix()196 m->zthresh_[i] = ((1 << QFIX) - 1 - m->bias_[i]) / m->iq_[i]; in ExpandMatrix()
867 out_00 = _mm_srai_epi32(out_00, QFIX); in DoQuantizeBlock()868 out_04 = _mm_srai_epi32(out_04, QFIX); in DoQuantizeBlock()869 out_08 = _mm_srai_epi32(out_08, QFIX); in DoQuantizeBlock()870 out_12 = _mm_srai_epi32(out_12, QFIX); in DoQuantizeBlock()
999 assert(QFIX == 17); // this function can't work as is if QFIX != 16+1 in Quantize()