Searched refs:pstrEncParams (Results 1 – 4 of 4) sorted by relevance
39 void SBC_Encoder(SBC_ENC_PARAMS *pstrEncParams) in SBC_Encoder() argument49 SINT32 s32NumOfBlocks = pstrEncParams->s16NumOfBlocks; in SBC_Encoder()55 register SINT32 s32NumOfSubBands = pstrEncParams->s16NumOfSubBands; in SBC_Encoder()57 pstrEncParams->pu8NextPacket = pstrEncParams->pu8Packet; in SBC_Encoder()60 pstrEncParams->ps16NextPcmBuffer = pstrEncParams->ps16PcmBuffer; in SBC_Encoder()62 pstrEncParams->ps16NextPcmBuffer = pstrEncParams->as16PcmBuffer; in SBC_Encoder()67 SbcAnalysisFilter4(pstrEncParams); in SBC_Encoder()69 SbcAnalysisFilter8(pstrEncParams); in SBC_Encoder()73 ps16ScfL = pstrEncParams->as16ScaleFactor; in SBC_Encoder()74 s32Ch = pstrEncParams->s16NumOfChannels * s32NumOfSubBands; in SBC_Encoder()[all …]
58 void EncPacking(SBC_ENC_PARAMS *pstrEncParams) in EncPacking() argument74 SINT32 s32NumOfSubBands = pstrEncParams->s16NumOfSubBands; in EncPacking()75 SINT32 s32NumOfChannels = pstrEncParams->s16NumOfChannels; in EncPacking()86 pu8PacketPtr = pstrEncParams->pu8NextPacket; /*Initialize the ptr*/ in EncPacking()87 if (pstrEncParams->sbc_mode != SBC_MODE_MSBC) { in EncPacking()89 *pu8PacketPtr++ = (UINT8)(pstrEncParams->FrameHeader); in EncPacking()91 *pu8PacketPtr = (UINT8)(pstrEncParams->s16BitPool & 0x00FF); in EncPacking()104 if (pstrEncParams->s16ChannelMode == SBC_JOINT_STEREO) { in EncPacking()108 Temp |= pstrEncParams->as16Join[s32Sb]; in EncPacking()122 ps16GenPtr = pstrEncParams->as16ScaleFactor; in EncPacking()[all …]
917 void SbcAnalysisFilter4(SBC_ENC_PARAMS *pstrEncParams) in SbcAnalysisFilter4() argument943 s32NumOfChannels = pstrEncParams->s16NumOfChannels; in SbcAnalysisFilter4()944 s32NumOfBlocks = pstrEncParams->s16NumOfBlocks; in SbcAnalysisFilter4()946 ps16PcmBuf = pstrEncParams->ps16NextPcmBuffer; in SbcAnalysisFilter4()948 ps32SbBuf = pstrEncParams->s32SbBuffer; in SbcAnalysisFilter4()996 void SbcAnalysisFilter8 (SBC_ENC_PARAMS *pstrEncParams) in SbcAnalysisFilter8() argument1021 s32NumOfChannels = pstrEncParams->s16NumOfChannels; in SbcAnalysisFilter8()1022 s32NumOfBlocks = pstrEncParams->s16NumOfBlocks; in SbcAnalysisFilter8()1024 ps16PcmBuf = pstrEncParams->ps16NextPcmBuffer; in SbcAnalysisFilter8()1026 ps32SbBuf = pstrEncParams->s32SbBuffer; in SbcAnalysisFilter8()
779 SBC_ENC_PARAMS *pstrEncParams = &a2dp_source_local_param.btc_aa_src_cb.encoder; in btc_a2dp_source_enc_update() local797 pstrEncParams->u16BitRate = btc_a2dp_source_get_sbc_rate(); in btc_a2dp_source_enc_update()799 if (pstrEncParams->s16SamplingFreq == SBC_sf16000) { in btc_a2dp_source_enc_update()801 } else if (pstrEncParams->s16SamplingFreq == SBC_sf32000) { in btc_a2dp_source_enc_update()803 } else if (pstrEncParams->s16SamplingFreq == SBC_sf44100) { in btc_a2dp_source_enc_update()810 if (pstrEncParams->s16NumOfBlocks == 0 || pstrEncParams->s16NumOfSubBands == 0 in btc_a2dp_source_enc_update()811 || pstrEncParams->s16NumOfChannels == 0) { in btc_a2dp_source_enc_update()814 pstrEncParams->s16NumOfBlocks, pstrEncParams->s16NumOfSubBands, in btc_a2dp_source_enc_update()815 pstrEncParams->s16NumOfChannels); in btc_a2dp_source_enc_update()819 if ((pstrEncParams->s16ChannelMode == SBC_JOINT_STEREO) || in btc_a2dp_source_enc_update()[all …]