Home
last modified time | relevance | path

Searched refs:channel_count (Results 1 – 25 of 33) sorted by relevance

12

/external/igt-gpu-tools/lib/
Digt_infoframe.c97 int channel_count; in infoframe_audio_parse() local
107 channel_count = buf[0] & 0x7; in infoframe_audio_parse()
108 if (channel_count == 0) in infoframe_audio_parse()
109 infoframe->channel_count = -1; in infoframe_audio_parse()
111 infoframe->channel_count = channel_count + 1; in infoframe_audio_parse()
Digt_infoframe.h101 int channel_count; /* -1 if unspecified */ member
/external/libiio/src/examples/
Ddummy-iiostream.c110 static int channel_count; variable
238 channel_count++; in main()
241 if (channel_count == 0) { in main()
245 channels = calloc(channel_count, sizeof *channels); in main()
250 for (int i = 0; i < channel_count; ++i) { in main()
264 for (int i = 0; i < channel_count; ++i) in main()
281 bool has_ts = strcmp(iio_channel_get_id(channels[channel_count-1]), "timestamp") == 0; in main()
302 for (p_dat = iio_buffer_first(rxbuf, channels[channel_count-1]); p_dat < p_end; p_dat += p_inc) { in main()
312 for (int i = 0; i < channel_count; ++i) { in main()
336 for (int i = 0; i < channel_count; ++i) { in main()
/external/tensorflow/tensorflow/core/kernels/image/
Dadjust_saturation_op.cc49 int64 channel_count; member
75 const int64 channel_count = input.NumElements() / channels; in Compute() local
80 options.channel_count = channel_count; in Compute()
188 const int64 channel_count = options.channel_count; in DoCompute() local
190 auto input_data = input->shaped<float, 2>({channel_count, kChannelSize}); in DoCompute()
192 auto output_data = output->shaped<float, 2>({channel_count, kChannelSize}); in DoCompute()
196 Shard(worker_threads.num_threads, worker_threads.workers, channel_count, in DoCompute()
Dadjust_hue_op.cc48 int64 channel_count; member
74 const int64 channel_count = input.NumElements() / channels; in Compute() local
79 options.channel_count = channel_count; in Compute()
209 const int64 channel_count = options.channel_count; in DoCompute() local
211 auto input_data = input->shaped<float, 2>({channel_count, kChannelSize}); in DoCompute()
213 auto output_data = output->shaped<float, 2>({channel_count, kChannelSize}); in DoCompute()
217 Shard(worker_threads.num_threads, worker_threads.workers, channel_count, in DoCompute()
/external/tensorflow/tensorflow/python/kernel_tests/
Dbias_op_deterministic_test.py42 def _makeShapeTuple(self, batch_size, channel_count, data_rank, data_dim, argument
46 shape = (batch_size,) + (channel_count,) + data_dims
48 shape = (batch_size,) + data_dims + (channel_count,)
90 channel_count = 8
92 input_shape = self._makeShapeTuple(batch_size, channel_count, data_rank,
94 bias_shape = (channel_count,)
/external/tensorflow/tensorflow/lite/micro/
Dmicro_utils.cc41 int channel_count = dims->data[quantized_dimension]; in SignedSymmetricPerChannelQuantize() local
42 int per_channel_size = input_size / channel_count; in SignedSymmetricPerChannelQuantize()
50 stride = channel_count; in SignedSymmetricPerChannelQuantize()
57 for (int channel = 0; channel < channel_count; channel++) { in SignedSymmetricPerChannelQuantize()
/external/mesa3d/src/panfrost/midgard/
Dmidgard_ops.h72 unsigned channel_count = GET_CHANNEL_COUNT(alu_opcode_props[op].props); in effective_writemask() local
76 if (channel_count) in effective_writemask()
77 return (1 << channel_count) - 1; in effective_writemask()
/external/tensorflow/tensorflow/python/tools/
Doptimize_for_inference_lib.py277 channel_count = weights.shape[3]
279 channel_count = weights.shape[2] * weights.shape[3]
293 if mean_value.shape != (channel_count,):
296 (channel_count,)), node.name))
307 if var_value.shape != (channel_count,):
310 (channel_count,)), node.name))
321 if beta_value.shape != (channel_count,):
324 (channel_count,)), node.name))
335 if gamma_value.shape != (channel_count,):
338 (channel_count,)), node.name))
/external/libxaac/decoder/drc_src/
Dimpd_drc_dec.c139 WORD32 channel_count = 0; in impd_init_selected_drc_set() local
171 channel_count = drc_config->channel_layout.base_channel_count; in impd_init_selected_drc_set()
173 channel_count = audio_num_chan; in impd_init_selected_drc_set()
182 channel_count = drc_config->dwnmix_instructions[n].target_channel_count; in impd_init_selected_drc_set()
186 drc_instructions_uni_drc->audio_num_chan = channel_count; in impd_init_selected_drc_set()
293 p_parametric_drc_params->audio_num_chan = channel_count; in impd_init_selected_drc_set()
Dimpd_drc_selection_process.c679 WORD32 i, j, err, channel_count; in impd_manage_drc_complexity() local
700 channel_count = uni_drc_sel_proc_output->target_channel_count; in impd_manage_drc_complexity()
702 channel_count = uni_drc_sel_proc_output->base_channel_count; in impd_manage_drc_complexity()
721 (FLOAT32)(channel_count * in impd_manage_drc_complexity()
730 channel_count = uni_drc_sel_proc_output->target_channel_count; in impd_manage_drc_complexity()
732 channel_count = uni_drc_sel_proc_output->base_channel_count; in impd_manage_drc_complexity()
753 channel_count * in impd_manage_drc_complexity()
879 WORD32 channel_count; in impd_manage_complexity() local
910 channel_count = uni_drc_sel_proc_output->target_channel_count; in impd_manage_complexity()
912 channel_count = uni_drc_sel_proc_output->base_channel_count; in impd_manage_complexity()
[all …]
Dimpd_drc_dynamic_payload.c1094 WORD32 i, channel_count, temp; in impd_parse_eq_instructions() local
1177 str_eq_instructions->eq_channel_count = channel_count = in impd_parse_eq_instructions()
1194 str_eq_instructions->eq_channel_count = channel_count = in impd_parse_eq_instructions()
1198 channel_count = 1; in impd_parse_eq_instructions()
1203 for (i = 0; i < channel_count; i++) { in impd_parse_eq_instructions()
1212 for (i = 0; i < channel_count; i++) in impd_parse_eq_instructions()
/external/tensorflow/tensorflow/core/lib/wav/
Dwav_io.cc225 uint32* sample_count, uint16* channel_count, in DecodeLin16WaveAsFloatVector() argument
247 TF_RETURN_IF_ERROR(ReadValue<uint16>(wav_string, channel_count, &offset)); in DecodeLin16WaveAsFloatVector()
248 if (*channel_count < 1) { in DecodeLin16WaveAsFloatVector()
251 *channel_count); in DecodeLin16WaveAsFloatVector()
269 ((bits_per_sample * *channel_count) + 7) / 8; in DecodeLin16WaveAsFloatVector()
305 const uint32 data_count = *sample_count * *channel_count; in DecodeLin16WaveAsFloatVector()
Dwav_io.h70 uint32* sample_count, uint16* channel_count,
/external/tensorflow/tensorflow/core/kernels/
Dspectrogram_op.cc53 const int64 channel_count = input.dim_size(1); in Compute() local
63 const int64 output_slices = channel_count; in Compute()
74 for (int64 channel = 0; channel < channel_count; ++channel) { in Compute()
Dencode_wav_op.cc51 const int32 channel_count = static_cast<int32>(audio.dim_size(1)); in Compute() local
60 audio.flat<float>().data(), sample_rate, channel_count, in Compute()
/external/tensorflow/tensorflow/examples/speech_commands/
Dtest_streaming_accuracy.cc219 uint16 channel_count; in main() local
222 wav_string, &audio_data, &sample_count, &channel_count, &sample_rate); in main()
227 if (channel_count != 1) { in main()
229 << channel_count << " channels."; in main()
/external/tensorflow/tensorflow/lite/kernels/
Daudio_spectrogram.cc124 const int64_t channel_count = input->dims->data[1]; in Eval() local
131 for (int64_t channel = 0; channel < channel_count; ++channel) { in Eval()
135 input_for_channel[i] = input_data[i * channel_count + channel]; in Eval()
/external/tensorflow/tensorflow/python/ops/
Dimage_grad_test_base.py160 for batch_size, channel_count in TEST_CASES:
161 smaller_shape = [batch_size, 2, 3, channel_count]
162 larger_shape = [batch_size, 4, 6, channel_count]
191 def testGradients(self, batch_size, channel_count): argument
192 smaller_shape = [batch_size, 2, 3, channel_count]
193 larger_shape = [batch_size, 5, 6, channel_count]
262 def testCompareGpuVsCpu(self, batch_size, channel_count): argument
263 smaller_shape = [batch_size, 4, 6, channel_count]
264 larger_shape = [batch_size, 8, 16, channel_count]
/external/webrtc/audio/utility/
Dchannel_mixing_matrix.cc43 int channel_count = ChannelLayoutToChannelCount(layout); in ValidateLayout() local
44 RTC_DCHECK_GT(channel_count, 0); in ValidateLayout()
50 if (channel_count > 1) { in ValidateLayout()
/external/pigweed/pw_rpc/public/pw_rpc/
Dserver.h53 constexpr size_t channel_count() const { return channels_.size(); } in channel_count() function
/external/webrtc/sdk/android/src/jni/audio_device/
Daaudio_wrapper.h96 int32_t channel_count() const;
Daaudio_wrapper.cc324 int32_t AAudioWrapper::channel_count() const { in channel_count() function in webrtc::jni::AAudioWrapper
414 ss << "sample rate=" << sample_rate() << ", channels=" << channel_count(); in LogStreamConfiguration()
/external/webrtc/modules/audio_device/android/
Daaudio_wrapper.h96 int32_t channel_count() const;
Daaudio_wrapper.cc324 int32_t AAudioWrapper::channel_count() const { in channel_count() function in webrtc::AAudioWrapper
414 ss << "sample rate=" << sample_rate() << ", channels=" << channel_count(); in LogStreamConfiguration()

12