Lines Matching refs:grad_os_h
37 int grad_os_h = p_ab->grad_os_h; in encode_audio_block_a_ldac() local
49 p_grad[iqu] = -grad_os_h; in encode_audio_block_a_ldac()
55 tmp = grad_os_h - grad_os_l; in encode_audio_block_a_ldac()
291 int grad_os_h = p_ab->grad_os_h; in decrease_offset_high_ldac() local
293 int step = LDAC_MAXGRADOS - grad_os_h; in decrease_offset_high_ldac()
299 while (grad_os_h < LDAC_MAXGRADOS) { in decrease_offset_high_ldac()
305 grad_os_h -= step; in decrease_offset_high_ldac()
306 if (grad_os_h < 0) { in decrease_offset_high_ldac()
307 grad_os_h += step; in decrease_offset_high_ldac()
310 else if (a_checked[grad_os_h]) { in decrease_offset_high_ldac()
311 grad_os_h += step; in decrease_offset_high_ldac()
316 grad_os_h += step; in decrease_offset_high_ldac()
317 if (grad_os_h > LDAC_MAXGRADOS) { in decrease_offset_high_ldac()
318 grad_os_h -= step; in decrease_offset_high_ldac()
321 else if (a_checked[grad_os_h]) { in decrease_offset_high_ldac()
322 grad_os_h -= step; in decrease_offset_high_ldac()
330 p_ab->grad_os_h = grad_os_h; 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()
337 p_ab->grad_os_h = ++grad_os_h; in decrease_offset_high_ldac()