Searched refs:pstrEncParams (Results 1 – 4 of 4) sorted by relevance
37 void SBC_Encoder(SBC_ENC_PARAMS *pstrEncParams) in SBC_Encoder() argument47 SINT32 s32NumOfBlocks = pstrEncParams->s16NumOfBlocks; in SBC_Encoder()54 register SINT32 s32NumOfSubBands = pstrEncParams->s16NumOfSubBands; in SBC_Encoder()56 pstrEncParams->pu8NextPacket = pstrEncParams->pu8Packet; in SBC_Encoder()59 pstrEncParams->ps16NextPcmBuffer = pstrEncParams->ps16PcmBuffer; in SBC_Encoder()61 pstrEncParams->ps16NextPcmBuffer = pstrEncParams->as16PcmBuffer; in SBC_Encoder()67 SbcAnalysisFilter4(pstrEncParams); in SBC_Encoder()69 SbcAnalysisFilter8(pstrEncParams); in SBC_Encoder()72 ps16ScfL = pstrEncParams->as16ScaleFactor; in SBC_Encoder()73 s32Ch=pstrEncParams->s16NumOfChannels*s32NumOfSubBands; in SBC_Encoder()[all …]
56 void EncPacking(SBC_ENC_PARAMS *pstrEncParams) in EncPacking() argument72 SINT32 s32NumOfSubBands = pstrEncParams->s16NumOfSubBands; in EncPacking()73 SINT32 s32NumOfChannels = pstrEncParams->s16NumOfChannels; in EncPacking()84 pu8PacketPtr = pstrEncParams->pu8NextPacket; /*Initialize the ptr*/ in EncPacking()86 *pu8PacketPtr++=(UINT8)(pstrEncParams->FrameHeader); in EncPacking()88 *pu8PacketPtr = (UINT8)(pstrEncParams->s16BitPool & 0x00FF); in EncPacking()95 if (pstrEncParams->s16ChannelMode == SBC_JOINT_STEREO) in EncPacking()101 Temp |= pstrEncParams->as16Join[s32Sb]; in EncPacking()118 ps16GenPtr = pstrEncParams->as16ScaleFactor; in EncPacking()139 ps32SbPtr = pstrEncParams->s32SbBuffer; in EncPacking()[all …]
907 void SbcAnalysisFilter4(SBC_ENC_PARAMS *pstrEncParams) in SbcAnalysisFilter4() argument933 s32NumOfChannels = pstrEncParams->s16NumOfChannels; in SbcAnalysisFilter4()934 s32NumOfBlocks = pstrEncParams->s16NumOfBlocks; in SbcAnalysisFilter4()936 ps16PcmBuf = pstrEncParams->ps16NextPcmBuffer; in SbcAnalysisFilter4()938 ps32SbBuf = pstrEncParams->s32SbBuffer; in SbcAnalysisFilter4()1000 void SbcAnalysisFilter8 (SBC_ENC_PARAMS *pstrEncParams) in SbcAnalysisFilter8() argument1025 s32NumOfChannels = pstrEncParams->s16NumOfChannels; in SbcAnalysisFilter8()1026 s32NumOfBlocks = pstrEncParams->s16NumOfBlocks; in SbcAnalysisFilter8()1028 ps16PcmBuf = pstrEncParams->ps16NextPcmBuffer; in SbcAnalysisFilter8()1030 ps32SbBuf = pstrEncParams->s32SbBuffer; in SbcAnalysisFilter8()
1871 SBC_ENC_PARAMS *pstrEncParams = &btif_media_cb.encoder; in btif_media_task_enc_update() local1882 if (!pstrEncParams->s16NumOfSubBands) in btif_media_task_enc_update()1886 pstrEncParams->s16NumOfSubBands = SBC_MAX_NUM_OF_SUBBANDS; in btif_media_task_enc_update()1889 if (!pstrEncParams->s16NumOfBlocks) in btif_media_task_enc_update()1893 pstrEncParams->s16NumOfBlocks = SBC_MAX_NUM_OF_BLOCKS; in btif_media_task_enc_update()1896 if (!pstrEncParams->s16NumOfChannels) in btif_media_task_enc_update()1900 pstrEncParams->s16NumOfChannels = SBC_MAX_NUM_OF_CHANNELS; in btif_media_task_enc_update()1909 pstrEncParams->u16BitRate = btif_media_task_get_sbc_rate(); in btif_media_task_enc_update()1911 if (pstrEncParams->s16SamplingFreq == SBC_sf16000) in btif_media_task_enc_update()1913 else if (pstrEncParams->s16SamplingFreq == SBC_sf32000) in btif_media_task_enc_update()[all …]