Home
last modified time | relevance | path

Searched refs:aec (Results 1 – 8 of 8) sorted by relevance

/device/amlogic/yukawa/hal/audio/
Daudio_aec.c97 void get_reference_audio_in_place(struct aec_t *aec, size_t frames) { in get_reference_audio_in_place() argument
98 if (aec->num_reference_channels == aec->spk_num_channels) { in get_reference_audio_in_place()
101 } else if (aec->num_reference_channels != 1) { in get_reference_audio_in_place()
106 int16_t *src_Nch = &aec->spk_buf_playback_format[0]; in get_reference_audio_in_place()
107 int16_t *dst_1ch = &aec->spk_buf_playback_format[0]; in get_reference_audio_in_place()
108 int32_t num_channels = (int32_t)aec->spk_num_channels; in get_reference_audio_in_place()
112 for (ch = 0; ch < aec->spk_num_channels; ch++) { in get_reference_audio_in_place()
116 src_Nch += aec->spk_num_channels; in get_reference_audio_in_place()
120 void print_queue_status_to_log(struct aec_t *aec, bool write_side) { in print_queue_status_to_log() argument
121 ssize_t q1 = fifo_available_to_read(aec->spk_fifo); in print_queue_status_to_log()
[all …]
Daudio_aec.h72 void release_aec(struct aec_t* aec);
78 int init_aec_reference_config (struct aec_t *aec, struct alsa_stream_out *out);
82 void destroy_aec_reference_config (struct aec_t *aec);
88 int init_aec_mic_config(struct aec_t* aec, struct alsa_stream_in* in);
92 void destroy_aec_mic_config (struct aec_t *aec);
96 void aec_set_spk_running (struct aec_t *aec, bool state);
99 bool aec_get_spk_running(struct aec_t* aec);
105 int write_to_reference_fifo(struct aec_t* aec, void* buffer, struct aec_info* info);
115 int get_reference_samples(struct aec_t* aec, void* buffer, struct aec_info* info);
124 int process_aec(struct aec_t* aec, void* buffer, struct aec_info* info);
Daudio_hw.c247 aec_set_spk_running(adev->aec, false); in do_output_standby()
343 aec_set_spk_running(adev->aec, true); in out_write()
360 int aec_ret = write_to_reference_fifo(adev->aec, (void *)buffer, &info); in out_write()
633 if (!aec_get_spk_running(adev->aec)) { in in_read()
646 int ref_ret = get_reference_samples(adev->aec, buffer, &info); in in_read()
723 int aec_ret = process_aec(adev->aec, buffer, &info); in in_read()
864 int aec_ret = init_aec_reference_config(ladev->aec, out); in adev_open_output_stream()
879 destroy_aec_reference_config(adev->aec); in adev_close_output_stream()
1055 int aec_ret = init_aec_mic_config(ladev->aec, in); in adev_open_input_stream()
1082 destroy_aec_mic_config(adev->aec); in adev_close_input_stream()
[all …]
Daudio_hw.h82 struct aec_t *aec; member
/device/google/crosshatch/sdm845/original-kernel-headers/media/
Dmsm_camera.h807 struct stats_buff aec; member
/device/google/crosshatch/sdm845/kernel-headers/media/
Dmsm_camera.h567 struct stats_buff aec; member
/device/google/bonito/sdm710/original-kernel-headers/media/
Dmsm_camera.h807 struct stats_buff aec; member
/device/google/bonito/sdm710/kernel-headers/media/
Dmsm_camera.h567 struct stats_buff aec; member