Home
last modified time | relevance | path

Searched refs:bitpool (Results 1 – 8 of 8) sorted by relevance

/external/bluetooth/bluedroid/embdrv/sbc/decoder/srce/
Dbitalloc.c61 OI_UINT16 nbits = frame->nrof_blocks * frame->bitpool; in internal_CalculateFramelen()
246 OI_INT adjustToFitBitpool(const OI_UINT bitpool, in adjustToFitBitpool() argument
253 OI_INT bitadjust = (bitcount > bitpool) ? -8 : 8; in adjustToFitBitpool()
259 while ((bitcount != bitpool) && chop) { in adjustToFitBitpool()
285 if (count > bitpool) { in adjustToFitBitpool()
294 *excess = bitpool - bitcount; in adjustToFitBitpool()
356 …bitadjust = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds->uint32, nrof_subbands, bitcoun… in oneChannelBitAllocation()
Ddecoder-oina.c88 context->common.frameInfo.bitpool = maxBitpool; in OI_CODEC_SBC_DecoderConfigureRaw()
102 OI_UINT8 bitpool, in OI_CODEC_SBC_DecodeRaw() argument
109 bitpool, in OI_CODEC_SBC_DecodeRaw()
Ddecoder-sbc.c183 OI_UINT8 bitpool, in internal_DecodeRaw() argument
198 context->common.frameInfo.bitpool = bitpool; in internal_DecodeRaw()
306 …if ((context->common.frameInfo.bitpool < SBC_MIN_BITPOOL) && !context->common.frameInfo.enhanced) { in OI_CODEC_SBC_DecodeFrame()
307 ERROR(("Bitpool too small: %d (must be >= 2)", context->common.frameInfo.bitpool)); in OI_CODEC_SBC_DecodeFrame()
310 if (context->common.frameInfo.bitpool > OI_SBC_MaxBitpool(&context->common.frameInfo)) { in OI_CODEC_SBC_DecodeFrame()
311 …ERROR(("Bitpool too large: %d (must be <= %ld)", context->common.frameInfo.bitpool, OI_SBC_MaxBitp… in OI_CODEC_SBC_DecodeFrame()
Dbitalloc-sbc.c65 …bitadjust = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds.uint32, 2 * nrof_subbands, bitc… in stereoBitAllocation()
101 OI_ASSERT(common->frameInfo.bitpool <= OI_SBC_MaxBitpool(&common->frameInfo)); in OI_SBC_ComputeBitAllocation()
Dframing-sbc.c50 printf(" bitpool: %d\n", frameInfo->bitpool); in OI_CODEC_SBC_DumpConfig()
Ddecoder-private.c123 frame->bitpool = data[2]; in OI_SBC_ReadHeader()
/external/bluetooth/bluedroid/embdrv/sbc/decoder/include/
Doi_codec_sbc.h142 …OI_UINT8 bitpool; /**< Size of the bit allocation pool used to encode the stream. Input para… member
327 OI_UINT8 bitpool,
Doi_codec_sbc_private.h140 OI_INT adjustToFitBitpool(const OI_UINT bitpool,
162 OI_UINT8 bitpool,