/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 | audio_hw.c | 199 out->config.channels, FIR_SINGLE_FILTER, num_taps, in out_set_eq() 200 out_get_buffer_size(&out->stream.common) / out->config.channels / sizeof(int16_t), in out_set_eq() 269 return audio_channel_out_mask_from_count(out->config.channels); in out_get_channels() 508 *mic_count = in->config.channels; in get_input_characteristics() 543 ALOGV("in_get_channels: %d", in->config.channels); in in_get_channels() 544 return audio_channel_in_mask_from_count(in->config.channels); in in_get_channels() 861 out->config.channels = CHANNEL_STEREO; in adev_open_output_stream() 877 out->config.channels, out->config.rate, out->config.format, devices); in adev_open_output_stream() 1057 in->config.channels = NUM_AEC_REFERENCE_CHANNELS; in adev_open_input_stream() 1062 in->config.channels = CHANNEL_STEREO; in adev_open_input_stream() [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,
|
/device/linaro/dragonboard/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 | audio_hw.c | 172 out->config.channels, FIR_SINGLE_FILTER, num_taps, in out_set_eq() 173 out_get_buffer_size(&out->stream.common) / out->config.channels / sizeof(int16_t), in out_set_eq() 243 return audio_channel_out_mask_from_count(out->config.channels); in out_get_channels() 523 ALOGV("in_get_channels: %d", in->config.channels); in in_get_channels() 524 return audio_channel_in_mask_from_count(in->config.channels); in in_get_channels() 847 out->config.channels = CHANNEL_STEREO; in adev_open_output_stream() 863 out->config.channels, out->config.rate, out->config.format, devices); in adev_open_output_stream() 1042 in->config.channels = CHANNEL_STEREO; in adev_open_input_stream() 1062 in->config.channels, in->config.rate, in->config.format, source); in adev_open_input_stream()
|
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,
|
/device/google/cuttlefish/host/frontend/webrtc/ |
D | audio_handler.cpp | 34 .channels = 2, 42 .channels = 2, 132 int sample_rate, int channels, int frames) in CvdAudioFrameBuffer() argument 136 channels_(channels), in CvdAudioFrameBuffer() 143 int channels() const override { return channels_; } in channels() function in cuttlefish::__anonb5de83a60111::CvdAudioFrameBuffer 335 auto channels = cmd.channels(); in SetStreamParameters() local 337 channels < stream_info.channels_min || in SetStreamParameters() 338 channels > stream_info.channels_max) { in SetStreamParameters() 346 stream_descs_[cmd.stream_id()].channels = channels; in SetStreamParameters() 347 auto len10ms = (channels * (sample_rate / 100) * bits_per_sample) / 8; in SetStreamParameters() [all …]
|
/device/google/cuttlefish/host/libs/audio_connector/ |
D | commands.cpp | 70 auto channels = std::min(VIRTIO_SND_CHMAP_MAX_SIZE, reply[i].channels); in Reply() local 71 info_reply()[i].channels = channels; in Reply() 72 for (int j = 0; j < channels; ++j) { in Reply() 117 uint32_t features, uint8_t channels, uint8_t format, uint8_t rate) in StreamSetParamsCommand() argument 123 channels_(channels), in StreamSetParamsCommand()
|
D | commands.h | 107 uint8_t channels, uint8_t format, uint8_t rate); 112 uint8_t channels() const { return channels_; } in channels() function
|
D | shm_layout.h | 182 uint8_t channels; member 208 uint8_t channels; member
|
/device/generic/goldfish/wifi/wifi_hal/ |
D | interface.cpp | 172 wifi_channel* channels, in getValidChannels() argument 174 if (channels == nullptr || numChannels == nullptr || maxChannels < 0) { in getValidChannels() 181 memcpy(channels, k2p4Channels, *numChannels); in getValidChannels()
|
D | wifi_hal.cpp | 232 wifi_channel *channels, in wifi_get_valid_channels() argument 241 channels, in wifi_get_valid_channels()
|
/device/linaro/poplar/wifi/wifi_hal/ |
D | gscan.cpp | 247 wifi_channel *channels; member in GetChannelListCommand 254 : WifiCommand("GetChannelListCommand", iface, 0), channels(channel_buf), in GetChannelListCommand() 257 memset(channels, 0, sizeof(wifi_channel) * max_channels); in GetChannelListCommand() 309 memcpy(channels, it.get_data(), sizeof(int) * num_channels_to_copy); in handleResponse() 321 int band, int max_channels, wifi_channel *channels, int *num_channels) in wifi_get_valid_channels() argument 534 nlattr *channels = request.attr_start(GSCAN_ATTRIBUTE_BUCKET_CHANNELS); in createSetupRequest() local 537 result = request.put_u32(j, mParams->buckets[i].channels[j].channel); in createSetupRequest() 538 ALOGV(" %u", mParams->buckets[i].channels[j].channel); in createSetupRequest() 544 request.attr_end(channels); in createSetupRequest()
|
/device/linaro/hikey/audio/ |
D | audio_hw.c | 128 param[3] = audio_device->dsp_device.pb_format.channels; in pcm_setup() 151 audio_device->dsp_device.pb_format.channels = 2; in xa_device_init() 305 return audio_channel_out_mask_from_count(out->config.channels); in out_get_channels() 644 out->config.channels = CHANNEL_STEREO; in adev_open_output_stream() 660 out->config.channels, out->config.rate, out->config.format); in adev_open_output_stream()
|
/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()
|
/device/generic/car/emulator/audio/driver/ |
D | audio_hw.c | 209 .channels = 2, 233 .channels = 2, 445 out->pcm_config.channels, in out_write_worker() 994 in->pcm_config.channels, in in_read_worker() 1111 in->pcm_config.channels == 2) { in in_read() 1237 out->pcm_config.channels * in adev_open_output_stream() 1484 in->pcm_config.channels * in adev_open_input_stream()
|
/device/linaro/poplar/audio/ |
D | audio_hw.c | 144 return audio_channel_out_mask_from_count(out->config.channels); in out_get_channels() 461 out->config.channels = CHANNEL_STEREO; in adev_open_output_stream() 477 out->config.channels, out->config.rate, out->config.format); in adev_open_output_stream()
|
/device/google/zuma/powerstats/ |
D | ZumaCommonDataProviders.cpp | 62 std::vector<Channel> channels; in PlaceholderEnergyConsumer() local 63 mPowerStats->getEnergyMeterInfo(&channels); in PlaceholderEnergyConsumer() 65 for (const auto &c : channels) { in PlaceholderEnergyConsumer()
|
/device/google/gs201/powerstats/ |
D | Gs201CommonDataProviders.cpp | 60 std::vector<Channel> channels; in PlaceholderEnergyConsumer() local 61 mPowerStats->getEnergyMeterInfo(&channels); in PlaceholderEnergyConsumer() 63 for (const auto &c : channels) { in PlaceholderEnergyConsumer()
|
/device/google/zumapro/powerstats/ |
D | ZumaProCommonDataProviders.cpp | 62 std::vector<Channel> channels; in PlaceholderEnergyConsumer() local 63 mPowerStats->getEnergyMeterInfo(&channels); in PlaceholderEnergyConsumer() 65 for (const auto &c : channels) { in PlaceholderEnergyConsumer()
|
/device/google/cuttlefish/host/frontend/webrtc/libdevice/ |
D | audio_frame_buffer.h | 30 virtual int channels() const = 0;
|
/device/google/sunfish-kernel/sm7150/original-kernel-headers/linux/ |
D | msm_audio_sbc.h | 28 uint32_t channels; member
|
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/ |
D | msm_audio_sbc.h | 28 uint32_t channels; member
|
/device/google/coral-kernel/sm8150/kernel-headers/linux/ |
D | msm_audio_sbc.h | 36 uint32_t channels; member
|
/device/google/redbull-kernel/sm7250/original-kernel-headers/linux/ |
D | msm_audio_sbc.h | 28 uint32_t channels; member
|