/device/amlogic/yukawa/hal/audio/ |
D | fir_filter.c | 34 fir_filter_t* fir_init(uint32_t channels, fir_filter_mode_t mode, uint32_t filter_length, in fir_init() argument 36 if ((channels == 0) || (filter_length == 0) || (coeffs == NULL)) { in fir_init() 47 fir->channels = channels; in fir_init() 54 coeff_bytes = fir->filter_length * fir->channels * sizeof(int16_t); in fir_init() 64 fir->buffer_size = (input_length + fir->filter_length) * fir->channels; in fir_init() 104 int start_offset = (fir->filter_length - 1) * fir->channels; in fir_process_interleaved() 105 memcpy(&fir->state[start_offset], input, samples * fir->channels * sizeof(int16_t)); in fir_process_interleaved() 107 bool use_2nd_set_coeffs = (fir->channels > 1) && (fir->mode == FIR_PER_CHANNEL_FILTER); in fir_process_interleaved() 111 for (int ch = 0; ch < fir->channels; ch += 2) { in fir_process_interleaved() 120 for (int k = 0; k < fir->filter_length; k++, offset -= fir->channels) { in fir_process_interleaved() [all …]
|
D | fir_filter.h | 26 uint32_t channels; member 33 fir_filter_t* fir_init(uint32_t channels, fir_filter_mode_t mode, uint32_t filter_length,
|
D | audio_hw.c | 149 out->config.channels, FIR_SINGLE_FILTER, num_taps, in out_set_eq() 150 out_get_buffer_size(&out->stream.common) / out->config.channels / sizeof(int16_t), in out_set_eq() 219 return audio_channel_out_mask_from_count(out->config.channels); in out_get_channels() 498 ALOGV("in_get_channels: %d", in->config.channels); in in_get_channels() 499 return audio_channel_in_mask_from_count(in->config.channels); in in_get_channels() 823 out->config.channels = CHANNEL_STEREO; in adev_open_output_stream() 839 out->config.channels, out->config.rate, out->config.format, devices); in adev_open_output_stream() 1018 in->config.channels = CHANNEL_STEREO; in adev_open_input_stream() 1035 in->config.channels, in->config.rate, in->config.format, source); in adev_open_input_stream()
|
/device/linaro/hikey/hifi/xaf/host-apf/playback/ |
D | xa_playback.c | 74 void play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels, 201 static int sample_is_playable(unsigned int card, unsigned int device, unsigned int channels, in sample_is_playable() argument 215 can_play &= check_param(params, PCM_PARAM_CHANNELS, channels, "Sample", " channels"); in sample_is_playable() 227 unsigned int channels, in xa_playback_open() argument 237 config.channels = channels; in xa_playback_open() 249 if (!sample_is_playable(card, device, channels, rate, bits, period_size, period_count)) { in xa_playback_open() 288 void play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels, 306 config.channels = channels; 318 if (!sample_is_playable(card, device, channels, rate, bits, period_size, period_count)) { 338 printf("Playing sample: %u ch, %u hz, %u bit\n", channels, rate, bits);
|
D | xa_playback.h | 31 unsigned int channels,
|
/device/linaro/hikey/hifi/xaf/host-apf/utest/ |
D | xaf-dec-mix-test.c | 80 param[3] = pb_format.channels; in pcm_setup() 96 param[3] = p_format->channels; in mixer_setup() 240 pb_format.channels = 2; in main() 369 pb_handle = xa_playback_open(card, device, pb_format.channels, pb_format.sample_rate, in main()
|
D | xaf-dec-test.c | 85 param[3] = pb_format.channels; in pcm_setup() 208 pb_format.channels = 2; in main() 294 pb_handle = xa_playback_open(card, device, pb_format.channels, pb_format.sample_rate, in main()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/plugins/cadence/mixer/ |
D | xa-mixer.c | 60 u32 channels; member 117 d->pcm_width = 16, d->channels = 2, d->frame_size = 512; in xa_mixer_preinit() 259 … d->buffer_size = d->channels * d->frame_size * (d->pcm_width == 16 ? sizeof(s16) : sizeof(s32)); in xa_mixer_init() 322 d->channels = (u32)i_value; in xa_mixer_set_config_param() 365 *(WORD32 *)pv_value = d->channels; in xa_mixer_get_config_param()
|
/device/generic/goldfish/wifi/wifi_hal/ |
D | interface.cpp | 154 wifi_channel* channels, in getValidChannels() argument 156 if (channels == nullptr || numChannels == nullptr || maxChannels < 0) { in getValidChannels() 163 memcpy(channels, k2p4Channels, *numChannels); in getValidChannels()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/ |
D | xa_profiler.h | 53 unsigned long channels; member 120 x.channels = 2;\
|
/device/google/crosshatch/sdm845/original-kernel-headers/linux/ |
D | msm_audio_sbc.h | 28 uint32_t channels; member
|
D | msm_audio_aac.h | 70 uint32_t channels; member
|
/device/google/bonito/sdm710/original-kernel-headers/linux/ |
D | msm_audio_sbc.h | 28 uint32_t channels; member
|
D | msm_audio_aac.h | 70 uint32_t channels; member
|
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/ |
D | msm_audio_sbc.h | 28 uint32_t channels; member
|
D | msm_audio_aac.h | 70 uint32_t channels; member
|
/device/google/crosshatch/sdm845/kernel-headers/linux/ |
D | msm_audio_sbc.h | 36 uint32_t channels; member
|
D | msm_audio_aac.h | 64 uint32_t channels; member
|
/device/google/bonito/sdm710/kernel-headers/linux/ |
D | msm_audio_sbc.h | 28 uint32_t channels; member
|
D | msm_audio_aac.h | 70 uint32_t channels; member
|
/device/google/coral-kernel/sm8150/kernel-headers/linux/ |
D | msm_audio_sbc.h | 36 uint32_t channels; member
|
D | msm_audio_aac.h | 64 uint32_t channels; member
|
/device/google/cuttlefish/tools/play_audio/ |
D | sdl_wrapper.cpp | 61 wav_spec.channels = num_channels; in OpenAudioDevice()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/ |
D | xf-shmem.c | 271 prof.channels = sm->channels; in xf_shmem_process_output()
|
/device/linaro/poplar/wifi/wpa_supplicant_8_lib/ |
D | driver_cmd_wext.c | 186 static char *wpa_driver_get_country_code(int channels) in wpa_driver_get_country_code() argument 190 if (channels == WEXT_NUMBER_SCAN_CHANNELS_ETSI) in wpa_driver_get_country_code() 192 else if( channels == WEXT_NUMBER_SCAN_CHANNELS_MKK1) in wpa_driver_get_country_code()
|