Searched refs:SCALE (Results 1 – 3 of 3) sorted by relevance
/system/bt/embdrv/sbc/decoder/srce/ |
D | synthesis-dct8.c | 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() [all …]
|
D | dequant.c | 125 #ifndef SCALE 126 #define SCALE(x, y) (((x) + (1 << ((y)-1))) >> (y)) macro 203 return SCALE(result, 24 - scale_factor); in OI_SBC_Dequant_Unscaled() 210 return SCALE(result, 24 - scale_factor); in OI_SBC_Dequant_Unscaled()
|
D | synthesis-sbc.c | 202 #ifndef SCALE 203 #define SCALE(x, y) (((x) + (1 << ((y)-1))) >> (y)) macro 455 pa = SCALE(-pa, 15); in SynthWindow40_int32_int32_symmetry_with_sum() 479 pa = SCALE(-pa, 15); in SynthWindow40_int32_int32_symmetry_with_sum() 482 pb = SCALE(-pb, 15); in SynthWindow40_int32_int32_symmetry_with_sum() 496 pa = SCALE(-pa, 15); in SynthWindow40_int32_int32_symmetry_with_sum() 538 y0 = -SCALE(f1 + f3, DCT_SHIFT); in cosineModulateSynth4() 539 y2 = -SCALE(LONG_MULT_DCT(DCTII_4_K06_FIX, f4), DCT_SHIFT); in cosineModulateSynth4() 544 y3 = -SCALE(f8 + f9, DCT_SHIFT); in cosineModulateSynth4() 545 y1 = -SCALE(f10 - f9, DCT_SHIFT); in cosineModulateSynth4()
|