Lines Matching refs:grad_qu_l

34     int grad_qu_l = p_ab->grad_qu_l;  in encode_audio_block_a_ldac()  local
43 tmp = grad_qu_h - grad_qu_l; in encode_audio_block_a_ldac()
58 for (iqu = grad_qu_l; iqu < grad_qu_h; iqu++) { in encode_audio_block_a_ldac()
64 for (iqu = grad_qu_l; iqu < grad_qu_h; iqu++) { in encode_audio_block_a_ldac()
418 int grad_qu_l = p_ab->grad_qu_l; in increase_qu_low_ldac() local
421 int step = grad_qu_h - grad_qu_l; in increase_qu_low_ldac()
426 while ((grad_qu_l > 0) && (grad_qu_l < LDAC_DEFGRADQUH)) { in increase_qu_low_ldac()
432 grad_qu_l += step; in increase_qu_low_ldac()
433 if (grad_qu_l > LDAC_DEFGRADQUH) { in increase_qu_low_ldac()
434 grad_qu_l -= step; in increase_qu_low_ldac()
437 else if (a_checked[grad_qu_l]) { in increase_qu_low_ldac()
438 grad_qu_l -= step; in increase_qu_low_ldac()
443 grad_qu_l -= step; in increase_qu_low_ldac()
444 if (grad_qu_l < 0) { in increase_qu_low_ldac()
445 grad_qu_l += step; in increase_qu_low_ldac()
448 else if (a_checked[grad_qu_l]) { in increase_qu_low_ldac()
449 grad_qu_l += step; in increase_qu_low_ldac()
457 p_ab->grad_qu_l = grad_qu_l; 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()
464 p_ab->grad_qu_l = --grad_qu_l; in increase_qu_low_ldac()
481 int grad_qu_l = p_ab->grad_qu_l; in increase_qu_low_0_ldac() local
484 int step = grad_qu_h - grad_qu_l; in increase_qu_low_0_ldac()
489 while ((grad_qu_l > 0) && (grad_qu_l < grad_qu_h)) { in increase_qu_low_0_ldac()
495 grad_qu_l += step; in increase_qu_low_0_ldac()
496 if (grad_qu_l >= grad_qu_h) { in increase_qu_low_0_ldac()
497 grad_qu_l -= step; in increase_qu_low_0_ldac()
500 else if (a_checked[grad_qu_l]) { in increase_qu_low_0_ldac()
501 grad_qu_l -= step; in increase_qu_low_0_ldac()
506 grad_qu_l -= step; in increase_qu_low_0_ldac()
507 if (grad_qu_l < 0) { in increase_qu_low_0_ldac()
508 grad_qu_l += step; in increase_qu_low_0_ldac()
511 else if (a_checked[grad_qu_l]) { in increase_qu_low_0_ldac()
512 grad_qu_l += step; in increase_qu_low_0_ldac()
520 p_ab->grad_qu_l = grad_qu_l; 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()
527 p_ab->grad_qu_l = --grad_qu_l; in increase_qu_low_0_ldac()