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.c110 OI_UINT decode_block_count; in DecodeBody() local
149 decode_block_count = *pcmBytes / sizeof(int16_t) / in DecodeBody()
153 if (decode_block_count > context->bufferedBlocks) { in DecodeBody()
154 decode_block_count = context->bufferedBlocks; in DecodeBody()
158 decode_block_count = context->common.frameInfo.nrof_blocks; in DecodeBody()
165 OI_SBC_SynthFrame(context, pcmData, start_block, decode_block_count); in DecodeBody()
168 OI_ASSERT(context->bufferedBlocks >= decode_block_count); in DecodeBody()
169 context->bufferedBlocks -= decode_block_count; in DecodeBody()
171 frameSamples = decode_block_count * context->common.frameInfo.nrof_subbands; in DecodeBody()