Lines Matching refs:MULT
145 #define MULT(c, x, n) ((unsigned)((int)((c) * (unsigned)(x)) >> (n))) macro
169 mm0 = MULT(TAN1, mm4, 16) + mm7; in idct_col_8()
170 mm1 = MULT(TAN1, mm7, 16) - mm4; in idct_col_8()
171 mm2 = MULT(TAN3, mm5, 16) + mm6; in idct_col_8()
172 mm3 = MULT(TAN3, mm6, 16) - mm5; in idct_col_8()
180 mm5 = 2 * MULT(SQRT2, mm5, 16); // 2*sqrt2 in idct_col_8()
181 mm6 = 2 * MULT(SQRT2, mm6, 16); // Watch out: precision loss but done to match in idct_col_8()
188 mm3 = MULT(TAN2, mm2, 16) + mm1; in idct_col_8()
189 mm2 = MULT(TAN2, mm1, 16) - mm2; in idct_col_8()
219 mm1 = MULT(TAN1, mm0, 16); in idct_col_4()
220 mm3 = MULT(TAN3, mm2, 16); in idct_col_4()
228 mm6 = 2 * MULT(SQRT2, mm6, 16); // 2*sqrt2 in idct_col_4()
229 mm5 = 2 * MULT(SQRT2, mm5, 16); in idct_col_4()
235 mm2 = MULT(TAN2, mm3, 16); in idct_col_4()
261 mm4 = MULT(TAN1, mm7, 16); in idct_col_3()
265 mm6 = 2 * MULT(SQRT2, mm6, 16); // 2*sqrt2 in idct_col_3()
266 mm5 = 2 * MULT(SQRT2, mm5, 16); in idct_col_3()
272 mm2 = MULT(TAN2, mm3, 16); in idct_col_3()