Home
last modified time | relevance | path

Searched refs:input_channels (Results 1 – 3 of 3) sorted by relevance

/aosp12/frameworks/av/media/libaudioprocessing/tests/fuzzer/
H A Dlibaudioprocessing_resampler_fuzzer.cpp83 int input_channels = 0; in LLVMFuzzerTestOneInput() local
101 index += parseValue(data, index, &input_channels, sizeof(int)); in LLVMFuzzerTestOneInput()
111 if (input_channels < 1 || in LLVMFuzzerTestOneInput()
112 input_channels > (quality < AudioResampler::DYN_LOW_QUALITY ? 2 : 8)) { in LLVMFuzzerTestOneInput()
119 size_t input_frame_size = single_channel_size * input_channels; in LLVMFuzzerTestOneInput()
132 AudioResampler::create(format, input_channels, output_freq, quality)); in LLVMFuzzerTestOneInput()
138 int output_channels = input_channels > 2 ? input_channels : 2; in LLVMFuzzerTestOneInput()
/aosp12/hardware/libhardware/modules/audio_remote_submix/
H A Daudio_hw.cpp331 if (input_channels != output_channels) { in audio_config_compare()
333 input_channels, output_channels); in audio_config_compare()
1173 const uint32_t input_channels = audio_channel_count_from_in_mask( in audio_config_compare() local
1177 if (input_channels != output_channels) { in audio_config_compare()
1179 "input channels", output_channels, input_channels); in audio_config_compare()
1183 ALOG_ASSERT((input_channels == 1 && output_channels == 2) || in audio_config_compare()
1184 (input_channels == 2 && output_channels == 1)); in audio_config_compare()
1224 if (output_channels == 1 && input_channels == 2) { in audio_config_compare()
1241 if (input_channels != output_channels && frames_read > 0) { in audio_config_compare()
1243 if (output_channels == 2 && input_channels == 1) { in audio_config_compare()
[all …]
/aosp12/packages/modules/NeuralNetworks/driver/sample/
H A DSampleDriverFloatXNNPACK.cpp767 const uint32_t input_channels = filter.dimensions[3]; in VisitConv2DNode() local
777 /*groups=*/1, static_cast<size_t>(input_channels), in VisitConv2DNode()