Home | History | Annotate | Download | only in src

Lines Matching refs:s16BitPool

1484     APPL_TRACE_DEBUG1("btif_media_task_enc_init bit pool %d", btif_media_cb.encoder.s16BitPool);
1502 SINT16 s16BitPool;
1535 s16BitPool = (SINT16)( (pstrEncParams->u16BitRate *
1547 + (pstrEncParams->s16NumOfBlocks * s16BitPool) ) / 8;
1554 s16BitPool--;
1557 s16BitPool = (s16BitPool > 255) ? 255 : s16BitPool;
1559 s16BitPool = (s16BitPool > 128) ? 128 : s16BitPool;
1563 s16BitPool = (SINT16)( ((pstrEncParams->s16NumOfSubBands *
1570 pstrEncParams->s16BitPool = (s16BitPool >
1572 ? (16*pstrEncParams->s16NumOfSubBands) : s16BitPool;
1575 if (s16BitPool < 0)
1577 s16BitPool = 0;
1581 s16BitPool, pstrEncParams->u16BitRate);
1583 if (s16BitPool > pUpdateAudio->MaxBitPool)
1586 s16BitPool);
1592 else if (s16BitPool < pUpdateAudio->MinBitPool)
1594 APPL_TRACE_WARNING1("btif_media_task_enc_update computed bitpool too small (%d)", s16BitPool);
1613 pstrEncParams->s16BitPool = s16BitPool;
1616 btif_media_cb.encoder.u16BitRate, btif_media_cb.encoder.s16BitPool);