Searched refs:XA_API (Results 1 – 4 of 4) sorted by relevance
/device/linaro/hikey/hifi/xaf/hifi-dpf/audio/ |
D | xa-class-base.c | 61 XA_API(base, XA_API_CMD_GET_API_SIZE, 0, &n); in xa_base_preinit() 67 XA_API(base, XA_API_CMD_INIT, XA_CMD_TYPE_INIT_API_PRE_CONFIG_PARAMS, NULL); in xa_base_preinit() 70 if (XA_API(base, XA_API_CMD_GET_MEMTABS_SIZE, 0, &n), n != 0) in xa_base_preinit() 76 XA_API(base, XA_API_CMD_SET_MEMTABS_PTR, 0, base->mem_tabs.addr); in xa_base_preinit() 90 XA_API(base, XA_API_CMD_INIT, XA_CMD_TYPE_INIT_API_POST_CONFIG_PARAMS, NULL); in xa_base_postinit() 93 XA_API(base, XA_API_CMD_GET_N_MEMTABS, 0, &n); in xa_base_postinit() 106 XA_API(base, XA_API_CMD_GET_MEM_INFO_TYPE, i, &type); in xa_base_postinit() 109 XA_API(base, XA_API_CMD_GET_MEM_INFO_SIZE, i, &size); in xa_base_postinit() 112 XA_API(base, XA_API_CMD_GET_MEM_INFO_ALIGNMENT, i, &align); in xa_base_postinit() 125 XA_API(base, XA_API_CMD_SET_MEM_PTR, i, base->scratch); in xa_base_postinit() [all …]
|
D | xa-class-audio-codec.c | 115 XA_API(base, XA_API_CMD_GET_CONFIG_PARAM, XA_CODEC_CONFIG_PARAM_SAMPLE_RATE, &msg->sample_rate); in xa_codec_prepare_runtime() 116 XA_API(base, XA_API_CMD_GET_CONFIG_PARAM, XA_CODEC_CONFIG_PARAM_CHANNELS, &msg->channels); in xa_codec_prepare_runtime() 117 XA_API(base, XA_API_CMD_GET_CONFIG_PARAM, XA_CODEC_CONFIG_PARAM_PCM_WIDTH, &msg->pcm_width); in xa_codec_prepare_runtime() 118 XA_API(base, XA_API_CMD_GET_MEM_INFO_SIZE, codec->in_idx, &msg->input_length); in xa_codec_prepare_runtime() 119 XA_API(base, XA_API_CMD_GET_MEM_INFO_SIZE, codec->out_idx, &msg->output_length); in xa_codec_prepare_runtime() 179 XA_API(base, XA_API_CMD_EXECUTE, XA_CMD_TYPE_DO_RUNTIME_INIT, NULL); in xa_codec_empty_this_buffer() 356 XA_API(base, XA_API_CMD_EXECUTE, XA_CMD_TYPE_DO_RUNTIME_INIT, NULL); in xa_codec_flush() 428 (size ? XA_API(base, XA_API_CMD_SET_MEM_PTR, idx, codec->input.buffer) : 0); in xa_codec_memtab() 470 XA_API(base, XA_API_CMD_SET_MEM_PTR, codec->out_idx, output); in xa_codec_preprocess() 491 XA_API(base, XA_API_CMD_SET_MEM_PTR, codec->in_idx, input); in xa_codec_preprocess() [all …]
|
D | xa-class-mixer.c | 184 XA_API(base, XA_API_CMD_GET_CONFIG_PARAM, XA_MIXER_CONFIG_PARAM_SAMPLE_RATE, &msg->sample_rate); in xa_mixer_prepare_runtime() 185 XA_API(base, XA_API_CMD_GET_CONFIG_PARAM, XA_MIXER_CONFIG_PARAM_CHANNELS, &msg->channels); in xa_mixer_prepare_runtime() 186 XA_API(base, XA_API_CMD_GET_CONFIG_PARAM, XA_MIXER_CONFIG_PARAM_PCM_WIDTH, &msg->pcm_width); in xa_mixer_prepare_runtime() 187 XA_API(base, XA_API_CMD_GET_MEM_INFO_SIZE, 0, &msg->input_length); in xa_mixer_prepare_runtime() 188 XA_API(base, XA_API_CMD_GET_MEM_INFO_SIZE, XA_MIXER_MAX_TRACK_NUMBER, &msg->output_length); in xa_mixer_prepare_runtime() 189 XA_API(base, XA_API_CMD_GET_CONFIG_PARAM, XA_MIXER_CONFIG_PARAM_FRAME_SIZE, &frame_size); in xa_mixer_prepare_runtime() 515 XA_API(base, XA_API_CMD_SET_MEM_PTR, idx, track->input.buffer); in xa_mixer_memtab() 531 … XA_API(base, XA_API_CMD_GET_CONFIG_PARAM, XA_MIXER_CONFIG_PARAM_FRAME_SIZE, &mixer->frame_size); in xa_mixer_memtab() 568 XA_API(base, XA_API_CMD_SET_MEM_PTR, XA_MIXER_MAX_TRACK_NUMBER, output); in xa_mixer_preprocess() 615 XA_API(base, XA_API_CMD_SET_INPUT_BYTES, i, &filled); in xa_mixer_preprocess() [all …]
|
D | xa-class-base.h | 167 #define XA_API(codec, cmd, idx, pv) \ macro
|