Home
last modified time | relevance | path

Searched refs:p_buf (Results 1 – 7 of 7) sorted by relevance

/device/linaro/hikey/hifi/xaf/host-apf/utest/
Dxaf-dec-test.c94 static int consume_output(void *p_buf, int buf_length, void *p_output) in consume_output() argument
96 XAF_CHK_PTR(p_buf); in consume_output()
101 fwrite(p_buf, 1, buf_length, fp); in consume_output()
103 if (xa_playback_buf(pb_handle, p_buf, buf_length)) { in consume_output()
112 static int read_input(void *p_buf, int buf_length, int *read_length, void *p_input) in read_input() argument
114 XAF_CHK_PTR(p_buf); in read_input()
120 *read_length = fread(p_buf, 1, buf_length, fp); in read_input()
151 void *p_buf = (void *)comp_info.buf; in comp_process_entry() local
154 XF_CHK_API(read_input(p_buf, size, &read_length, p_input)); in comp_process_entry()
167 void *p_buf = (void *)comp_info.buf; in comp_process_entry() local
[all …]
Dxaf-dec-mix-test.c105 static int consume_output(void *p_buf, int buf_length, void *p_output) in consume_output() argument
107 XAF_CHK_PTR(p_buf); in consume_output()
112 fwrite(p_buf, 1, buf_length, fp); in consume_output()
114 if (xa_playback_buf(pb_handle, p_buf, buf_length)) { in consume_output()
123 static int read_input(void *p_buf, int buf_length, int *read_length, void *p_input) in read_input() argument
125 XAF_CHK_PTR(p_buf); in read_input()
131 *read_length = fread(p_buf, 1, buf_length, fp); in read_input()
165 void *p_buf = (void *) comp_info.buf; in comp_process_entry() local
168 XF_CHK_API(read_input(p_buf, size, &read_length, p_input)); in comp_process_entry()
181 void *p_buf = (void *) comp_info.buf; in comp_process_entry() local
[all …]
/device/linaro/hikey/hifi/xaf/host-apf/proxy/
Dxaf-api.c415 s32 *p_buf = (s32 *) p_info; in xaf_comp_get_status() local
416 p_buf[0] = (s32) rmsg.buffer; in xaf_comp_get_status()
417 p_buf[1] = (s32) rmsg.length; in xaf_comp_get_status()
437 s32 *p_buf = (s32 *) p_info; in xaf_comp_get_status() local
438 p_buf[0] = (s32) rmsg.buffer; in xaf_comp_get_status()
439 p_buf[1] = (s32) rmsg.length; in xaf_comp_get_status()
461 XAF_ERR_CODE xaf_comp_process(void *adev_ptr, void *comp_ptr, void *p_buf, u32 length, xaf_comp_fla… in xaf_comp_process() argument
509 xf_buffer_t *p_buf; in xaf_comp_process() local
514 p_buf = xf_buffer_get(p_comp->outpool); in xaf_comp_process()
515 p_data = xf_buffer_data(p_buf); in xaf_comp_process()
[all …]
/device/linaro/hikey/hifi/xaf/host-apf/include/
Dxaf-api.h102 XAF_ERR_CODE xaf_comp_process(void *p_adev, void *p_comp, void *p_buf, u32 length, xaf_comp_flag fl…
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c38 mm_jpeg_output_t *p_buf, in jpeg_encode_cb() argument
56 if (status == JPEG_JOB_STATUS_DONE && p_buf != NULL) { in jpeg_encode_cb()
57 mm_app_dump_jpeg_frame(p_buf->buf_vaddr, p_buf->buf_filled_len, "jpeg", "jpg", jobId); in jpeg_encode_cb()
/device/linaro/hikey/audio/
Daudio_hw.c208 void *p_buf = (void *)adev->dsp_device.comp_info.buf; in xa_device_run() local
210 ret = pcm_mmap_write(out->pcm, p_buf, size); in xa_device_run()
/device/google/marlin/camera/QCamera2/HAL/
DQCamera2HWI.h501 mm_jpeg_output_t *p_buf,