/external/tensorflow/tensorflow/core/lib/wav/ |
wav_io.cc | 135 size_t num_channels, size_t num_frames, 153 if (num_channels == 0 || num_channels > kuint16max) { 154 return errors::InvalidArgument("num_channels must be in (0, 2^16), got: ", 155 num_channels); 161 const size_t bytes_per_second = sample_rate * kBytesPerSample * num_channels; 162 const size_t num_samples = num_frames * num_channels; 165 const size_t bytes_per_frame = kBytesPerSample * num_channels; 189 core::EncodeFixed16(format_chunk->channel_numbers, num_channels);
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
BitmapUtils.java | 36 public static int NUM_CHANNELS = 4; 43 * @return an array containing NUM_CHANNELS * COLOR_BIT_DEPTH histogram bucket values, with 55 int[] output = new int[COLOR_BIT_DEPTH * NUM_CHANNELS];
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
summary_audio_op_test.py | 37 def _CheckProto(self, audio_summ, sample_rate, num_channels, length_frames): 46 num_channels: %d length_frames: %d } 47 }""" % (i, sample_rate, num_channels, length_frames) for i in xrange(3))
|
fractional_max_pool_op_test.py | 205 num_channels = 3 210 tensor_shape = (num_batches, num_rows, num_cols, num_channels) 221 num_channels = 3 226 tensor_shape = (num_batches, num_rows, num_cols, num_channels) 240 for num_channels in [1, 3]: 243 tensor_shape = (num_batches, num_rows, num_cols, num_channels) 256 num_channels = 3 259 tensor_shape = (num_batches, num_rows, num_cols, num_channels) 277 num_channels = 3 280 tensor_shape = (num_batches, num_rows, num_cols, num_channels) [all...] |
/external/webrtc/webrtc/modules/audio_processing/transient/ |
transient_suppressor.h | 32 int Initialize(int sample_rate_hz, int detector_rate_hz, int num_channels); 38 // |num_channels| must be equal to |num_channels_|. 53 int num_channels,
|
/system/connectivity/wificond/scanning/ |
single_scan_settings.cpp | 67 int32_t num_channels = 0; local 68 RETURN_IF_FAILED(parcel->readInt32(&num_channels)); 73 for (int i = 0; i < num_channels; i++) {
|
/external/webp/src/utils/ |
rescaler_utils.c | 25 int num_channels, rescaler_t* const work) { 38 wrk->num_channels = num_channels; 71 wrk->frow = work + num_channels * dst_width; 72 memset(work, 0, 2 * dst_width * num_channels * sizeof(*work)); 127 for (x = 0; x < wrk->num_channels * wrk->dst_width; ++x) {
|
/external/webrtc/webrtc/common_audio/ |
blocker_unittest.cc | 86 size_t num_channels, 88 for (size_t i = 0; i < num_channels; ++i) { 96 size_t num_channels, 99 for (size_t i = 0; i < num_channels; ++i) { 113 size_t num_channels, 116 for (size_t i = 0; i < num_channels; ++i) {
|
/external/adhd/cras/src/tests/ |
iodev_unittest.cc | 273 fmt.num_channels = 2; 280 EXPECT_EQ(2, iodev_.ext_format->num_channels); 291 fmt.num_channels = 2; 298 EXPECT_EQ(2, iodev_.ext_format->num_channels); 309 fmt.num_channels = 2; 316 EXPECT_EQ(2, iodev_.ext_format->num_channels); 327 fmt.num_channels = 2; 332 EXPECT_EQ(2, iodev_.ext_format->num_channels); 345 fmt.num_channels = 2; 350 EXPECT_EQ(2, iodev_.ext_format->num_channels); [all...] |
cras_router.c | 125 size_t num_channels) 139 num_channels); 217 size_t num_channels = 2; local 264 block_size, rate, num_channels);
|
rstream_unittest.cc | 25 fmt_.num_channels = 2; 42 fmt1->num_channels == fmt2->num_channels; 206 struct cras_audio_area *cras_audio_area_create(int num_channels) {
|
/external/adhd/cras/examples/ |
cplay.c | 60 const unsigned int num_channels = 2; local 86 num_channels, NO_DEVICE, &stream_id);
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_zscan.h | 45 unsigned num_channels; member in struct:vl_zscan 79 unsigned num_channels);
|
/external/tensorflow/tensorflow/core/kernels/ |
resize_bicubic_op.cc | 232 const auto num_channels = resizer_state.channels; local 233 const int64 in_row_width = resizer_state.in_width * num_channels; 238 std::vector<float> cached_value(num_channels == 3 ? 0 : 4 * num_channels, 0); 243 ++y, output_y_ptr += resizer_state.out_width * num_channels) { 253 if (num_channels == 3) { 324 output_y_ptr[x * num_channels + 0] = 327 output_y_ptr[x * num_channels + 1] = 330 output_y_ptr[x * num_channels + 2] = 340 for (int64 c = 0; c < num_channels; ++c) [all...] |
reverse_op.cc | 44 // NUM_CHANNELS can be <= 0 to compute it dynamically from <input> 47 template <typename T, int NUM_CHANNELS> 52 NUM_CHANNELS > 0 ? NUM_CHANNELS : input.dim_size(2); 96 template <typename T, int NUM_CHANNELS> 102 ReverseRows<uint8, NUM_CHANNELS>(context, input, result); 105 ReverseRows<uint16, NUM_CHANNELS>(context, input, result); 108 ReverseRows<uint32, NUM_CHANNELS>(context, input, result); 111 ReverseRows<uint64, NUM_CHANNELS>(context, input, result); 114 ReverseRows<complex128, NUM_CHANNELS>(context, input, result) [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/ |
audio_encoder_pcm.h | 28 size_t num_channels; member in struct:webrtc::AudioEncoderPcm::Config 33 : frame_size_ms(20), num_channels(1), payload_type(pt) {}
|
/external/webrtc/webrtc/modules/audio_processing/ |
audio_buffer.cc | 32 return stream_config.num_channels(); 108 assert(stream_config.num_channels() == num_input_channels_); 153 assert(stream_config.num_channels() == num_channels_ || num_channels_ == 1); 178 for (size_t i = num_channels_; i < stream_config.num_channels(); ++i) { 344 size_t AudioBuffer::num_channels() const { function in class:webrtc::AudioBuffer 348 void AudioBuffer::set_num_channels(size_t num_channels) { 349 num_channels_ = num_channels; 446 low_pass_reference_channels_->num_channels() != num_channels_) {
|
audio_processing_impl.cc | 349 ? formats_.api_format.input_stream().num_channels() 350 : formats_.api_format.output_stream().num_channels(); 355 if (formats_.api_format.reverse_input_stream().num_channels() > 0) { 358 formats_.api_format.reverse_input_stream().num_channels(), 360 formats_.rev_proc_format.num_channels(), 364 formats_.api_format.reverse_input_stream().num_channels(), 366 formats_.api_format.reverse_output_stream().num_channels(), 377 formats_.api_format.input_stream().num_channels(), 413 if (stream.num_channels() > 0 && stream.sample_rate_hz() <= 0) { 418 const size_t num_in_channels = config.input_stream().num_channels(); [all...] |
/external/webp/src/demux/ |
anim_decode.c | 24 #define NUM_CHANNELS 4 117 dec->info_.canvas_width * NUM_CHANNELS, dec->info_.canvas_height); 120 dec->info_.canvas_width * NUM_CHANNELS, dec->info_.canvas_height); 147 (uint64_t)canvas_width * canvas_height * NUM_CHANNELS * sizeof(*buf); 157 assert(width * NUM_CHANNELS <= buf_stride); 158 buf += y_offset * buf_stride + x_offset * NUM_CHANNELS; 160 memset(buf, 0, width * NUM_CHANNELS); 168 const uint64_t size = (uint64_t)width * height * NUM_CHANNELS; 350 (iter.y_offset * width + iter.x_offset) * NUM_CHANNELS; 353 buf->stride = NUM_CHANNELS * width [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
neteq_unittest.cc | 428 size_t num_channels; local 430 &num_channels, &type)); 611 size_t num_channels; local 614 &num_channels, &type)); 656 size_t num_channels; local 659 &num_channels, &type)); 687 size_t num_channels; local 690 &num_channels, &type)); 712 size_t num_channels; local 731 &num_channels, &type)) 951 size_t num_channels; local 985 size_t num_channels; local 1275 size_t num_channels; local 1351 size_t num_channels; local 1418 size_t num_channels; local 1625 size_t num_channels; local [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/drivers/dram/ |
dram.c | 21 sdram_config.num_channels = SYS_REG_DEC_NUM_CH(os_reg2_val);
|
/external/libxaac/decoder/drc_src/ |
impd_drc_peak_limiter_struct.h | 32 UWORD32 num_channels; member in struct:ia_drc_peak_limiter_struct
|
/external/libxaac/decoder/ |
ixheaacd_sbrdecoder.c | 218 WORD32 num_channels) { 223 for (lr = 0; lr < num_channels; lr++) { 259 WORD32 num_channels = *codec_num_channels; local 323 if (num_channels == 1) { 341 if (num_channels == 2) ptr_header_data[1]->sync_state = UPSAMPLING; 363 if (num_channels == 2) { 434 WORD32 lr1 = ps_enable ? 2 : num_channels; 481 WORD32 lr1 = ps_enable ? 2 : num_channels; 502 WORD32 lr1 = ps_enable ? 2 : num_channels; 547 stereo = (num_channels == 2) ? 1 : 0 [all...] |
/external/tensorflow/tensorflow/python/layers/ |
maxout.py | 96 num_channels = shape[self.axis] 97 if num_channels % self.num_units: 100 num_channels, self.num_units)) 102 shape += [num_channels // self.num_units]
|
/external/webrtc/webrtc/common_audio/resampler/include/ |
push_resampler.h | 32 size_t num_channels);
|