Home
last modified time | relevance | path

Searched refs:idwl1 (Results 1 – 2 of 2) sorted by relevance

/external/libldac/src/
Dbitalloc_ldac.c32 int idsp, idwl1, idwl2; in encode_audio_block_a_ldac() local
80 idwl1 = p_idsf[iqu] + p_grad[iqu]; in encode_audio_block_a_ldac()
81 if (idwl1 < LDAC_MINIDWL1) { in encode_audio_block_a_ldac()
82 idwl1 = LDAC_MINIDWL1; in encode_audio_block_a_ldac()
85 if (idwl1 > LDAC_MAXIDWL1) { in encode_audio_block_a_ldac()
86 idwl2 = idwl1 - LDAC_MAXIDWL1; in encode_audio_block_a_ldac()
90 idwl1 = LDAC_MAXIDWL1; in encode_audio_block_a_ldac()
92 p_idwl1[iqu] = idwl1; 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()
100 idwl1 = p_idsf[iqu] + p_grad[iqu] + p_addwl[iqu]; in encode_audio_block_a_ldac()
[all …]
Dpack_ldac.c293 int nsps, idwl1, wl, val; in pack_spectrum_ldac() local
299 idwl1 = p_ac->a_idwl1[iqu]; in pack_spectrum_ldac()
300 wl = ga_wl_ldac[idwl1]; in pack_spectrum_ldac()
302 if (idwl1 == 1) { in pack_spectrum_ldac()