Home
last modified time | relevance | path

Searched refs:pstrEncParams (Results 1 – 3 of 3) sorted by relevance

/system/bt/embdrv/sbc/encoder/srce/
Dsbc_encoder.c37 uint32_t SBC_Encode(SBC_ENC_PARAMS* pstrEncParams, int16_t* input, in SBC_Encode() argument
47 int32_t s32NumOfBlocks = pstrEncParams->s16NumOfBlocks; in SBC_Encode()
53 register int32_t s32NumOfSubBands = pstrEncParams->s16NumOfSubBands; in SBC_Encode()
57 SbcAnalysisFilter4(pstrEncParams, input); in SBC_Encode()
59 SbcAnalysisFilter8(pstrEncParams, input); in SBC_Encode()
62 ps16ScfL = pstrEncParams->as16ScaleFactor; in SBC_Encode()
63 s32Ch = pstrEncParams->s16NumOfChannels * s32NumOfSubBands; in SBC_Encode()
66 SbBuffer = pstrEncParams->s32SbBuffer + s32Sb; in SBC_Encode()
84 if (pstrEncParams->s16ChannelMode == SBC_JOINT_STEREO) { in SBC_Encode()
86 ps16ScfL = pstrEncParams->as16ScaleFactor; in SBC_Encode()
[all …]
Dsbc_packing.c51 uint32_t EncPacking(SBC_ENC_PARAMS* pstrEncParams, uint8_t* output) { in EncPacking() argument
67 int32_t s32NumOfSubBands = pstrEncParams->s16NumOfSubBands; in EncPacking()
68 int32_t s32NumOfChannels = pstrEncParams->s16NumOfChannels; in EncPacking()
84 *pu8PacketPtr++ = (uint8_t)(pstrEncParams->FrameHeader); in EncPacking()
86 *pu8PacketPtr = (uint8_t)(pstrEncParams->s16BitPool & 0x00FF); in EncPacking()
93 if (pstrEncParams->s16ChannelMode == SBC_JOINT_STEREO) { in EncPacking()
97 Temp |= pstrEncParams->as16Join[s32Sb]; in EncPacking()
111 ps16GenPtr = pstrEncParams->as16ScaleFactor; in EncPacking()
128 ps32SbPtr = pstrEncParams->s32SbBuffer; in EncPacking()
130 s32NumOfBlocks = pstrEncParams->s16NumOfBlocks; in EncPacking()
[all …]
Dsbc_analysis.c1195 void SbcAnalysisFilter4(SBC_ENC_PARAMS* pstrEncParams, int16_t* input) { in SbcAnalysisFilter4() argument
1220 s32NumOfChannels = pstrEncParams->s16NumOfChannels; in SbcAnalysisFilter4()
1221 s32NumOfBlocks = pstrEncParams->s16NumOfBlocks; in SbcAnalysisFilter4()
1225 ps32SbBuf = pstrEncParams->s32SbBuffer; in SbcAnalysisFilter4()
1285 void SbcAnalysisFilter8(SBC_ENC_PARAMS* pstrEncParams, int16_t* input) { in SbcAnalysisFilter8() argument
1309 s32NumOfChannels = pstrEncParams->s16NumOfChannels; in SbcAnalysisFilter8()
1310 s32NumOfBlocks = pstrEncParams->s16NumOfBlocks; in SbcAnalysisFilter8()
1314 ps32SbBuf = pstrEncParams->s32SbBuffer; in SbcAnalysisFilter8()