Home
last modified time | relevance | path

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

/system/bt/embdrv/sbc/decoder/srce/
Ddecoder-sbc.c104 OI_UINT decode_block_count; in DecodeBody() local
143 decode_block_count = *pcmBytes / sizeof(int16_t) / in DecodeBody()
147 if (decode_block_count > context->bufferedBlocks) { in DecodeBody()
148 decode_block_count = context->bufferedBlocks; in DecodeBody()
152 decode_block_count = context->common.frameInfo.nrof_blocks; in DecodeBody()
159 OI_SBC_SynthFrame(context, pcmData, start_block, decode_block_count); in DecodeBody()
162 OI_ASSERT(context->bufferedBlocks >= decode_block_count); in DecodeBody()
163 context->bufferedBlocks -= decode_block_count; in DecodeBody()
165 frameSamples = decode_block_count * context->common.frameInfo.nrof_subbands; in DecodeBody()