• Home
  • Raw
  • Download

Lines Matching refs:s16BitPool

192   int16_t s16BitPool = 0;  in a2dp_sbc_encoder_update()  local
280 s16SamplingFreq, p_encoder_params->s16BitPool); in a2dp_sbc_encoder_update()
285 s16BitPool = (int16_t)((p_encoder_params->u16BitRate * in a2dp_sbc_encoder_update()
300 (p_encoder_params->s16NumOfBlocks * s16BitPool)) / in a2dp_sbc_encoder_update()
307 if (s16BitRate > p_encoder_params->u16BitRate) s16BitPool--; in a2dp_sbc_encoder_update()
310 s16BitPool = (s16BitPool > 255) ? 255 : s16BitPool; in a2dp_sbc_encoder_update()
312 s16BitPool = (s16BitPool > 128) ? 128 : s16BitPool; in a2dp_sbc_encoder_update()
314 s16BitPool = in a2dp_sbc_encoder_update()
322 p_encoder_params->s16BitPool = in a2dp_sbc_encoder_update()
323 (s16BitPool > (16 * p_encoder_params->s16NumOfSubBands)) in a2dp_sbc_encoder_update()
325 : s16BitPool; in a2dp_sbc_encoder_update()
328 if (s16BitPool < 0) s16BitPool = 0; in a2dp_sbc_encoder_update()
330 LOG_VERBOSE("%s: bitpool candidate: %d (%d kbps)", __func__, s16BitPool, in a2dp_sbc_encoder_update()
333 if (s16BitPool > max_bitpool) { in a2dp_sbc_encoder_update()
334 LOG_VERBOSE("%s: computed bitpool too large (%d)", __func__, s16BitPool); in a2dp_sbc_encoder_update()
339 } else if (s16BitPool < min_bitpool) { in a2dp_sbc_encoder_update()
340 LOG_WARN("%s: computed bitpool too small (%d)", __func__, s16BitPool); in a2dp_sbc_encoder_update()
360 p_encoder_params->s16BitPool = s16BitPool; in a2dp_sbc_encoder_update()
363 p_encoder_params->u16BitRate, p_encoder_params->s16BitPool); in a2dp_sbc_encoder_update()
840 p_encoder_params->s16BitPool, p_encoder_params->s16SamplingFreq, in a2dp_sbc_frame_length()
854 p_encoder_params->s16BitPool) / in a2dp_sbc_frame_length()
864 p_encoder_params->s16BitPool) / in a2dp_sbc_frame_length()
875 p_encoder_params->s16BitPool)) / in a2dp_sbc_frame_length()