Home | History | Annotate | Download | only in src

Lines Matching defs:s16BitPool

1465     APPL_TRACE_DEBUG1("btif_media_task_enc_init bit pool %d", btif_media_cb.encoder.s16BitPool);
1483 SINT16 s16BitPool;
1516 s16BitPool = (SINT16)( (pstrEncParams->u16BitRate *
1528 + (pstrEncParams->s16NumOfBlocks * s16BitPool) ) / 8;
1535 s16BitPool--;
1538 s16BitPool = (s16BitPool > 255) ? 255 : s16BitPool;
1540 s16BitPool = (s16BitPool > 128) ? 128 : s16BitPool;
1544 s16BitPool = (SINT16)( ((pstrEncParams->s16NumOfSubBands *
1551 pstrEncParams->s16BitPool = (s16BitPool >
1553 ? (16*pstrEncParams->s16NumOfSubBands) : s16BitPool;
1556 if (s16BitPool < 0)
1558 s16BitPool = 0;
1562 s16BitPool, pstrEncParams->u16BitRate);
1564 if (s16BitPool > pUpdateAudio->MaxBitPool)
1567 s16BitPool);
1573 else if (s16BitPool < pUpdateAudio->MinBitPool)
1575 APPL_TRACE_WARNING1("btif_media_task_enc_update computed bitpool too small (%d)", s16BitPool);
1594 pstrEncParams->s16BitPool = s16BitPool;
1597 btif_media_cb.encoder.u16BitRate, btif_media_cb.encoder.s16BitPool);