Searched refs:SCALE (Results 1 – 5 of 5) sorted by relevance
/system/bt/embdrv/sbc/decoder/srce/ |
D | synthesis-dct8.c | 49 #ifndef SCALE 50 #define SCALE(x, y) (((x) + (1 <<((y)-1))) >> (y)) macro 221 in0 = SCALE(in[0], DCTII_8_SHIFT_IN); in dct2_8() 222 in1 = SCALE(in[1], DCTII_8_SHIFT_IN); in dct2_8() 223 in2 = SCALE(in[2], DCTII_8_SHIFT_IN); in dct2_8() 224 in3 = SCALE(in[3], DCTII_8_SHIFT_IN); in dct2_8() 225 in4 = SCALE(in[4], DCTII_8_SHIFT_IN); in dct2_8() 226 in5 = SCALE(in[5], DCTII_8_SHIFT_IN); in dct2_8() 227 in6 = SCALE(in[6], DCTII_8_SHIFT_IN); in dct2_8() 228 in7 = SCALE(in[7], DCTII_8_SHIFT_IN); in dct2_8() [all …]
|
D | dequant.c | 117 #ifndef SCALE 118 #define SCALE(x, y) (((x) + (1 <<((y)-1))) >> (y)) macro 197 return SCALE(result, 24 - scale_factor); in OI_SBC_Dequant_Unscaled() 205 return SCALE(result, 24 - scale_factor); in OI_SBC_Dequant_Unscaled()
|
D | synthesis-sbc.c | 198 #ifndef SCALE 199 #define SCALE(x, y) (((x) + (1 <<((y)-1))) >> (y)) macro 416 pa = SCALE(-pa, 15); in SynthWindow40_int32_int32_symmetry_with_sum() 431 pa = SCALE(-pa, 15); in SynthWindow40_int32_int32_symmetry_with_sum() 434 pb = SCALE(-pb, 15); in SynthWindow40_int32_int32_symmetry_with_sum() 444 pa = SCALE(-pa, 15); in SynthWindow40_int32_int32_symmetry_with_sum() 487 y0 = -SCALE(f1 + f3, DCT_SHIFT); in cosineModulateSynth4() 488 y2 = -SCALE(LONG_MULT_DCT(DCTII_4_K06_FIX, f4), DCT_SHIFT); in cosineModulateSynth4() 493 y3 = -SCALE(f8 + f9, DCT_SHIFT); in cosineModulateSynth4() 494 y1 = -SCALE(f10 - f9, DCT_SHIFT); in cosineModulateSynth4()
|
/system/core/libcutils/arch-x86_64/ |
D | android_memset32.S | 59 #define BRANCH_TO_JMPTBL_ENTRY(TABLE, INDEX, SCALE) \ argument 61 movslq (%r11, INDEX, SCALE), INDEX; \
|
D | android_memset16.S | 59 #define BRANCH_TO_JMPTBL_ENTRY(TABLE, INDEX, SCALE) \ argument 61 movslq (%r11, INDEX, SCALE), INDEX; \
|