Home
last modified time | relevance | path

Searched refs:grad_mode (Results 1 – 8 of 8) sorted by relevance

/external/libldac/src/
Dbitalloc_ldac.c33 int grad_mode = p_ab->grad_mode; in encode_audio_block_a_ldac() local
78 if (grad_mode == LDAC_MODE_0) { in encode_audio_block_a_ldac()
98 else if (grad_mode == LDAC_MODE_1) { in encode_audio_block_a_ldac()
121 else if (grad_mode == LDAC_MODE_2) { in encode_audio_block_a_ldac()
144 else if (grad_mode == LDAC_MODE_3) { in encode_audio_block_a_ldac()
552 int grad_mode = p_ab->grad_mode; in adjust_remain_bits_ldac() local
566 if (grad_mode == LDAC_MODE_0) { in adjust_remain_bits_ldac()
579 else if (grad_mode == LDAC_MODE_1) { in adjust_remain_bits_ldac()
595 else if (grad_mode == LDAC_MODE_2) { in adjust_remain_bits_ldac()
611 else if (grad_mode == LDAC_MODE_3) { in adjust_remain_bits_ldac()
[all …]
Dldaclib_api.c566 int grad_mode, argument
579 if ((grad_mode < LDAC_MODE_0) || (LDAC_MODE_3 < grad_mode)) {
584 if (grad_mode == LDAC_MODE_0) {
613 hData->grad_mode = grad_mode;
616 if (grad_mode == LDAC_MODE_0) {
695 error_code = encode_ldac(p_sfinfo, hData->nbands, hData->grad_mode,
Dencode_ldac.c207 int grad_mode, in encode_ldac() argument
221 p_ab->grad_mode = grad_mode; in encode_ldac()
Dldac.h212 int grad_mode; member
245 int grad_mode; member
DldacBT_internal.c305 int nbasebands, grad_mode, grad_qu_l, grad_qu_h, grad_ofst_l, grad_ofst_h, abc_flag; local
342 &grad_mode, &grad_qu_l, &grad_qu_h, &grad_ofst_l, &grad_ofst_h, &abc_flag);
347 result = ldaclib_set_encode_info( hLdacBT->hLDAC, nbasebands, grad_mode,
Dbitalloc_sub_ldac.c40 if (p_ab->grad_mode == LDAC_MODE_0) { in encode_gradient_ldac()
295 if (p_ac->p_ab->grad_mode != LDAC_MODE_0) { in calc_add_word_length_ldac()
DldacBT_api.c134 int nbasebands, grad_mode, grad_qu_l, grad_qu_h, grad_ofst_l, grad_ofst_h, abc_flag; in ldacBT_init_handle_encode() local
236 result = ldaclib_get_encode_setting( pCfg->frmlen_1ch, sfid, &nbasebands, &grad_mode, in ldacBT_init_handle_encode()
255 result = ldaclib_set_encode_info(hLdacBT->hLDAC, nbasebands, grad_mode, in ldacBT_init_handle_encode()
Dpack_ldac.c135 pack_store_ldac(p_ab->grad_mode, LDAC_GRADMODEBITS, p_stream, p_loc); in pack_gradient_ldac()
137 if (p_ab->grad_mode == LDAC_MODE_0) { in pack_gradient_ldac()