Lines Matching refs:quant
264 uint32_t quant = static_cast<uint32_t>(lum); in DEF_TEST() local
265 quant >>= 1; // 1 in DEF_TEST()
266 quant += 9; // 2 in DEF_TEST()
267 quant >>= 1; // 3 in DEF_TEST()
272 a = quant >> 2; in DEF_TEST()
273 ar = (quant & 0x3) << 4; in DEF_TEST()
274 b = quant >> 4; in DEF_TEST()
275 br = (quant & 0xF) << 2; in DEF_TEST()
276 c = quant >> 6; in DEF_TEST()
277 cr = (quant & 0x3F); in DEF_TEST()
278 quant = (a + b + c) + ((ar + br + cr) >> 6); in DEF_TEST()
281 a = quant >> 2; in DEF_TEST()
282 ar = (quant & 0x3) << 4; in DEF_TEST()
283 b = quant >> 4; in DEF_TEST()
284 br = (quant & 0xF) << 2; in DEF_TEST()
285 c = quant >> 6; in DEF_TEST()
286 cr = (quant & 0x3F); in DEF_TEST()
287 quant = (a + b + c) + ((ar + br + cr) >> 6); in DEF_TEST()
289 const uint64_t kIndex = kIndexEncodingMap[quant]; in DEF_TEST()