Searched refs:nrof_subbands (Results 1 – 9 of 9) sorted by relevance
47 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() local64 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() local136 int8_t* scale_factor = &common->scale_factor[ch ? nrof_subbands : 0]; in computeBitneed()[all …]
50 const OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; in stereoBitAllocation() local60 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() local137 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 …]
103 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() local467 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()
114 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()
216 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()
45 OI_UINT nrof_subbands = common->frameInfo.nrof_subbands;47 #define NROF_SUBBANDS nrof_subbands
49 printf(" subbands: %d\n", frameInfo->nrof_subbands); in OI_CODEC_SBC_DumpConfig()
416 OI_UINT nrof_subbands = context->common.frameInfo.nrof_subbands; in OI_SBC_SynthFrame() local419 OI_ASSERT(nrof_subbands == 4 || nrof_subbands == 8); in OI_SBC_SynthFrame()420 if (nrof_subbands == 4) { in OI_SBC_SynthFrame()
169 uint8_t nrof_subbands; /**< The number of subbands of the encoded stream. member