Home
last modified time | relevance | path

Searched refs:channel_index (Results 1 – 10 of 10) 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/webrtc/voice_engine/test/cmd_test/
Dvoe_cmd_test.cc315 int channel_index = 0; in RunTest() local
735 if (channel_index < kMaxNumChannels) { in RunTest()
736 res = base1->StartReceive(channels[channel_index]); in RunTest()
738 res = base1->StartPlayout(channels[channel_index]); in RunTest()
740 res = base1->StartSend(channels[channel_index]); in RunTest()
742 res = file->StartPlayingFileAsMicrophone(channels[channel_index], in RunTest()
747 channel_index++; in RunTest()
748 printf("Using %d additional channels\n", channel_index); in RunTest()
753 if (channel_index > 0) { in RunTest()
754 channel_index--; in RunTest()
[all …]
/external/tensorflow/tensorflow/python/ops/
Dnn_ops.py56 def _get_sequence(value, n, channel_index, name): argument
74 if channel_index == 1:
951 channel_index = n + 1
953 channel_index = 1 if data_format.startswith("NC") else n + 1
955 strides = _get_sequence(strides, n, channel_index, "strides")
956 dilations = _get_sequence(dilations, n, channel_index, "dilations")
972 if channel_index == 1:
1603 channel_index = 2
1607 channel_index = 1
1610 strides = [1] + _get_sequence(stride, 1, channel_index, "stride")
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util.h93 int32_t channel_index = 0)
105 channel_index(channel_index) {} in type()
115 int32_t channel_index; member
204 const int channel_index = params->quantized_dimension; in PerChannelSymmetricQuantizeAndPopulate() local
211 const int32_t num_channel = shape[channel_index]; in PerChannelSymmetricQuantizeAndPopulate()
218 input_data.data(), scales_inv, shape, channel_index, &quantized_output); in PerChannelSymmetricQuantizeAndPopulate()
371 QuantizationDetails_NONE, 0, t.channel_index); in AddTensorPerChannelQuant()
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantization_utils_test.cc178 const int channel_index = 0; in TEST() local
185 SymmetricPerChannelQuantization(input.data(), dimension, channel_index, in TEST()
207 const int channel_index = 0; in TEST() local
214 channel_index, &output_data); in TEST()
/external/autotest/client/cros/audio/
Daudio_helper.py482 input_audio, channel_index, channels=2, bits=16, rate=48000): argument
492 if channel_index <= 0 or channel_index > channels:
493 raise ValueError('incorrect channel_indexi: %d' % channel_index)
501 input_audio, '-', channel_index,
Dsox_utils.py124 input, output, channel_index, channels=2, bits=16, rate=48000): argument
139 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/core/grappler/costs/
Dop_level_cost_estimator.cc586 int x_index, y_index, channel_index; in ConvolutionDimensionsFromInputs() local
591 channel_index = 1; in ConvolutionDimensionsFromInputs()
596 channel_index = 3; in ConvolutionDimensionsFromInputs()
615 int64 iz = image_shape.dim(channel_index).size(); in ConvolutionDimensionsFromInputs()
1448 int x_index, y_index, channel_index; in OpDimensionsFromInputs() local
1453 channel_index = 1; in OpDimensionsFromInputs()
1457 channel_index = 3; in OpDimensionsFromInputs()
1462 int64 iz = image_shape.dim(channel_index).size(); in OpDimensionsFromInputs()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes.cc2939 const int channel_index = in ConvertBiasAdd() local
2943 if (channel_index != 0) { in ConvertBiasAdd()
2949 permutation.order[0] = channel_index; in ConvertBiasAdd()
2950 permutation.order[channel_index] = 0; in ConvertBiasAdd()
2958 if (channel_index != 0 || original_dims.nbDims != 3) { in ConvertBiasAdd()
2976 if (channel_index != 0) { in ConvertBiasAdd()
3000 if (channel_index != 0 || original_dims.nbDims != 3) { in ConvertBiasAdd()
3007 if (channel_index != 0) { in ConvertBiasAdd()
3010 reshape_dims.d[channel_index] = original_dims.d[0]; in ConvertBiasAdd()
3011 reshape_dims.d[0] = original_dims.d[channel_index]; in ConvertBiasAdd()
[all …]