/device/linaro/hikey/hifi/xaf/host-apf/proxy/ |
D | xaf-api.c | 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 71 xf_proxy_t *p_proxy = &p_adev->proxy; in xaf_comp_post_init_config() 85 p_adev->pxf_mem_malloc_fxn, p_adev->pxf_mem_free_fxn)); in xaf_comp_post_init_config() 116 xaf_adev_t *p_adev; in xaf_adev_open() local 132 p_adev = (xaf_adev_t *) (((unsigned long)pTmp + (XAF_4BYTE_ALIGN-1))& ~(XAF_4BYTE_ALIGN-1)); in xaf_adev_open() 133 p_adev->adev_ptr = pTmp; in xaf_adev_open() 134 *pp_adev = (void *)p_adev; in xaf_adev_open() 136 p_proxy = &p_adev->proxy; in xaf_adev_open() 139 p_adev->pxf_mem_malloc_fxn = mem_malloc; in xaf_adev_open() 140 p_adev->pxf_mem_free_fxn = mem_free; in xaf_adev_open() [all …]
|
/device/linaro/hikey/hifi/xaf/host-apf/utest/ |
D | xaf-dec-mix-test.c | 195 void *p_adev = NULL; in main() local 303 …XF_CHK_API(xaf_adev_open(&p_adev, audio_frmwk_buf_size, audio_comp_buf_size, mem_malloc, mem_free)… in main() 306 XF_CHK_API(xaf_comp_create(p_adev, &p_mixer, "mixer", 0, 1, NULL, XAF_MIXER)); in main() 312 …XF_CHK_API(xaf_comp_create(p_adev, &p_decoder[i], dec_id[i], 2, 0, &dec_inbuf[i][0], XAF_DECODER)); in main() 316 XF_CHK_API(xaf_comp_process(p_adev, p_decoder[i], NULL, 0, XAF_START_FLAG)); in main() 324 …XF_CHK_API(xaf_comp_process(p_adev, p_decoder[i], dec_inbuf[i][j], read_length, XAF_INPUT_READY_FL… in main() 332 XF_CHK_API(xaf_comp_get_status(p_adev, p_decoder[i], &dec_status, &comp_info)); in main() 344 … XF_CHK_API(xaf_comp_process(p_adev, p_decoder[i], p_buf, read_length, XAF_INPUT_READY_FLAG)); in main() 359 XF_CHK_API(xaf_comp_process(p_adev, p_mixer, NULL, 0, XAF_START_FLAG)); in main() 360 XF_CHK_API(xaf_comp_get_status(p_adev, p_mixer, &dec_status, &comp_info)); in main() [all …]
|
D | xaf-dec-test.c | 182 void *p_adev = NULL; in main() local 267 …XF_CHK_API(xaf_adev_open(&p_adev, audio_frmwk_buf_size, audio_comp_buf_size, mem_malloc, mem_free)… in main() 270 XF_CHK_API(xaf_comp_create(p_adev, &p_decoder, dec_id, 2, 1, &dec_inbuf[0], XAF_DECODER)); in main() 274 XF_CHK_API(xaf_comp_process(p_adev, p_decoder, NULL, 0, XAF_START_FLAG)); in main() 282 … XF_CHK_API(xaf_comp_process(p_adev, p_decoder, dec_inbuf[i], read_length, XAF_INPUT_READY_FLAG)); in main() 290 XF_CHK_API(xaf_comp_get_status(p_adev, p_decoder, &dec_status, &comp_info)); in main() 312 XF_CHK_API(xaf_comp_process(p_adev, p_decoder, p_buf, read_length, XAF_INPUT_READY_FLAG)); in main() 335 XF_CHK_API(xaf_adev_close(p_adev, 0 /*unused*/)); in main()
|
/device/linaro/hikey/hifi/xaf/host-apf/include/ |
D | xaf-api.h | 98 XAF_ERR_CODE xaf_comp_create(void* p_adev, void **p_comp, xf_id_t comp_id, u32 ninbuf, u32 noutbuf,… 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 …
|
D | xaf-structs.h | 60 void *p_adev; member
|
/device/linaro/hikey/audio/ |
D | audio_hw.c | 72 void *p_adev; member 150 audio_device->dsp_device.p_adev = NULL; in xa_device_init() 169 …XF_CHK_API(xaf_adev_open(&audio_device->dsp_device.p_adev, audio_frmwk_buf_size, audio_comp_buf_si… in xa_device_init() 171 …XF_CHK_API(xaf_comp_create(audio_device->dsp_device.p_adev, &audio_device->dsp_device.p_decoder, a… in xa_device_init() 175 …XF_CHK_API(xaf_comp_process(audio_device->dsp_device.p_adev, audio_device->dsp_device.p_decoder, N… in xa_device_init() 190 …XF_CHK_API(xaf_comp_process(adev->dsp_device.p_adev, adev->dsp_device.p_decoder, adev->dsp_device.… in xa_device_run() 191 …XF_CHK_API(xaf_comp_get_status(adev->dsp_device.p_adev, adev->dsp_device.p_decoder, &adev->dsp_dev… in xa_device_run() 242 XF_CHK_API(xaf_adev_close(audio_device->dsp_device.p_adev, 0 /*unused*/)); in xa_device_close() 439 if (adev->dsp_device.p_adev != NULL) { in out_write()
|