Home
last modified time | relevance | path

Searched refs:nrof_subbands (Results 1 – 9 of 9) sorted by relevance

/system/bt/embdrv/sbc/decoder/srce/
Dbitalloc.c47 return 16 * frame->nrof_subbands; in OI_SBC_MaxBitpool()
50 return 32 * frame->nrof_subbands; in OI_SBC_MaxBitpool()
60 uint16_t nrof_subbands = frame->nrof_subbands; in internal_CalculateFramelen() local
64 result += nrof_subbands + (8 * nrof_subbands); in internal_CalculateFramelen()
70 result += 4 * nrof_subbands; in internal_CalculateFramelen()
72 result += 8 * nrof_subbands; in internal_CalculateFramelen()
80 blocksbands = frame->nrof_subbands * frame->nrof_blocks; in internal_CalculateBitrate()
89 SBC_HEADER_LEN + frame->nrof_subbands * frame->nrof_channels / 2; in OI_SBC_CalculateFrameAndHeaderlen()
134 const OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; in computeBitneed() local
136 int8_t* scale_factor = &common->scale_factor[ch ? nrof_subbands : 0]; in computeBitneed()
[all …]
Dbitalloc-sbc.c50 const OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; in stereoBitAllocation() local
60 bitcount += computeBitneed(common, &bitneeds.uint8[nrof_subbands], 1, in stereoBitAllocation()
66 2 * nrof_subbands, bitcount, &ex); in stereoBitAllocation()
71 sbR = nrof_subbands; in stereoBitAllocation()
72 while (sbL < nrof_subbands) { in stereoBitAllocation()
81 sbR = nrof_subbands; in stereoBitAllocation()
131 uint16_t nrof_subbands = frame->nrof_subbands; in OI_CODEC_SBC_CalculateBitpool() local
137 hdr = 9 * nrof_subbands; in OI_CODEC_SBC_CalculateBitpool()
140 hdr = 4 * nrof_subbands; in OI_CODEC_SBC_CalculateBitpool()
142 hdr = 8 * nrof_subbands; in OI_CODEC_SBC_CalculateBitpool()
[all …]
Ddecoder-sbc.c103 context->common.frameInfo.nrof_subbands; in DecodeBody()
118 context->common.frameInfo.nrof_subbands * in DecodeBody()
145 context->common.frameInfo.nrof_subbands; in DecodeBody()
165 frameSamples = decode_block_count * context->common.frameInfo.nrof_subbands; in DecodeBody()
465 OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; in OI_SBC_ReadSamplesJoint() local
467 OI_ASSERT((nrof_subbands >> 3u) <= 1u); in OI_SBC_ReadSamplesJoint()
468 SpecializedReadSamples[nrof_subbands >> 3](context, global_bs); in OI_SBC_ReadSamplesJoint()
471 #define NROF_SUBBANDS nrof_subbands in OI_SBC_ReadSamplesJoint()
Ddecoder-private.c114 frame->nrof_subbands = band_values[frame->subbands]; 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()
156 OI_ASSERT(common->frameInfo.nrof_subbands == 4 && in OI_SBC_ReadScalefactors()
188 common->frameInfo.nrof_channels * common->frameInfo.nrof_subbands / 4; in OI_SBC_ReadSamples()
Dframing.c216 OI_UINT count = (frame->nrof_subbands * frame->nrof_channels / 2u) + 4; in OI_SBC_CalculateChecksum()
218 if (frame->mode == SBC_JOINT_STEREO && frame->nrof_subbands == 8) { in OI_SBC_CalculateChecksum()
228 if (frame->mode == SBC_JOINT_STEREO && frame->nrof_subbands == 4) { in OI_SBC_CalculateChecksum()
237 frame->nrof_subbands = band_values[frame->subbands]; in OI_SBC_ExpandFrameFields()
Dreadsamplesjoint.inc45 OI_UINT nrof_subbands = common->frameInfo.nrof_subbands;
47 #define NROF_SUBBANDS nrof_subbands
Dframing-sbc.c49 printf(" subbands: %d\n", frameInfo->nrof_subbands); in OI_CODEC_SBC_DumpConfig()
Dsynthesis-sbc.c416 OI_UINT nrof_subbands = context->common.frameInfo.nrof_subbands; in OI_SBC_SynthFrame() local
419 OI_ASSERT(nrof_subbands == 4 || nrof_subbands == 8); in OI_SBC_SynthFrame()
420 if (nrof_subbands == 4) { in OI_SBC_SynthFrame()
/system/bt/embdrv/sbc/decoder/include/
Doi_codec_sbc.h169 uint8_t nrof_subbands; /**< The number of subbands of the encoded stream. member