Home
last modified time | relevance | path

Searched refs:p_sfinfo (Results 1 – 10 of 10) sorted by relevance

/external/libldac/src/
Dencode_ldac.c23 SFINFO *p_sfinfo) in alloc_encode_ldac() argument
26 CFG *p_cfg = &p_sfinfo->cfg; in alloc_encode_ldac()
33 p_sfinfo->ap_ac[ich] = (AC *)calloc_ldac(p_sfinfo, 1, sizeof(AC)); in alloc_encode_ldac()
34 if (p_sfinfo->ap_ac[ich] != (AC *)NULL) { in alloc_encode_ldac()
35 p_sfinfo->ap_ac[ich]->p_acsub = (ACSUB *)calloc_ldac(p_sfinfo, 1, sizeof(ACSUB)); in alloc_encode_ldac()
36 if (p_sfinfo->ap_ac[ich]->p_acsub == (ACSUB *)NULL) { in alloc_encode_ldac()
52 p_sfinfo->p_ab = (AB *)calloc_ldac(p_sfinfo, nbks, sizeof(AB)); in alloc_encode_ldac()
53 if (p_sfinfo->p_ab == (AB *)NULL) { in alloc_encode_ldac()
64 SFINFO *p_sfinfo) in init_encode_ldac() argument
67 CFG *p_cfg = &p_sfinfo->cfg; in init_encode_ldac()
[all …]
Dmemory_ldac.c38 SFINFO *p_sfinfo, in calloc_ldac() argument
44 if (p_sfinfo->p_mempos != (char *)NULL) { in calloc_ldac()
45 p_tmp = p_sfinfo->p_mempos; in calloc_ldac()
46 p_sfinfo->p_mempos += nmemb * align_ldac(size); in calloc_ldac()
Dsetpcm_ldac.c111 SFINFO *p_sfinfo, in set_input_pcm_ldac() argument
117 int nchs = p_sfinfo->cfg.ch; in set_input_pcm_ldac()
123 p_time = p_sfinfo->ap_ac[ich]->p_acsub->a_time; in set_input_pcm_ldac()
132 p_time = p_sfinfo->ap_ac[ich]->p_acsub->a_time; in set_input_pcm_ldac()
141 p_time = p_sfinfo->ap_ac[ich]->p_acsub->a_time; in set_input_pcm_ldac()
150 p_time = p_sfinfo->ap_ac[ich]->p_acsub->a_time; in set_input_pcm_ldac()
Dldaclib_api.c635 SFINFO *p_sfinfo = &hData->sfinfo; local
639 ldaclib_get_nlnn(p_sfinfo->cfg.smplrate_id, &hData->nlnn);
643 result = init_encode_ldac(p_sfinfo);
675 SFINFO *p_sfinfo = &hData->sfinfo; local
686 frame_length = p_sfinfo->cfg.frame_length;
689 set_input_pcm_ldac(p_sfinfo, ap_pcm, sample_format, hData->nlnn);
691 proc_mdct_ldac(p_sfinfo, hData->nlnn);
693 p_sfinfo->cfg.frame_status = ana_frame_status_ldac(p_sfinfo, hData->nlnn);
695 error_code = encode_ldac(p_sfinfo, hData->nbands, hData->grad_mode,
700 error_code2 = pack_null_data_frame_ldac(p_sfinfo, (STREAM *)p_stream, &loc, p_nbytes_used);
[all …]
Dsetpcm_fixp_ldac.c89 SFINFO *p_sfinfo, in set_input_pcm_ldac() argument
95 int nchs = p_sfinfo->cfg.ch; in set_input_pcm_ldac()
101 p_time = p_sfinfo->ap_ac[ich]->p_acsub->a_time; in set_input_pcm_ldac()
110 p_time = p_sfinfo->ap_ac[ich]->p_acsub->a_time; in set_input_pcm_ldac()
119 p_time = p_sfinfo->ap_ac[ich]->p_acsub->a_time; in set_input_pcm_ldac()
Dmdct_ldac.c101 SFINFO *p_sfinfo, in proc_mdct_ldac() argument
106 int nchs = p_sfinfo->cfg.ch; in proc_mdct_ldac()
109 p_ac = p_sfinfo->ap_ac[ich]; in proc_mdct_ldac()
Dpack_ldac.c423 SFINFO *p_sfinfo, in pack_raw_data_frame_ldac() argument
428 CFG *p_cfg = &p_sfinfo->cfg; in pack_raw_data_frame_ldac()
429 AB *p_ab = p_sfinfo->p_ab; in pack_raw_data_frame_ldac()
462 SFINFO *p_sfinfo, in pack_null_data_frame_ldac() argument
467 CFG *p_cfg = &p_sfinfo->cfg; in pack_null_data_frame_ldac()
468 AB *p_ab = p_sfinfo->p_ab; in pack_null_data_frame_ldac()
Dsigana_ldac.c125 SFINFO *p_sfinfo, in ana_frame_status_ldac() argument
130 int nchs = p_sfinfo->cfg.ch; in ana_frame_status_ldac()
138 p_ac = p_sfinfo->ap_ac[ich]; in ana_frame_status_ldac()
Dmdct_fixp_ldac.c133 SFINFO *p_sfinfo, in proc_mdct_ldac() argument
138 int nchs = p_sfinfo->cfg.ch; in proc_mdct_ldac()
141 p_ac = p_sfinfo->ap_ac[ich]; in proc_mdct_ldac()
Dsigana_fixp_ldac.c309 SFINFO *p_sfinfo, in ana_frame_status_ldac() argument
314 int nchs = p_sfinfo->cfg.ch; in ana_frame_status_ldac()
324 p_ac = p_sfinfo->ap_ac[ich]; in ana_frame_status_ldac()