Lines Matching refs:coeff
140 int coeff;
146 coeff = in >> 4;
157 *wp++ = coeff;
196 static void quantize_intra(s16 *coeff, s16 *de_coeff, u16 qp)
202 for (i = 0; i < 8; i++, quant++, coeff++, de_coeff++) {
203 *coeff >>= *quant;
204 if (*coeff >= -qp && *coeff <= qp)
205 *coeff = *de_coeff = 0;
207 *de_coeff = *coeff << *quant;
212 static void dequantize_intra(s16 *coeff)
218 for (i = 0; i < 8; i++, quant++, coeff++)
219 *coeff <<= *quant;
222 static void quantize_inter(s16 *coeff, s16 *de_coeff, u16 qp)
228 for (i = 0; i < 8; i++, quant++, coeff++, de_coeff++) {
229 *coeff >>= *quant;
230 if (*coeff >= -qp && *coeff <= qp)
231 *coeff = *de_coeff = 0;
233 *de_coeff = *coeff << *quant;
238 static void dequantize_inter(s16 *coeff)
244 for (i = 0; i < 8; i++, quant++, coeff++)
245 *coeff <<= *quant;