Searched refs:frameInfo (Results 1 – 9 of 9) sorted by relevance
/system/bt/embdrv/sbc/decoder/srce/ |
D | framing-sbc.c | 45 void OI_CODEC_SBC_DumpConfig(OI_CODEC_SBC_FRAME_INFO* frameInfo) { in OI_CODEC_SBC_DumpConfig() argument 47 printf(" enhanced: %s\n", frameInfo->enhanced ? "true" : "false"); in OI_CODEC_SBC_DumpConfig() 48 printf(" frequency: %d\n", frameInfo->frequency); in OI_CODEC_SBC_DumpConfig() 49 printf(" subbands: %d\n", frameInfo->nrof_subbands); in OI_CODEC_SBC_DumpConfig() 50 printf(" blocks: %d\n", frameInfo->nrof_blocks); in OI_CODEC_SBC_DumpConfig() 51 printf(" channels: %d\n", frameInfo->nrof_channels); in OI_CODEC_SBC_DumpConfig() 52 printf(" mode: %s\n", OI_CODEC_SBC_ModeText[frameInfo->mode]); in OI_CODEC_SBC_DumpConfig() 53 printf(" alloc: %s\n", OI_CODEC_SBC_AllocText[frameInfo->alloc]); in OI_CODEC_SBC_DumpConfig() 54 printf(" bitpool: %d\n", frameInfo->bitpool); in OI_CODEC_SBC_DumpConfig()
|
D | decoder-sbc.c | 69 context->common.frameInfo.enhanced = in FindSyncword() 87 context->common.frameInfo.enhanced = FALSE; in FindSyncword() 102 OI_UINT frameSamples = context->common.frameInfo.nrof_blocks * in DecodeBody() 103 context->common.frameInfo.nrof_subbands; in DecodeBody() 118 context->common.frameInfo.nrof_subbands * in DecodeBody() 133 if (context->common.frameInfo.mode == SBC_JOINT_STEREO) { in DecodeBody() 139 context->bufferedBlocks = context->common.frameInfo.nrof_blocks; in DecodeBody() 145 context->common.frameInfo.nrof_subbands; in DecodeBody() 152 decode_block_count = context->common.frameInfo.nrof_blocks; in DecodeBody() 158 context->common.frameInfo.nrof_blocks - context->bufferedBlocks; in DecodeBody() [all …]
|
D | decoder-oina.c | 73 context->common.frameInfo.enhanced = enhanced; in OI_CODEC_SBC_DecoderConfigureRaw() 75 context->common.frameInfo.enhanced = FALSE; in OI_CODEC_SBC_DecoderConfigureRaw() 77 context->common.frameInfo.freqIndex = frequency; in OI_CODEC_SBC_DecoderConfigureRaw() 78 context->common.frameInfo.mode = mode; in OI_CODEC_SBC_DecoderConfigureRaw() 79 context->common.frameInfo.subbands = subbands; in OI_CODEC_SBC_DecoderConfigureRaw() 80 context->common.frameInfo.blocks = blocks; in OI_CODEC_SBC_DecoderConfigureRaw() 81 context->common.frameInfo.alloc = alloc; in OI_CODEC_SBC_DecoderConfigureRaw() 82 context->common.frameInfo.bitpool = maxBitpool; in OI_CODEC_SBC_DecoderConfigureRaw() 84 OI_SBC_ExpandFrameFields(&context->common.frameInfo); in OI_CODEC_SBC_DecoderConfigureRaw() 86 if (context->common.frameInfo.nrof_channels >= context->common.pcmStride) { in OI_CODEC_SBC_DecoderConfigureRaw()
|
D | decoder-private.c | 76 OI_SBC_ExpandFrameFields(&context->common.frameInfo); in internal_DecoderReset() 90 OI_CODEC_SBC_FRAME_INFO* frame = &common->frameInfo; in OI_SBC_ReadHeader() 133 OI_UINT i = common->frameInfo.nrof_subbands * common->frameInfo.nrof_channels; in OI_SBC_ReadScalefactors() 137 if (common->frameInfo.nrof_subbands == 8 || in OI_SBC_ReadScalefactors() 138 common->frameInfo.mode != SBC_JOINT_STEREO) { in OI_SBC_ReadScalefactors() 139 if (common->frameInfo.mode == SBC_JOINT_STEREO) { in OI_SBC_ReadScalefactors() 140 common->frameInfo.join = *b++; in OI_SBC_ReadScalefactors() 142 common->frameInfo.join = 0; in OI_SBC_ReadScalefactors() 156 OI_ASSERT(common->frameInfo.nrof_subbands == 4 && in OI_SBC_ReadScalefactors() 157 common->frameInfo.mode == SBC_JOINT_STEREO); in OI_SBC_ReadScalefactors() [all …]
|
D | bitalloc-sbc.c | 50 const OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; in stereoBitAllocation() 65 bitadjust = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds.uint32, in stereoBitAllocation() 101 OI_ASSERT(common->frameInfo.bitpool <= OI_SBC_MaxBitpool(&common->frameInfo)); in OI_SBC_ComputeBitAllocation() 102 OI_ASSERT(common->frameInfo.mode < OI_ARRAYSIZE(balloc)); in OI_SBC_ComputeBitAllocation() 109 balloc[common->frameInfo.mode](common); in OI_SBC_ComputeBitAllocation() 153 return sizeof(int16_t) * common->pcmStride * common->frameInfo.nrof_subbands * in OI_CODEC_SBC_CalculatePcmBytes() 154 common->frameInfo.nrof_blocks; in OI_CODEC_SBC_CalculatePcmBytes()
|
D | bitalloc.c | 134 const OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; in computeBitneed() 141 if (common->frameInfo.alloc == SBC_SNR) { in computeBitneed() 156 offset = offset4[common->frameInfo.freqIndex]; in computeBitneed() 158 offset = offset8[common->frameInfo.freqIndex]; in computeBitneed() 335 const uint8_t nrof_subbands = common->frameInfo.nrof_subbands; in oneChannelBitAllocation() 343 bitadjust = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds->uint32, in oneChannelBitAllocation()
|
D | synthesis-sbc.c | 281 OI_UINT nrof_channels = context->common.frameInfo.nrof_channels; in OI_SBC_SynthFrame_80() 320 OI_UINT nrof_channels = context->common.frameInfo.nrof_channels; in OI_SBC_SynthFrame_4SB() 360 OI_UINT nrof_channels = context->common.frameInfo.nrof_channels; in OI_SBC_SynthFrame_Enhanced() 416 OI_UINT nrof_subbands = context->common.frameInfo.nrof_subbands; in OI_SBC_SynthFrame() 417 OI_UINT nrof_channels = context->common.frameInfo.nrof_channels; in OI_SBC_SynthFrame() 423 } else if (context->common.frameInfo.enhanced) { in OI_SBC_SynthFrame()
|
D | readsamplesjoint.inc | 45 OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; 61 OI_UINT bl = common->frameInfo.nrof_blocks; 66 uint8_t jmask = common->frameInfo.join << (8 - NROF_SUBBANDS);
|
/system/bt/embdrv/sbc/decoder/include/ |
D | oi_codec_sbc.h | 194 OI_CODEC_SBC_FRAME_INFO frameInfo; member 502 void OI_CODEC_SBC_DumpConfig(OI_CODEC_SBC_FRAME_INFO* frameInfo);
|