Home
last modified time | relevance | path

Searched refs:read_length (Results 1 – 3 of 3) sorted by relevance

/device/linaro/hikey/hifi/xaf/host-apf/utest/
Dxaf-dec-test.c112 static int read_input(void *p_buf, int buf_length, int *read_length, void *p_input) in read_input() argument
115 XAF_CHK_PTR(read_length); in read_input()
120 *read_length = fread(p_buf, 1, buf_length, fp); in read_input()
130 int input_over, read_length; in comp_process_entry() local
154 XF_CHK_API(read_input(p_buf, size, &read_length, p_input)); in comp_process_entry()
156 if (read_length) 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()
190 int read_length; in main() local
279 XF_CHK_API(read_input(dec_inbuf[i], buf_length, &read_length, p_input)); in main()
281 if (read_length) in main()
[all …]
Dxaf-dec-mix-test.c123 static int read_input(void *p_buf, int buf_length, int *read_length, void *p_input) in read_input() argument
126 XAF_CHK_PTR(read_length); in read_input()
131 *read_length = fread(p_buf, 1, buf_length, fp); in read_input()
143 int input_over, read_length; in comp_process_entry() local
168 XF_CHK_API(read_input(p_buf, size, &read_length, p_input)); in comp_process_entry()
170 if (read_length) 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()
218 int read_length; in main() local
321 XF_CHK_API(read_input(dec_inbuf[i][j], buf_length, &read_length, p_input[i])); in main()
323 if (read_length) in main()
[all …]
/device/linaro/hikey/audio/
Daudio_hw.c80 int read_length; member
187 adev->dsp_device.read_length=bytes; in xa_device_run()
190 …>dsp_device.p_decoder, adev->dsp_device.dec_inbuf[0], adev->dsp_device.read_length, XAF_INPUT_READ… in xa_device_run()
199 …>dsp_device.p_decoder, adev->dsp_device.dec_inbuf[0], adev->dsp_device.read_length, XAF_INPUT_READ… in xa_device_run()