Home
last modified time | relevance | path

Searched refs:p_comp (Results 1 – 5 of 5) sorted by relevance

/device/linaro/hikey/hifi/xaf/host-apf/proxy/
Dxaf-api.c58 static XAF_ERR_CODE xaf_comp_add(xaf_comp_t **pp_comp_chain, xaf_comp_t *p_comp) in xaf_comp_add() argument
61 XAF_CHK_PTR(p_comp); in xaf_comp_add()
63 p_comp->next = *pp_comp_chain; in xaf_comp_add()
64 *pp_comp_chain = p_comp; in xaf_comp_add()
69 static XAF_ERR_CODE xaf_comp_post_init_config(xaf_adev_t *p_adev, xaf_comp_t *p_comp, void *p_msg) in xaf_comp_post_init_config() argument
74 p_comp->out_format.sample_rate = smsg->sample_rate; in xaf_comp_post_init_config()
75 p_comp->out_format.channels = smsg->channels; in xaf_comp_post_init_config()
76 p_comp->out_format.pcm_width = smsg->pcm_width; in xaf_comp_post_init_config()
77 p_comp->out_format.input_length = smsg->input_length; in xaf_comp_post_init_config()
78 p_comp->out_format.output_length = smsg->output_length; in xaf_comp_post_init_config()
[all …]
/device/linaro/hikey/hifi/xaf/host-apf/include/
Dxaf-api.h98 XAF_ERR_CODE xaf_comp_create(void* p_adev, void **p_comp, xf_id_t comp_id, u32 ninbuf, u32 noutbuf,…
99 XAF_ERR_CODE xaf_comp_delete(void* p_comp);
100 XAF_ERR_CODE xaf_comp_set_config(void *p_comp, s32 num_param, s32 *p_param);
101 XAF_ERR_CODE xaf_comp_get_config(void *p_comp, s32 num_param, s32 *p_param);
102 XAF_ERR_CODE xaf_comp_process(void *p_adev, void *p_comp, void *p_buf, u32 length, xaf_comp_flag fl…
109 XAF_ERR_CODE xaf_comp_get_status(void *p_adev, void *p_comp, xaf_comp_status *p_status, xaf_info_t …
/device/linaro/hikey/hifi/xaf/host-apf/utest/
Dxaf-dec-test.c128 void *p_comp; in comp_process_entry() local
137 p_comp = arg; in comp_process_entry()
140 XF_CHK_API(xaf_comp_process(NULL, p_comp, NULL, 0, XAF_EXEC_FLAG)); in comp_process_entry()
145 XF_CHK_API(xaf_comp_get_status(NULL, p_comp, &comp_status, &comp_info)); in comp_process_entry()
157 …XF_CHK_API(xaf_comp_process(NULL, p_comp, (void *)comp_info.buf, read_length, XAF_INPUT_READY_FLAG… in comp_process_entry()
160 XF_CHK_API(xaf_comp_process(NULL, p_comp, NULL, 0, XAF_INPUT_OVER_FLAG)); in comp_process_entry()
171 …XF_CHK_API(xaf_comp_process(NULL, p_comp, (void *)comp_info.buf, comp_info.length, XAF_NEED_OUTPUT… in comp_process_entry()
194 int (*dec_setup)(void *p_comp); in main()
Dxaf-dec-mix-test.c139 void *p_comp; in comp_process_entry() local
150 p_comp = (*arg_arr)[0]; in comp_process_entry()
155 XF_CHK_API(xaf_comp_process(NULL, p_comp, NULL, 0, XAF_EXEC_FLAG)); in comp_process_entry()
159 XF_CHK_API(xaf_comp_get_status(NULL, p_comp, &comp_status, &comp_info)); in comp_process_entry()
171 …XF_CHK_API(xaf_comp_process(NULL, p_comp, (void *)comp_info.buf, read_length, XAF_INPUT_READY_FLAG… in comp_process_entry()
174 XF_CHK_API(xaf_comp_process(NULL, p_comp, NULL, 0, XAF_INPUT_OVER_FLAG)); in comp_process_entry()
185 …XF_CHK_API(xaf_comp_process(NULL, p_comp, (void *)comp_info.buf, comp_info.length, XAF_NEED_OUTPUT… in comp_process_entry()
207 int (*dec_setup[MAX_INP_STRMS])(void *p_comp); in main()
/device/linaro/hikey/audio/
Daudio_hw.c85 int (*dec_setup)(void *p_comp, struct alsa_audio_device *audio_device);
184 void *p_comp=adev->dsp_device.p_decoder; in xa_device_run() local
196 XF_CHK_API(xaf_comp_process(NULL, p_comp, NULL, 0, XAF_EXEC_FLAG)); in xa_device_run()
201 … XF_CHK_API(xaf_comp_get_status(NULL, p_comp, &comp_status, &adev->dsp_device.comp_info)); in xa_device_run()