Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/bt/host/bluedroid/external/sbc/encoder/srce/
Dsbc_enc_coeffs.c33 (SINT16)((SINT32)0x00000000 >> 16), (SINT16)0x00000000,
34 (SINT16)((SINT32)0x001194E6 >> 16), (SINT16)0x001194E6,
35 (SINT16)((SINT32)0x0030E2D3 >> 16), (SINT16)0x0030E2D3,
36 (SINT16)((SINT32)0x00599403 >> 16), (SINT16)0x00599403,
37 (SINT16)((SINT32)0x007DBCC8 >> 16), (SINT16)0x007DBCC8,
38 (SINT16)((SINT32)0x007F88E4 >> 16), (SINT16)0x007F88E4,
39 (SINT16)((SINT32)0x003D239B >> 16), (SINT16)0x003D239B,
40 (SINT16)((SINT32)0xFF9BB9D5 >> 16), (SINT16)0xFF9BB9D5,
42 (SINT16)((SINT32)0x01659F45 >> 16), (SINT16)0x01659F45,
43 (SINT16)((SINT32)0x029DBAA3 >> 16), (SINT16)0x029DBAA3,
[all …]
Dsbc_analysis.c34 #define WIND_4_SUBBANDS_0_1 (SINT32)0x01659F45 /* gas32CoeffFor4SBs[8] = -gas32CoeffFor4SBs[32] = …
35 #define WIND_4_SUBBANDS_0_2 (SINT32)0x115B1ED2 /* gas32CoeffFor4SBs[16] = -gas32CoeffFor4SBs[24] =…
36 #define WIND_4_SUBBANDS_1_0 (SINT32)0x001194E6 /* gas32CoeffFor4SBs[1 et 39] = 0x001194E6 */
37 #define WIND_4_SUBBANDS_1_1 (SINT32)0x029DBAA3 /* gas32CoeffFor4SBs[9 et 31] = 0x029DBAA3 */
38 #define WIND_4_SUBBANDS_1_2 (SINT32)0x18F55C90 /* gas32CoeffFor4SBs[17 et 23] = 0x18F55C90 */
39 #define WIND_4_SUBBANDS_1_3 (SINT32)0xF60FAF37 /* gas32CoeffFor4SBs[15 et 25] = 0xF60FAF37 */
40 #define WIND_4_SUBBANDS_1_4 (SINT32)0xFF9BB9D5 /* gas32CoeffFor4SBs[7 et 33] = 0xFF9BB9D5 */
41 #define WIND_4_SUBBANDS_2_0 (SINT32)0x0030E2D3 /* gas32CoeffFor4SBs[2 et 38] = 0x0030E2D3 */
42 #define WIND_4_SUBBANDS_2_1 (SINT32)0x03B23341 /* gas32CoeffFor4SBs[10 et 30] = 0x03B23341 */
43 #define WIND_4_SUBBANDS_2_2 (SINT32)0x1F91CA46 /* gas32CoeffFor4SBs[18 et 22] = 0x1F91CA46 */
[all …]
Dsbc_packing.c46 #define Mult32(s32In1,s32In2,s32OutLow) s32OutLow=(SINT32)s32In1*(SINT32)s32In2;
49 s32OutLow = ((SINT32)(UINT16)s32In1 * (UINT16)s32In2); \
50 s32TempVal2 = (SINT32)((s32In1 >> 16) * (UINT16)s32In2); \
62 SINT32 s32Blk; /* counter for block*/ in EncPacking()
63 SINT32 s32Ch; /* counter for channel*/ in EncPacking()
64 SINT32 s32Sb; /* counter for sub-band*/ in EncPacking()
65 SINT32 s32PresentBit; /* represents bit to be stored*/ in EncPacking()
67 SINT32 s32LoopCountJ; /* loop counter*/ in EncPacking()
69 SINT32 s32LoopCount; /* loop counter*/ in EncPacking()
73 SINT32 s32NumOfBlocks; in EncPacking()
[all …]
Dsbc_dct.c69 void SBC_FastIDCT8(SINT32 *pInVect, SINT32 *pOutVect) in SBC_FastIDCT8()
80 SINT32 s32HiTemp; in SBC_FastIDCT8()
82 SINT32 s32In2Temp; in SBC_FastIDCT8()
83 register SINT32 s32In1Temp; in SBC_FastIDCT8()
88 register SINT32 x0, x1, x2, x3, x4, x5, x6, x7, temp; in SBC_FastIDCT8()
89 SINT32 res_even[4], res_odd[4]; in SBC_FastIDCT8()
163 SINT32 temp; in SBC_FastIDCT8()
190 void SBC_FastIDCT4(SINT32 *pInVect, SINT32 *pOutVect) in SBC_FastIDCT4()
201 SINT32 s32HiTemp; in SBC_FastIDCT4()
204 SINT32 s32In1Temp; in SBC_FastIDCT4()
[all …]
Dsbc_enc_bit_alloc_ste.c48 SINT32 s32MaxBitNeed; /*to store the max bits needed per sb*/ in sbc_enc_bit_alloc_ste()
49 SINT32 s32BitCount; /*the used number of bits*/ in sbc_enc_bit_alloc_ste()
50 SINT32 s32SliceCount; /*to store hwo many slices can be put in bitpool*/ in sbc_enc_bit_alloc_ste()
51 SINT32 s32BitSlice; /*number of bitslices in bitpool*/ in sbc_enc_bit_alloc_ste()
52 SINT32 s32Sb; /*counter for sub-band*/ in sbc_enc_bit_alloc_ste()
53 SINT32 s32Ch; /*counter for channel*/ in sbc_enc_bit_alloc_ste()
55 SINT32 s32Loudness; /*used in Loudness calculation*/ in sbc_enc_bit_alloc_ste()
59 SINT32 s32NumOfSubBands = pstrCodecParams->s16NumOfSubBands; in sbc_enc_bit_alloc_ste()
60 SINT32 s32BitPool = pstrCodecParams->s16BitPool; in sbc_enc_bit_alloc_ste()
82 s32Loudness = (SINT32)(*pas16ScaleFactor - *ps16GenTabPtr); in sbc_enc_bit_alloc_ste()
Dsbc_encoder.c35 SINT32 s32LRDiff[SBC_MAX_NUM_OF_BLOCKS] = {0};
36 SINT32 s32LRSum[SBC_MAX_NUM_OF_BLOCKS] = {0};
41 SINT32 s32Ch; /* counter for ch*/ in SBC_Encoder()
42 SINT32 s32Sb; /* counter for sub-band*/ in SBC_Encoder()
44 SINT32 s32MaxValue; /* temp variable to store max value */ in SBC_Encoder()
47 SINT32 *SbBuffer; in SBC_Encoder()
48 SINT32 s32Blk; /* counter for block*/ in SBC_Encoder()
49 SINT32 s32NumOfBlocks = pstrEncParams->s16NumOfBlocks; in SBC_Encoder()
51 SINT32 s32MaxValue2; in SBC_Encoder()
53 SINT32 *pSum, *pDiff; in SBC_Encoder()
[all …]
Dsbc_enc_bit_alloc_mono.c52 SINT32 s32MaxBitNeed; /*to store the max bits needed per sb*/ in sbc_enc_bit_alloc_mono()
53 SINT32 s32BitCount; /*the used number of bits*/ in sbc_enc_bit_alloc_mono()
54 SINT32 s32SliceCount; /*to store hwo many slices can be put in bitpool*/ in sbc_enc_bit_alloc_mono()
55 SINT32 s32BitSlice; /*number of bitslices in bitpool*/ in sbc_enc_bit_alloc_mono()
56 SINT32 s32Sb; /*counter for sub-band*/ in sbc_enc_bit_alloc_mono()
57 SINT32 s32Ch; /*counter for channel*/ in sbc_enc_bit_alloc_mono()
59 SINT32 s32Loudness; /*used in Loudness calculation*/ in sbc_enc_bit_alloc_mono()
63 SINT32 s32NumOfSubBands = pstrCodecParams->s16NumOfSubBands; in sbc_enc_bit_alloc_mono()
89 (SINT32)(pstrCodecParams->as16ScaleFactor[s32Ch * s32NumOfSubBands + s32Sb] in sbc_enc_bit_alloc_mono()
/hal_espressif-3.6.0/components/bt/host/bluedroid/external/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.h188 SINT32 s32SbBuffer[SBC_MAX_NUM_OF_CHANNELS * SBC_MAX_NUM_OF_SUBBANDS * SBC_MAX_NUM_OF_BLOCKS];