Home
last modified time | relevance | path

Searched refs:channel_index (Results 1 – 14 of 14) sorted by relevance

/external/speex/libspeexdsp/
Dresample.c333 static int resampler_basic_direct_single(SpeexResamplerState *st, spx_uint32_t channel_index, const… in resampler_basic_direct_single() argument
337 int last_sample = st->last_sample[channel_index]; in resampler_basic_direct_single()
338 spx_uint32_t samp_frac_num = st->samp_frac_num[channel_index]; in resampler_basic_direct_single()
383 st->last_sample[channel_index] = last_sample; in resampler_basic_direct_single()
384 st->samp_frac_num[channel_index] = samp_frac_num; in resampler_basic_direct_single()
391 static int resampler_basic_direct_double(SpeexResamplerState *st, spx_uint32_t channel_index, const… in resampler_basic_direct_double() argument
395 int last_sample = st->last_sample[channel_index]; in resampler_basic_direct_double()
396 spx_uint32_t samp_frac_num = st->samp_frac_num[channel_index]; in resampler_basic_direct_double()
434 st->last_sample[channel_index] = last_sample; in resampler_basic_direct_double()
435 st->samp_frac_num[channel_index] = samp_frac_num; in resampler_basic_direct_double()
[all …]
/external/webrtc/modules/audio_processing/aec3/
Dalignment_mixer_unittest.cc77 int channel_index) { in TEST() argument
79 channel_index * kChannelOffset); in TEST()
129 const auto channel_value = [](int frame_index, int channel_index) { in TEST() argument
130 return static_cast<float>(frame_index + channel_index); in TEST()
160 const auto channel_value = [](int frame_index, int channel_index) { in TEST() argument
161 return static_cast<float>(frame_index + channel_index); in TEST()
/external/libiio/src/tests/
Diio_attr.c379 int device_index = 0, channel_index = 0, attr_index = 0; in main() local
485 channel_index = optind + 1; in main()
525 if (channel_index && !argv[channel_index]) in main()
533 (channel_index && (!strcmp(".", argv[channel_index]) || in main()
534 strchr(argv[channel_index], '*'))) || in main()
625 if (channel_index && in main()
627 argv[channel_index], ignore_case) && in main()
629 !str_match( name,argv[channel_index], ignore_case)))) in main()
632 if ((!scan_only && !channel_index) || in main()
672 if (!channel_index) in main()
[all …]
/external/tensorflow/tensorflow/python/ops/
Dnn_ops.py68 def _get_sequence(value, n, channel_index, name): argument
101 if channel_index == 1:
1104 channel_index = num_batch_dims + num_spatial_dims
1106 channel_index = num_batch_dims
1109 dilations = _get_sequence(dilations, num_spatial_dims, channel_index,
1113 dilations = _get_sequence(dilations, num_spatial_dims, channel_index,
1117 strides = _get_sequence(strides, num_spatial_dims, channel_index, "strides")
1151 if channel_index == 1:
1871 channel_index = 2
1875 channel_index = 1
[all …]
/external/autotest/client/cros/audio/
Daudio_helper.py365 input_audio, channel_index, channels=2, bits=16, rate=48000): argument
375 if channel_index <= 0 or channel_index > channels:
376 raise ValueError('incorrect channel_indexi: %d' % channel_index)
384 input_audio, '-', channel_index,
Dsox_utils.py129 input, output, channel_index, channels=2, bits=16, rate=48000): argument
144 args += ['remix', str(channel_index)]
/external/speex/include/speex/
Dspeex_resampler.h166 spx_uint32_t channel_index,
183 spx_uint32_t channel_index,
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util.h114 int32_t channel_index = 0, std::vector<int> traversal_order = {},
129 channel_index(channel_index), in type()
144 int32_t channel_index; member
407 const int channel_index = params->quantized_dimension; in PerChannelSymmetricQuantizeAndPopulate() local
414 const int32_t num_channel = shape[channel_index]; in PerChannelSymmetricQuantizeAndPopulate()
423 input_data.data(), scales_inv, shape, channel_index, &quantized_output); in PerChannelSymmetricQuantizeAndPopulate()
782 QuantizationDetails_NONE, 0, t.channel_index); in AddTensorPerChannelQuant()
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantization_utils_test.cc195 const int channel_index = 0; in TEST_F() local
206 SymmetricPerChannelQuantization(&tensor, input.data(), channel_index, in TEST_F()
227 const int32_t channel_index = 0; in TEST_F() local
237 FillPerChannelMinMax(input.data(), tensor.shape, channel_index, in TEST_F()
248 SymmetricPerChannelQuantization(&tensor, input.data(), channel_index, in TEST_F()
271 const int channel_index = 0; in TEST_F() local
278 channel_index, &output_data); in TEST_F()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.cc302 int channel_index = slice_index % dim_size; in ExtractMinMaxFromAttr() local
303 mins[channel_index] = std::min(mins[channel_index], ele_value); in ExtractMinMaxFromAttr()
304 maxs[channel_index] = std::max(maxs[channel_index], ele_value); in ExtractMinMaxFromAttr()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes.cc4082 const int channel_index = in ConvertBiasAddInt8WithoutCalibration() local
4086 if (channel_index != 0) { in ConvertBiasAddInt8WithoutCalibration()
4092 permutation.order[0] = channel_index; in ConvertBiasAddInt8WithoutCalibration()
4093 permutation.order[channel_index] = 0; in ConvertBiasAddInt8WithoutCalibration()
4101 if (channel_index != 0 || original_dims.nbDims != 3) { in ConvertBiasAddInt8WithoutCalibration()
4121 if (channel_index != 0) { in ConvertBiasAddInt8WithoutCalibration()
4143 if (channel_index != 0 || original_dims.nbDims != 3) { in ConvertBiasAddInt8WithoutCalibration()
4152 if (channel_index != 0) { in ConvertBiasAddInt8WithoutCalibration()
4155 reshape_dims.d[channel_index] = original_dims.d[0]; in ConvertBiasAddInt8WithoutCalibration()
4156 reshape_dims.d[0] = original_dims.d[channel_index]; in ConvertBiasAddInt8WithoutCalibration()
[all …]
/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator.cc2132 int x_index, y_index, channel_index; in OpDimensionsFromInputs() local
2135 channel_index = 1; in OpDimensionsFromInputs()
2141 channel_index = 3; in OpDimensionsFromInputs()
2146 int64 iz = image_shape.dim(channel_index).size(); in OpDimensionsFromInputs()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_soa.c1733 LLVMValueRef channel_index = NULL; in emit_store_tcs_output() local
1763 channel_index = lp_build_const_int32(gallivm, chan_index); in emit_store_tcs_output()
1773 channel_index, in emit_store_tcs_output()
/external/mesa3d/src/imgui/
Dimgui.h1865 IMGUI_API void ChannelsSetCurrent(int channel_index);