Home
last modified time | relevance | path

Searched refs:SINT32 (Results 1 – 11 of 11) sorted by relevance

/system/bt/embdrv/sbc/encoder/srce/
Dsbc_enc_coeffs.c32 (SINT16)((SINT32)0x00000000 >> 16), (SINT16)0x00000000,
33 (SINT16)((SINT32)0x001194E6 >> 16), (SINT16)0x001194E6,
34 (SINT16)((SINT32)0x0030E2D3 >> 16), (SINT16)0x0030E2D3,
35 (SINT16)((SINT32)0x00599403 >> 16), (SINT16)0x00599403,
36 (SINT16)((SINT32)0x007DBCC8 >> 16), (SINT16)0x007DBCC8,
37 (SINT16)((SINT32)0x007F88E4 >> 16), (SINT16)0x007F88E4,
38 (SINT16)((SINT32)0x003D239B >> 16), (SINT16)0x003D239B,
39 (SINT16)((SINT32)0xFF9BB9D5 >> 16), (SINT16)0xFF9BB9D5,
41 (SINT16)((SINT32)0x01659F45 >> 16), (SINT16)0x01659F45,
42 (SINT16)((SINT32)0x029DBAA3 >> 16), (SINT16)0x029DBAA3,
[all …]
Dsbc_analysis.c31 #define WIND_4_SUBBANDS_0_1 (SINT32)0x01659F45 /* gas32CoeffFor4SBs[8] = -gas32CoeffFor4SBs[32] = …
32 #define WIND_4_SUBBANDS_0_2 (SINT32)0x115B1ED2 /* gas32CoeffFor4SBs[16] = -gas32CoeffFor4SBs[24] =…
33 #define WIND_4_SUBBANDS_1_0 (SINT32)0x001194E6 /* gas32CoeffFor4SBs[1 et 39] = 0x001194E6 */
34 #define WIND_4_SUBBANDS_1_1 (SINT32)0x029DBAA3 /* gas32CoeffFor4SBs[9 et 31] = 0x029DBAA3 */
35 #define WIND_4_SUBBANDS_1_2 (SINT32)0x18F55C90 /* gas32CoeffFor4SBs[17 et 23] = 0x18F55C90 */
36 #define WIND_4_SUBBANDS_1_3 (SINT32)0xF60FAF37 /* gas32CoeffFor4SBs[15 et 25] = 0xF60FAF37 */
37 #define WIND_4_SUBBANDS_1_4 (SINT32)0xFF9BB9D5 /* gas32CoeffFor4SBs[7 et 33] = 0xFF9BB9D5 */
38 #define WIND_4_SUBBANDS_2_0 (SINT32)0x0030E2D3 /* gas32CoeffFor4SBs[2 et 38] = 0x0030E2D3 */
39 #define WIND_4_SUBBANDS_2_1 (SINT32)0x03B23341 /* gas32CoeffFor4SBs[10 et 30] = 0x03B23341 */
40 #define WIND_4_SUBBANDS_2_2 (SINT32)0x1F91CA46 /* gas32CoeffFor4SBs[18 et 22] = 0x1F91CA46 */
[all …]
Dsbc_packing.c44 #define Mult32(s32In1,s32In2,s32OutLow) s32OutLow=(SINT32)s32In1*(SINT32)s32In2;
47 s32OutLow = ((SINT32)(UINT16)s32In1 * (UINT16)s32In2); \
48 s32TempVal2 = (SINT32)((s32In1 >> 16) * (UINT16)s32In2); \
60 SINT32 s32Blk; /* counter for block*/ in EncPacking()
61 SINT32 s32Ch; /* counter for channel*/ in EncPacking()
62 SINT32 s32Sb; /* counter for sub-band*/ in EncPacking()
63 SINT32 s32PresentBit; /* represents bit to be stored*/ in EncPacking()
65 SINT32 s32LoopCountJ; /* loop counter*/ in EncPacking()
67 SINT32 s32LoopCount; /* loop counter*/ in EncPacking()
71 SINT32 s32NumOfBlocks; in EncPacking()
[all …]
Dsbc_dct.c68 void SBC_FastIDCT8(SINT32 *pInVect, SINT32 *pOutVect) in SBC_FastIDCT8()
79 SINT32 s32HiTemp; in SBC_FastIDCT8()
81 SINT32 s32In2Temp; in SBC_FastIDCT8()
82 register SINT32 s32In1Temp; in SBC_FastIDCT8()
87 register SINT32 x0, x1, x2, x3, x4, x5, x6, x7,temp; in SBC_FastIDCT8()
88 SINT32 res_even[4], res_odd[4]; in SBC_FastIDCT8()
162 SINT32 temp; in SBC_FastIDCT8()
191 void SBC_FastIDCT4(SINT32 *pInVect, SINT32 *pOutVect) in SBC_FastIDCT4()
202 SINT32 s32HiTemp; in SBC_FastIDCT4()
205 SINT32 s32In1Temp; in SBC_FastIDCT4()
[all …]
Dsbc_enc_bit_alloc_ste.c45 SINT32 s32MaxBitNeed; /*to store the max bits needed per sb*/ in sbc_enc_bit_alloc_ste()
46 SINT32 s32BitCount; /*the used number of bits*/ in sbc_enc_bit_alloc_ste()
47 SINT32 s32SliceCount; /*to store hwo many slices can be put in bitpool*/ in sbc_enc_bit_alloc_ste()
48 SINT32 s32BitSlice; /*number of bitslices in bitpool*/ in sbc_enc_bit_alloc_ste()
49 SINT32 s32Sb; /*counter for sub-band*/ in sbc_enc_bit_alloc_ste()
50 SINT32 s32Ch; /*counter for channel*/ in sbc_enc_bit_alloc_ste()
52 SINT32 s32Loudness; /*used in Loudness calculation*/ in sbc_enc_bit_alloc_ste()
56 SINT32 s32NumOfSubBands = pstrCodecParams->s16NumOfSubBands; in sbc_enc_bit_alloc_ste()
57 SINT32 s32BitPool = pstrCodecParams->s16BitPool; in sbc_enc_bit_alloc_ste()
88 s32Loudness = (SINT32)(*pas16ScaleFactor - *ps16GenTabPtr); in sbc_enc_bit_alloc_ste()
Dsbc_encoder.c33 SINT32 s32LRDiff[SBC_MAX_NUM_OF_BLOCKS] = {0};
34 SINT32 s32LRSum[SBC_MAX_NUM_OF_BLOCKS] = {0};
39 SINT32 s32Ch; /* counter for ch*/ in SBC_Encoder()
40 SINT32 s32Sb; /* counter for sub-band*/ in SBC_Encoder()
42 SINT32 s32MaxValue; /* temp variable to store max value */ in SBC_Encoder()
45 SINT32 *SbBuffer; in SBC_Encoder()
46 SINT32 s32Blk; /* counter for block*/ in SBC_Encoder()
47 SINT32 s32NumOfBlocks = pstrEncParams->s16NumOfBlocks; in SBC_Encoder()
49 SINT32 s32MaxValue2; in SBC_Encoder()
51 SINT32 *pSum, *pDiff; in SBC_Encoder()
[all …]
Dsbc_enc_bit_alloc_mono.c47 SINT32 s32MaxBitNeed; /*to store the max bits needed per sb*/ in sbc_enc_bit_alloc_mono()
48 SINT32 s32BitCount; /*the used number of bits*/ in sbc_enc_bit_alloc_mono()
49 SINT32 s32SliceCount; /*to store hwo many slices can be put in bitpool*/ in sbc_enc_bit_alloc_mono()
50 SINT32 s32BitSlice; /*number of bitslices in bitpool*/ in sbc_enc_bit_alloc_mono()
51 SINT32 s32Sb; /*counter for sub-band*/ in sbc_enc_bit_alloc_mono()
52 SINT32 s32Ch; /*counter for channel*/ in sbc_enc_bit_alloc_mono()
54 SINT32 s32Loudness; /*used in Loudness calculation*/ in sbc_enc_bit_alloc_mono()
58 SINT32 s32NumOfSubBands = pstrCodecParams->s16NumOfSubBands; in sbc_enc_bit_alloc_mono()
93 (SINT32)(pstrCodecParams->as16ScaleFactor[s32Ch*s32NumOfSubBands+s32Sb] in sbc_enc_bit_alloc_mono()
/system/bt/embdrv/sbc/encoder/include/
Dsbc_enc_func_declare.h34 extern const SINT32 gas32CoeffFor4SBs[];
35 extern const SINT32 gas32CoeffFor8SBs[];
48 extern void SBC_FastIDCT8 (SINT32 *pInVect, SINT32 *pOutVect);
49 extern void SBC_FastIDCT4 (SINT32 *x0, SINT32 *pOutVect);
54 SINT32 SBC_Multiply_32_16_Simplified(SINT32 s32In2Temp,SINT32 s32In1Temp);
Dsbc_dct.h33 MUL s32OutLow,(SINT32)s16In2, (s32In1>>15) \
38 …IFIED(s16In2, s32In1 , s32OutLow) s32OutLow = SBC_Multiply_32_16_Simplified((SINT32)s16In2,s32In1);
42 #define SBC_MULT_32_16_SIMPLIFIED(s16In2, s32In1 , s32OutLow) s32OutLow=(SINT32)(((SINT64)s16In2*(S…
47 s32OutLow = (SINT32) s64Temp; \
54 s32In2Temp = (SINT32)s16In2; \
76 s32OutLow=(SINT32)(((SINT64)s32In1*(SINT64)s32In2)& 0x00000000FFFFFFFF);\
77 s32OutHi=(SINT32)(((SINT64)s32In1*(SINT64)s32In2)>>32);\
Dsbc_types.h37 typedef long SINT32; typedef
Dsbc_encoder.h182 SINT32 s32SbBuffer[SBC_MAX_NUM_OF_CHANNELS * SBC_MAX_NUM_OF_SUBBANDS * SBC_MAX_NUM_OF_BLOCKS];