Lines Matching refs:iqu

29     int ich, iqu;  in encode_audio_block_a_ldac()  local
45 for (iqu = 0; iqu < grad_qu_h; iqu++) { in encode_audio_block_a_ldac()
46 p_grad[iqu] = -grad_os_l; in encode_audio_block_a_ldac()
48 for (iqu = grad_qu_h; iqu < hqu; iqu++) { in encode_audio_block_a_ldac()
49 p_grad[iqu] = -grad_os_h; in encode_audio_block_a_ldac()
58 for (iqu = grad_qu_l; iqu < grad_qu_h; iqu++) { in encode_audio_block_a_ldac()
59 p_grad[iqu] -= ((*p_t++ * tmp) >> 8) + 1; in encode_audio_block_a_ldac()
64 for (iqu = grad_qu_l; iqu < grad_qu_h; iqu++) { in encode_audio_block_a_ldac()
65 p_grad[iqu] += ((*p_t++ * tmp) >> 8) + 1; in encode_audio_block_a_ldac()
79 for (iqu = 0; iqu < hqu; iqu++) { in encode_audio_block_a_ldac()
80 idwl1 = p_idsf[iqu] + p_grad[iqu]; in encode_audio_block_a_ldac()
92 p_idwl1[iqu] = idwl1; in encode_audio_block_a_ldac()
93 p_idwl2[iqu] = idwl2; in encode_audio_block_a_ldac()
94 idsp = ga_idsp_ldac[iqu]; in encode_audio_block_a_ldac()
95 nbits += gaa_ndim_wls_ldac[idsp][idwl1] + ga_wl_ldac[idwl2] * ga_nsps_ldac[iqu]; in encode_audio_block_a_ldac()
99 for (iqu = 0; iqu < hqu; iqu++) { in encode_audio_block_a_ldac()
100 idwl1 = p_idsf[iqu] + p_grad[iqu] + p_addwl[iqu]; in encode_audio_block_a_ldac()
115 p_idwl1[iqu] = idwl1; in encode_audio_block_a_ldac()
116 p_idwl2[iqu] = idwl2; in encode_audio_block_a_ldac()
117 idsp = ga_idsp_ldac[iqu]; in encode_audio_block_a_ldac()
118 nbits += gaa_ndim_wls_ldac[idsp][idwl1] + ga_wl_ldac[idwl2] * ga_nsps_ldac[iqu]; in encode_audio_block_a_ldac()
122 for (iqu = 0; iqu < hqu; iqu++) { in encode_audio_block_a_ldac()
123 idwl1 = p_idsf[iqu] + p_grad[iqu] + p_addwl[iqu]; in encode_audio_block_a_ldac()
138 p_idwl1[iqu] = idwl1; in encode_audio_block_a_ldac()
139 p_idwl2[iqu] = idwl2; in encode_audio_block_a_ldac()
140 idsp = ga_idsp_ldac[iqu]; in encode_audio_block_a_ldac()
141 nbits += gaa_ndim_wls_ldac[idsp][idwl1] + ga_wl_ldac[idwl2] * ga_nsps_ldac[iqu]; in encode_audio_block_a_ldac()
145 for (iqu = 0; iqu < hqu; iqu++) { in encode_audio_block_a_ldac()
146 idwl1 = p_idsf[iqu] + p_grad[iqu] + p_addwl[iqu]; in encode_audio_block_a_ldac()
161 p_idwl1[iqu] = idwl1; in encode_audio_block_a_ldac()
162 p_idwl2[iqu] = idwl2; in encode_audio_block_a_ldac()
163 idsp = ga_idsp_ldac[iqu]; in encode_audio_block_a_ldac()
164 nbits += gaa_ndim_wls_ldac[idsp][idwl1] + ga_wl_ldac[idwl2] * ga_nsps_ldac[iqu]; in encode_audio_block_a_ldac()
180 int ich, iqu; in encode_audio_block_b_ldac() local
194 for (iqu = 0; iqu < nqus; iqu++) { in encode_audio_block_b_ldac()
195 idwl1 = p_tmp[iqu]; in encode_audio_block_b_ldac()
196 if (iqu < nadjqus) { in encode_audio_block_b_ldac()
207 p_idwl1[iqu] = idwl1; in encode_audio_block_b_ldac()
208 p_idwl2[iqu] = idwl2; in encode_audio_block_b_ldac()
209 idsp = ga_idsp_ldac[iqu]; in encode_audio_block_b_ldac()
210 nbits += gaa_ndim_wls_ldac[idsp][idwl1] + ga_wl_ldac[idwl2] * ga_nsps_ldac[iqu]; in encode_audio_block_b_ldac()
543 int ich, iqu; in adjust_remain_bits_ldac() local
567 for (iqu = 0; iqu < nqus; iqu++) { in adjust_remain_bits_ldac()
568 idwl1 = p_idwl1[iqu]; in adjust_remain_bits_ldac()
569 idwl2 = p_idwl2[iqu]; in adjust_remain_bits_ldac()
570 idsp = ga_idsp_ldac[iqu]; in adjust_remain_bits_ldac()
571 nbits_fix += gaa_ndim_wls_ldac[idsp][idwl1] + ga_wl_ldac[idwl2] * ga_nsps_ldac[iqu]; in adjust_remain_bits_ldac()
572 tmp = p_idsf[iqu] + p_grad[iqu]; in adjust_remain_bits_ldac()
576 p_tmp[iqu] = tmp; in adjust_remain_bits_ldac()
580 for (iqu = 0; iqu < nqus; iqu++) { in adjust_remain_bits_ldac()
581 idwl1 = p_idwl1[iqu]; in adjust_remain_bits_ldac()
582 idwl2 = p_idwl2[iqu]; in adjust_remain_bits_ldac()
583 idsp = ga_idsp_ldac[iqu]; in adjust_remain_bits_ldac()
584 nbits_fix += gaa_ndim_wls_ldac[idsp][idwl1] + ga_wl_ldac[idwl2] * ga_nsps_ldac[iqu]; in adjust_remain_bits_ldac()
585 tmp = p_idsf[iqu] + p_grad[iqu] + p_addwl[iqu]; in adjust_remain_bits_ldac()
592 p_tmp[iqu] = tmp; in adjust_remain_bits_ldac()
596 for (iqu = 0; iqu < nqus; iqu++) { in adjust_remain_bits_ldac()
597 idwl1 = p_idwl1[iqu]; in adjust_remain_bits_ldac()
598 idwl2 = p_idwl2[iqu]; in adjust_remain_bits_ldac()
599 idsp = ga_idsp_ldac[iqu]; in adjust_remain_bits_ldac()
600 nbits_fix += gaa_ndim_wls_ldac[idsp][idwl1] + ga_wl_ldac[idwl2] * ga_nsps_ldac[iqu]; in adjust_remain_bits_ldac()
601 tmp = p_idsf[iqu] + p_grad[iqu] + p_addwl[iqu]; in adjust_remain_bits_ldac()
608 p_tmp[iqu] = tmp; in adjust_remain_bits_ldac()
612 for (iqu = 0; iqu < nqus; iqu++) { in adjust_remain_bits_ldac()
613 idwl1 = p_idwl1[iqu]; in adjust_remain_bits_ldac()
614 idwl2 = p_idwl2[iqu]; in adjust_remain_bits_ldac()
615 idsp = ga_idsp_ldac[iqu]; in adjust_remain_bits_ldac()
616 nbits_fix += gaa_ndim_wls_ldac[idsp][idwl1] + ga_wl_ldac[idwl2] * ga_nsps_ldac[iqu]; in adjust_remain_bits_ldac()
617 tmp = p_idsf[iqu] + p_grad[iqu] + p_addwl[iqu]; in adjust_remain_bits_ldac()
624 p_tmp[iqu] = tmp; in adjust_remain_bits_ldac()