Searched refs:nrof_subbands (Results 1 – 9 of 9) sorted by relevance
50 return 16 * frame->nrof_subbands; in OI_SBC_MaxBitpool()53 return 32 * frame->nrof_subbands; in OI_SBC_MaxBitpool()65 OI_UINT16 nrof_subbands = frame->nrof_subbands; in internal_CalculateFramelen() local69 result += nrof_subbands + (8 * nrof_subbands); in internal_CalculateFramelen()75 result += 4 * nrof_subbands; in internal_CalculateFramelen()77 result += 8 * nrof_subbands; in internal_CalculateFramelen()87 blocksbands = frame->nrof_subbands * frame->nrof_blocks; in internal_CalculateBitrate()95 OI_UINT headerLen = SBC_HEADER_LEN + frame->nrof_subbands * frame->nrof_channels / 2; in OI_SBC_CalculateFrameAndHeaderlen()148 const OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; in computeBitneed() local150 OI_INT8 *scale_factor = &common->scale_factor[ch ? nrof_subbands : 0]; in computeBitneed()[all …]
53 const OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; in stereoBitAllocation() local63 bitcount += computeBitneed(common, &bitneeds.uint8[nrof_subbands], 1, &bitpoolPreference); in stereoBitAllocation()67 … = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds.uint32, 2 * nrof_subbands, bitcount, &ex… in stereoBitAllocation()72 sbR = nrof_subbands; in stereoBitAllocation()73 while (sbL < nrof_subbands) { in stereoBitAllocation()80 sbR = nrof_subbands; in stereoBitAllocation()135 OI_UINT16 nrof_subbands = frame->nrof_subbands; in OI_CODEC_SBC_CalculateBitpool() local141 hdr = 9 * nrof_subbands; in OI_CODEC_SBC_CalculateBitpool()144 hdr = 4 * nrof_subbands; in OI_CODEC_SBC_CalculateBitpool()146 hdr = 8 * nrof_subbands; in OI_CODEC_SBC_CalculateBitpool()[all …]
120 frame->nrof_subbands = 8; in OI_SBC_ReadHeader()149 frame->nrof_subbands = band_values[frame->subbands]; 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()192 … OI_ASSERT(common->frameInfo.nrof_subbands == 4 && common->frameInfo.mode == SBC_JOINT_STEREO); in OI_SBC_ReadScalefactors()220 … const OI_UINT iter_count = common->frameInfo.nrof_channels * common->frameInfo.nrof_subbands / 4; in OI_SBC_ReadSamples()
110 …INT frameSamples = context->common.frameInfo.nrof_blocks * context->common.frameInfo.nrof_subbands; in DecodeBody()121 …} else if (*pcmBytes < sizeof (OI_INT16) * context->common.frameInfo.nrof_subbands * context->comm… in DecodeBody()145 …*pcmBytes / sizeof(OI_INT16) / context->common.pcmStride / context->common.frameInfo.nrof_subbands; in DecodeBody()164 frameSamples = decode_block_count * context->common.frameInfo.nrof_subbands; in DecodeBody()458 OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; in OI_SBC_ReadSamplesJoint() local460 OI_ASSERT((nrof_subbands >> 3u) <= 1u); in OI_SBC_ReadSamplesJoint()461 SpecializedReadSamples[nrof_subbands >> 3](context, global_bs); in OI_SBC_ReadSamplesJoint()464 #define NROF_SUBBANDS nrof_subbands in OI_SBC_ReadSamplesJoint()
179 OI_UINT count = (frame->nrof_subbands * frame->nrof_channels / 2u) + 4; in OI_SBC_CalculateChecksum()181 if (frame->mode == SBC_JOINT_STEREO && frame->nrof_subbands == 8) { in OI_SBC_CalculateChecksum()191 if (frame->mode == SBC_JOINT_STEREO && frame->nrof_subbands == 4) { in OI_SBC_CalculateChecksum()201 frame->nrof_subbands = band_values[frame->subbands]; in OI_SBC_ExpandFrameFields()
44 OI_UINT nrof_subbands = common->frameInfo.nrof_subbands;46 #define NROF_SUBBANDS nrof_subbands
378 OI_UINT nrof_subbands = context->common.frameInfo.nrof_subbands; in OI_SBC_SynthFrame() local381 OI_ASSERT(nrof_subbands == 4 || nrof_subbands == 8); in OI_SBC_SynthFrame()382 if (nrof_subbands == 4) { in OI_SBC_SynthFrame()
48 printf(" subbands: %d\n", frameInfo->nrof_subbands); in OI_CODEC_SBC_DumpConfig()
139 OI_UINT8 nrof_subbands; /**< The number of subbands of the encoded stream. Input parameter. */ member