Searched refs:frameInfo (Results 1 – 9 of 9) sorted by relevance
/hal_espressif-latest/components/bt/host/bluedroid/external/sbc/decoder/srce/ |
D | framing-sbc.c | 43 void OI_CODEC_SBC_DumpConfig(OI_CODEC_SBC_FRAME_INFO *frameInfo) in OI_CODEC_SBC_DumpConfig() argument 46 printf(" enhanced: %s\n", frameInfo->enhanced ? "TRUE" : "FALSE"); in OI_CODEC_SBC_DumpConfig() 47 printf(" frequency: %d\n", frameInfo->frequency); in OI_CODEC_SBC_DumpConfig() 48 printf(" subbands: %d\n", frameInfo->nrof_subbands); in OI_CODEC_SBC_DumpConfig() 49 printf(" blocks: %d\n", frameInfo->nrof_blocks); in OI_CODEC_SBC_DumpConfig() 50 printf(" channels: %d\n", frameInfo->nrof_channels); in OI_CODEC_SBC_DumpConfig() 51 printf(" mode: %s\n", OI_CODEC_SBC_ModeText[frameInfo->mode]); in OI_CODEC_SBC_DumpConfig() 52 printf(" alloc: %s\n", OI_CODEC_SBC_AllocText[frameInfo->alloc]); in OI_CODEC_SBC_DumpConfig() 53 printf(" bitpool: %d\n", frameInfo->bitpool); in OI_CODEC_SBC_DumpConfig()
|
D | decoder-sbc.c | 73 context->common.frameInfo.enhanced = (**frameData == OI_SBC_ENHANCED_SYNCWORD); in FindSyncword() 92 context->common.frameInfo.enhanced = FALSE; in FindSyncword() 110 …OI_UINT frameSamples = context->common.frameInfo.nrof_blocks * context->common.frameInfo.nrof_subb… in DecodeBody() 121 …} else if (*pcmBytes < sizeof (OI_INT16) * context->common.frameInfo.nrof_subbands * context->comm… in DecodeBody() 135 if (context->common.frameInfo.mode == SBC_JOINT_STEREO) { in DecodeBody() 141 context->bufferedBlocks = context->common.frameInfo.nrof_blocks; in DecodeBody() 145 …*pcmBytes / sizeof(OI_INT16) / context->common.pcmStride / context->common.frameInfo.nrof_subbands; in DecodeBody() 152 decode_block_count = context->common.frameInfo.nrof_blocks; in DecodeBody() 157 OI_UINT start_block = context->common.frameInfo.nrof_blocks - context->bufferedBlocks; in DecodeBody() 164 frameSamples = decode_block_count * context->common.frameInfo.nrof_subbands; in DecodeBody() [all …]
|
D | decoder-oina.c | 81 context->common.frameInfo.enhanced = enhanced; in OI_CODEC_SBC_DecoderConfigureRaw() 83 context->common.frameInfo.enhanced = FALSE; in OI_CODEC_SBC_DecoderConfigureRaw() 85 context->common.frameInfo.freqIndex = frequency; in OI_CODEC_SBC_DecoderConfigureRaw() 86 context->common.frameInfo.mode = mode; in OI_CODEC_SBC_DecoderConfigureRaw() 87 context->common.frameInfo.subbands = subbands; in OI_CODEC_SBC_DecoderConfigureRaw() 88 context->common.frameInfo.blocks = blocks; in OI_CODEC_SBC_DecoderConfigureRaw() 89 context->common.frameInfo.alloc = alloc; in OI_CODEC_SBC_DecoderConfigureRaw() 90 context->common.frameInfo.bitpool = maxBitpool; in OI_CODEC_SBC_DecoderConfigureRaw() 92 OI_SBC_ExpandFrameFields(&context->common.frameInfo); in OI_CODEC_SBC_DecoderConfigureRaw() 94 if (context->common.frameInfo.nrof_channels >= context->common.pcmStride) { in OI_CODEC_SBC_DecoderConfigureRaw()
|
D | decoder-private.c | 84 OI_SBC_ExpandFrameFields(&context->common.frameInfo); in internal_DecoderReset() 97 OI_CODEC_SBC_FRAME_INFO *frame = &common->frameInfo; in OI_SBC_ReadHeader() 171 OI_UINT i = common->frameInfo.nrof_subbands * common->frameInfo.nrof_channels; in OI_SBC_ReadScalefactors() 175 if (common->frameInfo.nrof_subbands == 8 || common->frameInfo.mode != SBC_JOINT_STEREO) { in OI_SBC_ReadScalefactors() 176 if (common->frameInfo.mode == SBC_JOINT_STEREO) { in OI_SBC_ReadScalefactors() 177 common->frameInfo.join = *b++; in OI_SBC_ReadScalefactors() 179 common->frameInfo.join = 0; in OI_SBC_ReadScalefactors() 192 … OI_ASSERT(common->frameInfo.nrof_subbands == 4 && common->frameInfo.mode == SBC_JOINT_STEREO); in OI_SBC_ReadScalefactors() 193 common->frameInfo.join = HIGH(f = *b++); in OI_SBC_ReadScalefactors() 214 OI_UINT nrof_blocks = common->frameInfo.nrof_blocks; in OI_SBC_ReadSamples() [all …]
|
D | bitalloc-sbc.c | 53 const OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; in stereoBitAllocation() 67 …bitadjust = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds.uint32, 2 * nrof_subbands, bitc… in stereoBitAllocation() 103 OI_ASSERT(common->frameInfo.bitpool <= OI_SBC_MaxBitpool(&common->frameInfo)); in OI_SBC_ComputeBitAllocation() 104 OI_ASSERT(common->frameInfo.mode < OI_ARRAYSIZE(balloc)); in OI_SBC_ComputeBitAllocation() 110 balloc[common->frameInfo.mode](common); in OI_SBC_ComputeBitAllocation() 158 …return sizeof(OI_INT16) * common->pcmStride * common->frameInfo.nrof_subbands * common->frameInfo.… in OI_CODEC_SBC_CalculatePcmBytes()
|
D | bitalloc.c | 148 const OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; in computeBitneed() 155 if (common->frameInfo.alloc == SBC_SNR) { in computeBitneed() 169 offset = offset4[common->frameInfo.freqIndex]; in computeBitneed() 171 offset = offset8[common->frameInfo.freqIndex]; in computeBitneed() 358 const OI_UINT8 nrof_subbands = common->frameInfo.nrof_subbands; in oneChannelBitAllocation() 367 …bitadjust = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds->uint32, nrof_subbands, bitcoun… in oneChannelBitAllocation()
|
D | synthesis-sbc.c | 264 OI_UINT nrof_channels = context->common.frameInfo.nrof_channels; in OI_SBC_SynthFrame_80() 295 OI_UINT nrof_channels = context->common.frameInfo.nrof_channels; in OI_SBC_SynthFrame_4SB() 329 OI_UINT nrof_channels = context->common.frameInfo.nrof_channels; in OI_SBC_SynthFrame_Enhanced() 378 OI_UINT nrof_subbands = context->common.frameInfo.nrof_subbands; in OI_SBC_SynthFrame() 379 OI_UINT nrof_channels = context->common.frameInfo.nrof_channels; in OI_SBC_SynthFrame() 385 } else if (context->common.frameInfo.enhanced) { in OI_SBC_SynthFrame()
|
D | readsamplesjoint.inc | 44 OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; 60 OI_UINT bl = common->frameInfo.nrof_blocks; 65 OI_UINT8 jmask = common->frameInfo.join << (8 - NROF_SUBBANDS);
|
/hal_espressif-latest/components/bt/host/bluedroid/external/sbc/decoder/include/ |
D | oi_codec_sbc.h | 160 OI_CODEC_SBC_FRAME_INFO frameInfo; member 474 void OI_CODEC_SBC_DumpConfig(OI_CODEC_SBC_FRAME_INFO *frameInfo);
|