Lines Matching refs:coeff
139 int coeff;
145 coeff = in >> 4;
156 *wp++ = coeff;
195 static void quantize_intra(s16 *coeff, s16 *de_coeff, u16 qp)
201 for (i = 0; i < 8; i++, quant++, coeff++, de_coeff++) {
202 *coeff >>= *quant;
203 if (*coeff >= -qp && *coeff <= qp)
204 *coeff = *de_coeff = 0;
206 *de_coeff = *coeff << *quant;
211 static void dequantize_intra(s16 *coeff)
217 for (i = 0; i < 8; i++, quant++, coeff++)
218 *coeff <<= *quant;
221 static void quantize_inter(s16 *coeff, s16 *de_coeff, u16 qp)
227 for (i = 0; i < 8; i++, quant++, coeff++, de_coeff++) {
228 *coeff >>= *quant;
229 if (*coeff >= -qp && *coeff <= qp)
230 *coeff = *de_coeff = 0;
232 *de_coeff = *coeff << *quant;
237 static void dequantize_inter(s16 *coeff)
243 for (i = 0; i < 8; i++, quant++, coeff++)
244 *coeff <<= *quant;