Lines Matching refs:common

65 …status = OI_CODEC_SBC_Alloc(&context->common, decoderData, decoderDataBytes, maxChannels, pcmStrid…  in internal_DecoderReset()
71 context->common.codecInfo = OI_Codec_Copyright; in internal_DecoderReset()
72 context->common.maxBitneed = 0; in internal_DecoderReset()
74 OI_SBC_ExpandFrameFields(&context->common.frameInfo); in internal_DecoderReset()
88 INLINE void OI_SBC_ReadHeader(OI_CODEC_SBC_COMMON_CONTEXT *common, const OI_BYTE *data) in OI_SBC_ReadHeader() argument
90 OI_CODEC_SBC_FRAME_INFO *frame = &common->frameInfo; in OI_SBC_ReadHeader()
134 PRIVATE void OI_SBC_ReadScalefactors(OI_CODEC_SBC_COMMON_CONTEXT *common, in OI_SBC_ReadScalefactors() argument
138 OI_UINT i = common->frameInfo.nrof_subbands * common->frameInfo.nrof_channels; in OI_SBC_ReadScalefactors()
139 OI_INT8 *scale_factor = common->scale_factor; in OI_SBC_ReadScalefactors()
142 if (common->frameInfo.nrof_subbands == 8 || common->frameInfo.mode != SBC_JOINT_STEREO) { in OI_SBC_ReadScalefactors()
143 if (common->frameInfo.mode == SBC_JOINT_STEREO) { in OI_SBC_ReadScalefactors()
144 common->frameInfo.join = *b++; in OI_SBC_ReadScalefactors()
146 common->frameInfo.join = 0; in OI_SBC_ReadScalefactors()
159 … OI_ASSERT(common->frameInfo.nrof_subbands == 4 && common->frameInfo.mode == SBC_JOINT_STEREO); in OI_SBC_ReadScalefactors()
160 common->frameInfo.join = HIGH(f = *b++); in OI_SBC_ReadScalefactors()
180 OI_CODEC_SBC_COMMON_CONTEXT *common = &context->common; in OI_SBC_ReadSamples() local
181 OI_UINT nrof_blocks = common->frameInfo.nrof_blocks; in OI_SBC_ReadSamples()
182 OI_INT32 * RESTRICT s = common->subdata; in OI_SBC_ReadSamples()
187 … const OI_UINT iter_count = common->frameInfo.nrof_channels * common->frameInfo.nrof_subbands / 4; in OI_SBC_ReadSamples()
191 OI_UINT32 sf_by4 = ((OI_UINT32*)common->scale_factor)[i]; in OI_SBC_ReadSamples()
192 OI_UINT32 bits_by4 = common->bits.uint32[i]; in OI_SBC_ReadSamples()