Home
last modified time | relevance | path

Searched refs:channel_size (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dspectrogram_op_test.cc108 const int channel_size = 2; in TEST() local
109 Tensor audio_tensor(DT_FLOAT, TensorShape({audio_size, channel_size})); in TEST()
119 audio_size, channel_size); in TEST()
134 EXPECT_EQ(channel_size, spectrogram_tensor.dim_size(0)); in TEST()
136 for (int channel = 0; channel < channel_size; channel++) { in TEST()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_util.c65 uint32_t channel_size = 0; in pipe2surface() local
67 channel_size |= desc->channel[i].size << i*8; in pipe2surface()
85 switch (channel_size) { in pipe2surface()
96 switch (channel_size) { in pipe2surface()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c211 canonical_format_from_bits(unsigned bits, unsigned channel_size) in canonical_format_from_bits() argument
215 if (channel_size == 8) in canonical_format_from_bits()
220 if (channel_size == 8) in canonical_format_from_bits()
222 if (channel_size == 16) in canonical_format_from_bits()
227 if (channel_size == 8) in canonical_format_from_bits()
229 if (channel_size == 16) in canonical_format_from_bits()
231 if (channel_size == 32) in canonical_format_from_bits()
236 if (channel_size == 16) in canonical_format_from_bits()
238 if (channel_size == 32) in canonical_format_from_bits()
243 if (channel_size == 32) in canonical_format_from_bits()
/external/webrtc/modules/audio_processing/include/
Daudio_frame_view.h27 size_t channel_size) in AudioFrameView() argument
30 channel_size_(channel_size) {} in AudioFrameView()
/external/grpc-grpc/test/cpp/end2end/
Dchannelz_service_test.cc174 EXPECT_GT(response.channel_size(), channel_idx); in GetChannelId()
213 EXPECT_EQ(response.channel_size(), 1); in TEST_F()
225 EXPECT_EQ(response.channel_size(), 0); in TEST_F()
292 EXPECT_EQ(response.channel_size(), kNumChannels); in TEST_F()
385 EXPECT_EQ(gtc_response.channel_size(), kNumChannels); in TEST_F()
386 for (int i = 0; i < gtc_response.channel_size(); ++i) { in TEST_F()
/external/webrtc/modules/audio_processing/test/
Ddebug_dump_replayer.cc152 RTC_CHECK_GT(msg.channel_size(), 0); in OnReverseStreamEvent()
154 static_cast<size_t>(msg.channel_size())); in OnReverseStreamEvent()
158 for (int i = 0; i < msg.channel_size(); ++i) { in OnReverseStreamEvent()
Daec_dump_based_simulator.cc198 static_cast<size_t>(msg.channel_size())); in PrepareReverseProcessStreamCall()
201 for (int i = 0; i < msg.channel_size(); ++i) { in PrepareReverseProcessStreamCall()
/external/grpc-grpc/test/core/tsi/alts/zero_copy_frame_protector/
Dalts_zero_copy_grpc_protector_test.cc212 uint32_t channel_size = gsec_test_bias_random_uint32(static_cast<uint32_t>( in seal_unseal_large_buffer() local
215 while (var->protected_sb.length > channel_size) { in seal_unseal_large_buffer()
217 grpc_slice_buffer_move_first(&var->protected_sb, channel_size, in seal_unseal_large_buffer()
/external/pdfium/third_party/libopenjpeg20/
Djp2.c878 opj_free(color->jp2_pclr->channel_size); in opj_jp2_free_pclr()
1036 OPJ_BYTE *channel_size, *channel_sign; in opj_jp2_apply_pclr() local
1044 channel_size = color->jp2_pclr->channel_size; in opj_jp2_apply_pclr()
1102 new_comps[i].prec = channel_size[i]; in opj_jp2_apply_pclr()
1168 OPJ_BYTE *channel_size, *channel_sign; in opj_jp2_read_pclr() local
1216 channel_size = (OPJ_BYTE*) opj_malloc(nr_channels); in opj_jp2_read_pclr()
1217 if (!channel_size) { in opj_jp2_read_pclr()
1224 opj_free(channel_size); in opj_jp2_read_pclr()
1231 opj_free(channel_size); in opj_jp2_read_pclr()
1237 jp2_pclr->channel_size = channel_size; in opj_jp2_read_pclr()
[all …]
Djp2.h119 OPJ_BYTE *channel_size; member
/external/arm-trusted-firmware/plat/marvell/armada/common/mss/
Dmss_ipc_drv.h54 unsigned int channel_size; member
/external/mesa3d/src/intel/compiler/
Dbrw_vec4.cpp610 const int src, const int size, const int channel_size, in set_push_constant_loc() argument
617 if (ALIGN(new_chans_used[dst], channel_size) + size <= 4) in set_push_constant_loc()
624 new_chan[src] = ALIGN(new_chans_used[dst], channel_size); in set_push_constant_loc()
625 new_chans_used[dst] = ALIGN(new_chans_used[dst], channel_size) + size; in set_push_constant_loc()
679 int channel_size = type_sz(inst->src[i].type) / 4; in pack_uniform_registers() local
687 unsigned used = MAX2(chans_used[reg], channel * channel_size); in pack_uniform_registers()
690 channel_sizes[reg] = MAX2(channel_sizes[reg], channel_size); in pack_uniform_registers()
695 channel_sizes[reg + 1] = MAX2(channel_sizes[reg + 1], channel_size); in pack_uniform_registers()
714 int channel_size = type_sz(inst->src[0].type) / 4; in pack_uniform_registers() local
717 channel_sizes[reg + i] = MAX2(channel_sizes[reg + i], channel_size); in pack_uniform_registers()
/external/mesa3d/src/mesa/main/
Dformat_parser.py405 def channel_size(self): member in Format
490 return _get_datatype(self.channel_type(), self.channel_size())
/external/webrtc/modules/audio_processing/
Daudio_processing_impl.cc1371 const size_t channel_size = in AnalyzeReverseStreamLocked() local
1376 AudioFrameView<const float>(src, num_channels, channel_size)); in AnalyzeReverseStreamLocked()
1972 const size_t channel_size = formats_.api_format.input_stream().num_frames(); in RecordUnprocessedCaptureStream() local
1975 AudioFrameView<const float>(src, num_channels, channel_size)); in RecordUnprocessedCaptureStream()
1994 const size_t channel_size = formats_.api_format.output_stream().num_frames(); in RecordProcessedCaptureStream() local
1998 processed_capture_stream, num_channels, channel_size)); in RecordProcessedCaptureStream()
Daudio_processing_unittest.cc1390 if (msg.channel_size() > 0) { in ProcessDebugDump()
1392 static_cast<size_t>(msg.channel_size())); in ProcessDebugDump()
1393 for (int i = 0; i < msg.channel_size(); ++i) { in ProcessDebugDump()
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_call_create.cc526 size_t channel_size = grpc_channel_stack_size( in BM_IsolatedFilter() local
529 static_cast<grpc_channel_stack*>(gpr_zalloc(channel_size)); in BM_IsolatedFilter()
/external/webrtc/rtc_tools/unpack_aecdump/
Dunpack.cc289 } else if (msg.channel_size() > 0) { in do_main()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Doptimized_ops.h5846 int32_t channel_size, int32_t total_size, in Quantize() argument
5868 TFLITE_DCHECK_EQ(total_size % channel_size, 0); in Quantize()
5869 const int32_t rows = total_size / channel_size; in Quantize()
5875 for (; c <= channel_size - 8; c += 8) { in Quantize()
5888 int loc = n * channel_size + c; in Quantize()
5923 for (; c < channel_size; c++) { in Quantize()
5925 int loc = n * channel_size + c; in Quantize()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes_test.cc2743 const int channel_size = (data_format == "NHWC" ? 3 : 2); in TEST_P() local
2744 std::vector<float> bias(channel_size); in TEST_P()
2745 for (int i = 0; i < channel_size; ++i) { in TEST_P()
2748 AddTestWeights("weights", {channel_size}, bias, tf_type_); in TEST_P()