Lines Matching refs:SCALE
50 #ifndef SCALE
51 #define SCALE(x, y) (((x) + (1 << ((y)-1))) >> (y)) macro
263 in0 = SCALE(in[0], DCTII_8_SHIFT_IN); in dct2_8()
264 in1 = SCALE(in[1], DCTII_8_SHIFT_IN); in dct2_8()
265 in2 = SCALE(in[2], DCTII_8_SHIFT_IN); in dct2_8()
266 in3 = SCALE(in[3], DCTII_8_SHIFT_IN); in dct2_8()
267 in4 = SCALE(in[4], DCTII_8_SHIFT_IN); in dct2_8()
268 in5 = SCALE(in[5], DCTII_8_SHIFT_IN); in dct2_8()
269 in6 = SCALE(in[6], DCTII_8_SHIFT_IN); in dct2_8()
270 in7 = SCALE(in[7], DCTII_8_SHIFT_IN); in dct2_8()
301 out[0] = (int16_t)SCALE(L00, DCTII_8_SHIFT_0); in dct2_8()
302 out[4] = (int16_t)SCALE(L01, DCTII_8_SHIFT_4); in dct2_8()
305 out[6] = (int16_t)SCALE(L02, DCTII_8_SHIFT_6); in dct2_8()
306 out[2] = (int16_t)SCALE(L03, DCTII_8_SHIFT_2); in dct2_8()
331 out[3] = (int16_t)SCALE(L04, DCTII_8_SHIFT_3 - 1); in dct2_8()
332 out[5] = (int16_t)SCALE(L05, DCTII_8_SHIFT_5 - 1); in dct2_8()
335 out[7] = (int16_t)SCALE(L06, DCTII_8_SHIFT_7 - 1); in dct2_8()
336 out[1] = (int16_t)SCALE(L07, DCTII_8_SHIFT_1 - 1); in dct2_8()