Searched refs:p_decoder (Results 1 – 3 of 3) sorted by relevance
/device/linaro/hikey/hifi/xaf/host-apf/utest/ |
D | xaf-dec-mix-test.c | 60 static int vorbis_setup(void *p_decoder) in vorbis_setup() argument 68 XF_CHK_API(xaf_comp_set_config(p_decoder, 1, ¶m[0])); in vorbis_setup() 89 static int mixer_setup(void *p_decoder, xaf_format_t *p_format) in mixer_setup() argument 100 XF_CHK_API(xaf_comp_set_config(p_decoder, 3, ¶m[0])); in mixer_setup() 196 void *p_decoder[MAX_INP_STRMS]; in main() local 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() 313 XF_CHK_API((dec_setup[i])(p_decoder[i])); 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() [all …]
|
D | xaf-dec-test.c | 65 static int vorbis_setup(void *p_decoder) in vorbis_setup() argument 73 XF_CHK_API(xaf_comp_set_config(p_decoder, 1, ¶m[0])); in vorbis_setup() 183 void *p_decoder; in main() local 270 XF_CHK_API(xaf_comp_create(p_adev, &p_decoder, dec_id, 2, 1, &dec_inbuf[0], XAF_DECODER)); in main() 271 XF_CHK_API(dec_setup(p_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() 324 pthread_create(&dec_thread, 0, (void *(*)(void *))&comp_process_entry, p_decoder); in main() [all …]
|
/device/linaro/hikey/audio/ |
D | audio_hw.c | 73 void *p_decoder; member 171 …XF_CHK_API(xaf_comp_create(audio_device->dsp_device.p_adev, &audio_device->dsp_device.p_decoder, a… in xa_device_init() 172 XF_CHK_API(audio_device->dsp_device.dec_setup(audio_device->dsp_device.p_decoder,audio_device)); 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() 184 void *p_comp=adev->dsp_device.p_decoder; in xa_device_run() 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() 199 …XF_CHK_API(xaf_comp_process(NULL, adev->dsp_device.p_decoder, adev->dsp_device.dec_inbuf[0], adev-… in xa_device_run() 214 …XF_CHK_API(xaf_comp_process(NULL, adev->dsp_device.p_decoder, (void *)adev->dsp_device.comp_info.b… in xa_device_run() 227 …XF_CHK_API(xaf_comp_get_status(NULL, audio_device->dsp_device.p_decoder, &comp_status, &audio_devi… in xa_device_close() [all …]
|