Lines Matching refs:p_nbits_spec
223 int *p_nbits_spec) in decrease_offset_low_ldac() argument
232 if (*p_nbits_spec > nbits_avail) { in decrease_offset_low_ldac()
240 if (*p_nbits_spec < nbits_avail) { in decrease_offset_low_ldac()
251 else if (*p_nbits_spec > nbits_avail) { in decrease_offset_low_ldac()
267 *p_nbits_spec = encode_audio_block_a_ldac(p_ab, nqus); in decrease_offset_low_ldac()
268 a_checked[grad_os_l] = *p_nbits_spec; in decrease_offset_low_ldac()
272 while ((*p_nbits_spec > nbits_avail) && (grad_os_l < limit)) { in decrease_offset_low_ldac()
274 *p_nbits_spec = encode_audio_block_a_ldac(p_ab, nqus); in decrease_offset_low_ldac()
287 int *p_nbits_spec) in decrease_offset_high_ldac() argument
296 if (*p_nbits_spec > nbits_avail) { in decrease_offset_high_ldac()
304 if (*p_nbits_spec < nbits_avail) { in decrease_offset_high_ldac()
315 else if (*p_nbits_spec > nbits_avail) { in decrease_offset_high_ldac()
331 *p_nbits_spec = encode_audio_block_a_ldac(p_ab, nqus); in decrease_offset_high_ldac()
332 a_checked[grad_os_h] = *p_nbits_spec; in decrease_offset_high_ldac()
336 while ((*p_nbits_spec > nbits_avail) && (grad_os_h < LDAC_MAXGRADOS)) { in decrease_offset_high_ldac()
338 *p_nbits_spec = encode_audio_block_a_ldac(p_ab, nqus); in decrease_offset_high_ldac()
351 int *p_nbits_spec) in increase_offset_low_ldac() argument
367 if (*p_nbits_spec < nbits_avail) { in increase_offset_low_ldac()
378 else if (*p_nbits_spec > nbits_avail) { in increase_offset_low_ldac()
394 *p_nbits_spec = encode_audio_block_a_ldac(p_ab, nqus); in increase_offset_low_ldac()
395 a_checked[grad_os_l] = *p_nbits_spec; in increase_offset_low_ldac()
399 while ((*p_nbits_spec > nbits_avail) && (grad_os_l < LDAC_MAXGRADOS)) { in increase_offset_low_ldac()
401 *p_nbits_spec = encode_audio_block_a_ldac(p_ab, nqus); in increase_offset_low_ldac()
414 int *p_nbits_spec) in increase_qu_low_ldac() argument
431 if (*p_nbits_spec < nbits_avail) { in increase_qu_low_ldac()
442 else if (*p_nbits_spec > nbits_avail) { in increase_qu_low_ldac()
458 *p_nbits_spec = encode_audio_block_a_ldac(p_ab, nqus); in increase_qu_low_ldac()
459 a_checked[grad_qu_l] = *p_nbits_spec; in increase_qu_low_ldac()
463 while ((*p_nbits_spec > nbits_avail) && (grad_qu_l <= LDAC_DEFGRADQUH)) { in increase_qu_low_ldac()
465 *p_nbits_spec = encode_audio_block_a_ldac(p_ab, nqus); in increase_qu_low_ldac()
477 int *p_nbits_spec) in increase_qu_low_0_ldac() argument
494 if (*p_nbits_spec < nbits_avail) { in increase_qu_low_0_ldac()
505 else if (*p_nbits_spec > nbits_avail) { in increase_qu_low_0_ldac()
521 *p_nbits_spec = encode_audio_block_a_ldac(p_ab, nqus); in increase_qu_low_0_ldac()
522 a_checked[grad_qu_l] = *p_nbits_spec; in increase_qu_low_0_ldac()
526 while ((*p_nbits_spec > nbits_avail) && (grad_qu_l > 0)) { in increase_qu_low_0_ldac()
528 *p_nbits_spec = encode_audio_block_a_ldac(p_ab, nqus); in increase_qu_low_0_ldac()
540 int *p_nbits_spec, in adjust_remain_bits_ldac() argument
629 nbits_fix = *p_nbits_spec - nbits_fix; in adjust_remain_bits_ldac()
661 *p_nbits_spec = nbits_spec; in adjust_remain_bits_ldac()