Lines Matching refs:idwl2
32 int idsp, idwl1, idwl2; in encode_audio_block_a_ldac() local
84 idwl2 = 0; in encode_audio_block_a_ldac()
86 idwl2 = idwl1 - LDAC_MAXIDWL1; in encode_audio_block_a_ldac()
87 if (idwl2 > LDAC_MAXIDWL2) { in encode_audio_block_a_ldac()
88 idwl2 = LDAC_MAXIDWL2; in encode_audio_block_a_ldac()
93 p_idwl2[iqu] = idwl2; 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()
107 idwl2 = 0; in encode_audio_block_a_ldac()
109 idwl2 = idwl1 - LDAC_MAXIDWL1; in encode_audio_block_a_ldac()
110 if (idwl2 > LDAC_MAXIDWL2) { in encode_audio_block_a_ldac()
111 idwl2 = LDAC_MAXIDWL2; in encode_audio_block_a_ldac()
116 p_idwl2[iqu] = idwl2; 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()
130 idwl2 = 0; in encode_audio_block_a_ldac()
132 idwl2 = idwl1 - LDAC_MAXIDWL1; in encode_audio_block_a_ldac()
133 if (idwl2 > LDAC_MAXIDWL2) { in encode_audio_block_a_ldac()
134 idwl2 = LDAC_MAXIDWL2; in encode_audio_block_a_ldac()
139 p_idwl2[iqu] = idwl2; 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()
153 idwl2 = 0; in encode_audio_block_a_ldac()
155 idwl2 = idwl1 - LDAC_MAXIDWL1; in encode_audio_block_a_ldac()
156 if (idwl2 > LDAC_MAXIDWL2) { in encode_audio_block_a_ldac()
157 idwl2 = LDAC_MAXIDWL2; in encode_audio_block_a_ldac()
162 p_idwl2[iqu] = idwl2; 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()
184 int idsp, idwl1, idwl2; in encode_audio_block_b_ldac() local
199 idwl2 = 0; in encode_audio_block_b_ldac()
201 idwl2 = idwl1 - LDAC_MAXIDWL1; in encode_audio_block_b_ldac()
202 if (idwl2 > LDAC_MAXIDWL2) { in encode_audio_block_b_ldac()
203 idwl2 = LDAC_MAXIDWL2; in encode_audio_block_b_ldac()
208 p_idwl2[iqu] = idwl2; 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()
547 int idsp, idwl1, idwl2, tmp; in adjust_remain_bits_ldac() local
569 idwl2 = p_idwl2[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()
582 idwl2 = p_idwl2[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()
598 idwl2 = p_idwl2[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()
614 idwl2 = p_idwl2[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()