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()62 OI_UINT16 nrof_subbands = frame->nrof_subbands; in internal_CalculateFramelen() local66 result += nrof_subbands + (8 * nrof_subbands); in internal_CalculateFramelen()69 … if (frame->mode == SBC_MONO) { result += 4*nrof_subbands; } else { result += 8*nrof_subbands; } in internal_CalculateFramelen()78 blocksbands = frame->nrof_subbands * frame->nrof_blocks; in internal_CalculateBitrate()86 OI_UINT headerLen = SBC_HEADER_LEN + frame->nrof_subbands * frame->nrof_channels/2; in OI_SBC_CalculateFrameAndHeaderlen()137 const OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; in computeBitneed() local139 OI_INT8 *scale_factor = &common->scale_factor[ch ? nrof_subbands : 0]; in computeBitneed()145 for (sb = 0; sb < nrof_subbands; sb++) { in computeBitneed()[all …]
51 const OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; in stereoBitAllocation() local61 bitcount += computeBitneed(common, &bitneeds.uint8[nrof_subbands], 1, &bitpoolPreference); in stereoBitAllocation()65 … = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds.uint32, 2 * nrof_subbands, bitcount, &ex… in stereoBitAllocation()70 sbR = nrof_subbands; in stereoBitAllocation()71 while (sbL < nrof_subbands) { in stereoBitAllocation()78 sbR = nrof_subbands; in stereoBitAllocation()133 OI_UINT16 nrof_subbands = frame->nrof_subbands; in OI_CODEC_SBC_CalculateBitpool() local139 hdr = 9 * nrof_subbands; in OI_CODEC_SBC_CalculateBitpool()142 hdr = 4 * nrof_subbands; in OI_CODEC_SBC_CalculateBitpool()144 hdr = 8 * nrof_subbands; in OI_CODEC_SBC_CalculateBitpool()[all …]
105 …INT frameSamples = context->common.frameInfo.nrof_blocks * context->common.frameInfo.nrof_subbands; in DecodeBody()116 …} else if (*pcmBytes < sizeof (OI_INT16) * context->common.frameInfo.nrof_subbands * context->comm… in DecodeBody()140 …*pcmBytes / sizeof(OI_INT16) / context->common.pcmStride / context->common.frameInfo.nrof_subbands; in DecodeBody()159 frameSamples = decode_block_count * context->common.frameInfo.nrof_subbands; in DecodeBody()452 OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; in OI_SBC_ReadSamplesJoint() local454 OI_ASSERT((nrof_subbands >> 3u) <= 1u); in OI_SBC_ReadSamplesJoint()455 SpecializedReadSamples[nrof_subbands >> 3](context, global_bs); in OI_SBC_ReadSamplesJoint()458 #define NROF_SUBBANDS nrof_subbands in OI_SBC_ReadSamplesJoint()
116 frame->nrof_subbands = band_values[frame->subbands]; in OI_SBC_ReadHeader()138 OI_UINT i = common->frameInfo.nrof_subbands * common->frameInfo.nrof_channels; in OI_SBC_ReadScalefactors()142 if (common->frameInfo.nrof_subbands == 8 || common->frameInfo.mode != SBC_JOINT_STEREO) { in OI_SBC_ReadScalefactors()159 … OI_ASSERT(common->frameInfo.nrof_subbands == 4 && common->frameInfo.mode == SBC_JOINT_STEREO); in OI_SBC_ReadScalefactors()187 … const OI_UINT iter_count = common->frameInfo.nrof_channels * common->frameInfo.nrof_subbands / 4; in OI_SBC_ReadSamples()
177 OI_UINT count = (frame->nrof_subbands * frame->nrof_channels / 2u) + 4; in OI_SBC_CalculateChecksum()179 if (frame->mode == SBC_JOINT_STEREO && frame->nrof_subbands == 8) { in OI_SBC_CalculateChecksum()189 if (frame->mode == SBC_JOINT_STEREO && frame->nrof_subbands == 4) { in OI_SBC_CalculateChecksum()199 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
376 OI_UINT nrof_subbands = context->common.frameInfo.nrof_subbands; in OI_SBC_SynthFrame() local379 OI_ASSERT(nrof_subbands == 4 || nrof_subbands == 8); in OI_SBC_SynthFrame()380 if (nrof_subbands == 4) { in OI_SBC_SynthFrame()
45 printf(" subbands: %d\n", frameInfo->nrof_subbands); in OI_CODEC_SBC_DumpConfig()
135 OI_UINT8 nrof_subbands; /**< The number of subbands of the encoded stream. Input parameter. */ member