Home
last modified time | relevance | path

Searched refs:Channels (Results 1 – 25 of 116) sorted by relevance

12345

/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DRPCUtilsTest.cpp171 auto Channels = createPairedQueueChannels(); in TEST() local
172 DummyRPCEndpoint Server(*Channels.first); in TEST()
177 auto Channels = createPairedQueueChannels(); in TEST() local
178 DummyRPCEndpoint Client(*Channels.first); in TEST()
179 DummyRPCEndpoint Server(*Channels.second); in TEST()
222 EXPECT_EQ(Channels.first->SendCalls, 2U) in TEST()
227 EXPECT_EQ(Channels.second->SendCalls, 2U) in TEST()
232 auto Channels = createPairedQueueChannels(); in TEST() local
233 DummyRPCEndpoint Client(*Channels.first); in TEST()
234 DummyRPCEndpoint Server(*Channels.second); in TEST()
[all …]
/external/webrtc/audio/utility/
Dchannel_mixing_matrix.h52 std::vector<Channels> unaccounted_inputs_;
55 void AccountFor(Channels ch);
56 bool IsUnaccounted(Channels ch) const;
60 bool HasInputChannel(Channels ch) const;
61 bool HasOutputChannel(Channels ch) const;
66 void Mix(Channels input_ch, Channels output_ch, float scale);
67 void MixWithoutAccounting(Channels input_ch, Channels output_ch, float scale);
Dchannel_mixing_matrix.cc135 for (Channels ch = LEFT; ch < CHANNELS_MAX + 1; in CreateTransformationMatrix()
136 ch = static_cast<Channels>(ch + 1)) { in CreateTransformationMatrix()
294 void ChannelMixingMatrix::AccountFor(Channels ch) { in AccountFor()
299 bool ChannelMixingMatrix::IsUnaccounted(Channels ch) const { in IsUnaccounted()
304 bool ChannelMixingMatrix::HasInputChannel(Channels ch) const { in HasInputChannel()
308 bool ChannelMixingMatrix::HasOutputChannel(Channels ch) const { in HasOutputChannel()
312 void ChannelMixingMatrix::Mix(Channels input_ch, in Mix()
313 Channels output_ch, in Mix()
319 void ChannelMixingMatrix::MixWithoutAccounting(Channels input_ch, in MixWithoutAccounting()
320 Channels output_ch, in MixWithoutAccounting()
/external/webrtc/modules/audio_coding/neteq/
Dnormal.cc39 if (length % output->Channels() != 0) { in Process()
61 AudioMultiVector expanded(output->Channels()); in Process()
65 size_t length_per_channel = length / output->Channels(); in Process()
67 for (size_t channel_ix = 0; channel_ix < output->Channels(); ++channel_ix) { in Process()
116 RTC_DCHECK_LT(channel_ix, output->Channels()); in Process()
131 RTC_DCHECK_LT(channel_ix, output->Channels()); in Process()
148 RTC_DCHECK_EQ(output->Channels(), 1); // Not adapted for multi-channel yet. in Process()
Dsync_buffer.cc44 RTC_DCHECK_EQ(samples_added_per_channel * Channels(), append_this.size()); in PushBackInterleaved()
58 for (size_t channel = 0; channel < Channels(); ++channel) { in InsertZerosAtIndex()
91 const size_t samples_read_per_channel = tot_samples_read / Channels(); in GetNextAudioInterleaved()
93 output->num_channels_ = Channels(); in GetNextAudioInterleaved()
Daudio_multi_vector_unittest.cc68 EXPECT_EQ(num_channels_, vec1.Channels()); in TEST_P()
74 EXPECT_EQ(num_channels_, vec2.Channels()); in TEST_P()
98 ASSERT_EQ(num_channels_, vec.Channels()); in TEST_P()
100 ASSERT_EQ(num_channels_, vec_copy.Channels()); in TEST_P()
102 for (size_t channel = 0; channel < vec.Channels(); ++channel) { in TEST_P()
175 ASSERT_EQ(num_channels_, vec.Channels()); in TEST_P()
257 for (size_t channel = 0; channel < vec.Channels(); ++channel) { in TEST_P()
Dneteq_impl.cc474 decoder ? rtc::dchecked_cast<int>(decoder->Channels()) : 1, in GetDecoderFormat()
767 channels = decoder->Channels(); in InsertPacketInternal()
773 channels != algorithm_buffer_->Channels()) { in InsertPacketInternal()
841 audio_frame->num_channels_ = sync_buffer_->Channels(); in GetAudioInternal()
957 size_t num_output_samples = output_size_samples_ * sync_buffer_->Channels(); in GetAudioInternal()
962 << sync_buffer_->Channels(); in GetAudioInternal()
965 AudioFrame::kMaxDataSizeSamples / sync_buffer_->Channels(); in GetAudioInternal()
1002 return_value = DtmfOverdub(dtmf_event, sync_buffer_->Channels(), in GetAudioInternal()
1390 decoder->Channels() != algorithm_buffer_->Channels()) { in Decode()
1393 decoder->Channels()); in Decode()
[all …]
/external/tensorflow/tensorflow/lite/delegates/xnnpack/
Dpool_2d_tester.cc78 for (int32_t c = 0; c < Channels(); c++) { in Test()
91 ((i * InputHeight() + y) * InputWidth() + x) * Channels() + c; in Test()
102 BatchSize() * InputHeight() * InputWidth() * Channels(), in Test()
116 for (int32_t c = 0; c < Channels(); c++) { in Test()
118 ((i * OutputHeight() + y) * OutputWidth() + x) * Channels() + c; in Test()
124 << OutputWidth() << ", channel " << c << " / " << Channels(); in Test()
130 << OutputWidth() << ", channel " << c << " / " << Channels(); in Test()
152 {BatchSize(), InputHeight(), InputWidth(), Channels()}}; in CreateTfLiteModel()
154 {BatchSize(), OutputHeight(), OutputWidth(), Channels()}}; in CreateTfLiteModel()
Dresize_bilinear_tester.cc79 BatchSize() * InputHeight() * InputWidth() * Channels(), in Test()
86 BatchSize() * InputHeight() * InputWidth() * Channels(), in Test()
100 for (int c = 0; c < Channels(); c++) { in Test()
102 ((i * OutputHeight() + y) * OutputWidth() + x) * Channels() + c; in Test()
108 << OutputWidth() << ", channel " << c << " / " << Channels(); in Test()
134 {BatchSize(), InputHeight(), InputWidth(), Channels()}}; in CreateTfLiteModel()
136 {BatchSize(), OutputHeight(), OutputWidth(), Channels()}}; in CreateTfLiteModel()
Dmax_pool_2d_test.cc46 .Channels(channel_rng()) in TEST()
73 .Channels(channel_rng()) in TEST()
105 .Channels(channel_rng()) in TEST()
137 .Channels(channel_rng()) in TEST()
168 .Channels(channel_rng()) in TEST()
199 .Channels(channel_rng()) in TEST()
228 .Channels(channel_rng()) in TEST()
257 .Channels(channel_rng()) in TEST()
288 .Channels(channel_rng()) in TEST()
319 .Channels(channel_rng()) in TEST()
[all …]
Daverage_pool_2d_test.cc46 .Channels(channel_rng()) in TEST()
73 .Channels(channel_rng()) in TEST()
105 .Channels(channel_rng()) in TEST()
137 .Channels(channel_rng()) in TEST()
168 .Channels(channel_rng()) in TEST()
199 .Channels(channel_rng()) in TEST()
228 .Channels(channel_rng()) in TEST()
257 .Channels(channel_rng()) in TEST()
288 .Channels(channel_rng()) in TEST()
319 .Channels(channel_rng()) in TEST()
[all …]
Dresize_bilinear_test.cc47 .Channels(channel_rng()) in TEST()
68 .Channels(channel_rng()) in TEST()
90 .Channels(channel_rng()) in TEST()
114 .Channels(channel_rng()) in TEST()
Dresize_bilinear_tester.h43 inline ResizeBilinearTester& Channels(int32_t channels) { in Channels() function
49 inline int32_t Channels() const { return channels_; } in Channels() function
/external/webrtc/modules/audio_coding/codecs/g711/
Daudio_decoder_pcm.cc33 size_t AudioDecoderPcmU::Channels() const { in Channels() function in webrtc::AudioDecoderPcmU
52 return static_cast<int>(encoded_len / Channels()); in PacketDuration()
68 size_t AudioDecoderPcmA::Channels() const { in Channels() function in webrtc::AudioDecoderPcmA
87 return static_cast<int>(encoded_len / Channels()); in PacketDuration()
Daudio_decoder_pcm.h36 size_t Channels() const override;
60 size_t Channels() const override;
/external/webrtc/test/
Daudio_decoder_proxy_factory.h69 size_t Channels() const override { return decoder_->Channels(); } in Channels() function
80 decoder_->Channels() * sizeof(int16_t); in DecodeInternal()
/external/brotli/java/org/brotli/wrapper/dec/
DBrotliDecoderChannelTest.java17 import java.nio.channels.Channels;
74 ReadableByteChannel src = Channels.newChannel(new ByteArrayInputStream(compressed)); in run()
78 crc = BundleHelper.fingerprintStream(Channels.newInputStream(decoder)); in run()
/external/downloader/src/test/java/com/google/android/downloader/
DProtoFileDownloadDestinationTest.java25 import java.nio.channels.Channels;
124 CharSource.wrap(text).asByteSource(UTF_8).copyTo(Channels.newOutputStream(channel)); in openByteChannel_fileEmpty()
143 CharSource.wrap(text2).asByteSource(UTF_8).copyTo(Channels.newOutputStream(channel)); in openByteChannel_fileNonEmpty()
180 CharSource.wrap("swallowed").asByteSource(UTF_8).copyTo(Channels.newOutputStream(channel1)); in clear_fileNonEmpty()
181 CharSource.wrap("replacement").asByteSource(UTF_8).copyTo(Channels.newOutputStream(channel2)); in clear_fileNonEmpty()
DSimpleFileDownloadDestinationTest.java25 import java.nio.channels.Channels;
124 CharSource.wrap(text).asByteSource(UTF_8).copyTo(Channels.newOutputStream(channel)); in openByteChannel_fileEmpty()
143 CharSource.wrap(text2).asByteSource(UTF_8).copyTo(Channels.newOutputStream(channel)); in openByteChannel_fileNonEmpty()
180 CharSource.wrap("swallowed").asByteSource(UTF_8).copyTo(Channels.newOutputStream(channel1)); in clear_fileNonEmpty()
181 CharSource.wrap("replacement").asByteSource(UTF_8).copyTo(Channels.newOutputStream(channel2)); in clear_fileNonEmpty()
/external/webrtc/api/audio/
Dchannel_layout.h128 enum Channels { enum
151 int ChannelOrder(ChannelLayout layout, Channels channel);
/external/webrtc/modules/audio_coding/codecs/g722/
Daudio_decoder_g722.cc63 return static_cast<int>(2 * encoded_len / Channels()); in PacketDuration()
70 size_t AudioDecoderG722Impl::Channels() const { in Channels() function in webrtc::AudioDecoderG722Impl
121 size_t AudioDecoderG722StereoImpl::Channels() const { in Channels() function in webrtc::AudioDecoderG722StereoImpl
Daudio_decoder_g722.h31 size_t Channels() const override;
53 size_t Channels() const override;
/external/webrtc/modules/audio_coding/codecs/pcm16b/
Daudio_decoder_pcm16b.cc35 size_t AudioDecoderPcm16B::Channels() const { in Channels() function in webrtc::AudioDecoderPcm16B
62 return static_cast<int>(encoded_len / (2 * Channels())); in PacketDuration()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUInstrInfo.cpp62 int AMDGPUInstrInfo::getMaskedMIMGOp(uint16_t Opcode, unsigned Channels) const { in getMaskedMIMGOp()
63 switch (Channels) { in getMaskedMIMGOp()
/external/brotli/java/org/brotli/wrapper/enc/
DBrotliOutputStream.java11 import java.nio.channels.Channels;
31 this.encoder = new Encoder(Channels.newChannel(destination), params, bufferSize); in BrotliOutputStream()

12345