Lines Matching refs:grad_os_l
36 int grad_os_l = p_ab->grad_os_l; in encode_audio_block_a_ldac() local
46 p_grad[iqu] = -grad_os_l; in encode_audio_block_a_ldac()
55 tmp = grad_os_h - grad_os_l; in encode_audio_block_a_ldac()
227 int grad_os_l = p_ab->grad_os_l; in decrease_offset_low_ldac() local
229 int step = limit - grad_os_l; in decrease_offset_low_ldac()
235 while (grad_os_l < limit) { in decrease_offset_low_ldac()
241 grad_os_l -= step; in decrease_offset_low_ldac()
242 if (grad_os_l < 0) { in decrease_offset_low_ldac()
243 grad_os_l += step; in decrease_offset_low_ldac()
246 else if (a_checked[grad_os_l]) { in decrease_offset_low_ldac()
247 grad_os_l += step; in decrease_offset_low_ldac()
252 grad_os_l += step; in decrease_offset_low_ldac()
253 if (grad_os_l > LDAC_MAXGRADOS) { in decrease_offset_low_ldac()
254 grad_os_l -= step; in decrease_offset_low_ldac()
257 else if (a_checked[grad_os_l]) { in decrease_offset_low_ldac()
258 grad_os_l -= step; in decrease_offset_low_ldac()
266 p_ab->grad_os_l = grad_os_l; 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()
273 p_ab->grad_os_l = ++grad_os_l; in decrease_offset_low_ldac()
355 int grad_os_l = p_ab->grad_os_l; in increase_offset_low_ldac() local
357 int step = grad_os_l; in increase_offset_low_ldac()
362 while (grad_os_l > 0) { in increase_offset_low_ldac()
368 grad_os_l -= step; in increase_offset_low_ldac()
369 if (grad_os_l < 0) { in increase_offset_low_ldac()
370 grad_os_l += step; in increase_offset_low_ldac()
373 else if (a_checked[grad_os_l]) { in increase_offset_low_ldac()
374 grad_os_l += step; in increase_offset_low_ldac()
379 grad_os_l += step; in increase_offset_low_ldac()
380 if (grad_os_l > LDAC_MAXGRADOS) { in increase_offset_low_ldac()
381 grad_os_l -= step; in increase_offset_low_ldac()
384 else if (a_checked[grad_os_l]) { in increase_offset_low_ldac()
385 grad_os_l -= step; in increase_offset_low_ldac()
393 p_ab->grad_os_l = grad_os_l; 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()
400 p_ab->grad_os_l = ++grad_os_l; in increase_offset_low_ldac()