Home
last modified time | relevance | path

Searched refs:NumChannels (Results 1 – 25 of 50) sorted by relevance

12

/external/deqp/framework/common/
DtcuFuzzyImageCompare.cpp73 template<int NumChannels>
76 const deUint8* ptr = (const deUint8*)src.getDataPtr() + src.getRowPitch()*y + x*NumChannels; in readUnorm8()
79 for (int c = 0; c < NumChannels; c++) in readUnorm8()
82 if (NumChannels < 4) in readUnorm8()
96 template<int NumChannels>
99 deUint8* ptr = (deUint8*)dst.getDataPtr() + dst.getRowPitch()*y + x*NumChannels; in writeUnorm8()
101 for (int c = 0; c < NumChannels; c++) in writeUnorm8()
123 template<int NumChannels>
142 deUint32 p00 = readUnorm8<NumChannels>(src, i0, j0); in bilinearSample()
143 deUint32 p10 = readUnorm8<NumChannels>(src, i1, j0); in bilinearSample()
[all …]
/external/webrtc/test/pc/e2e/echo/
Decho_emulation.h39 int NumChannels() const override { return delegate_->NumChannels(); } in NumChannels() function
68 int NumChannels() const override { return delegate_->NumChannels(); } in NumChannels() function
Decho_emulation.cc31 delegate_->NumChannels()), in EchoEmulatingCapturer()
34 delegate_->NumChannels()) { in EchoEmulatingCapturer()
/external/webrtc/modules/audio_device/include/
Dtest_audio_device.cc76 SamplesPerFrame(sample_rate) * renderer_->NumChannels(), 0); in TestAudioDeviceModuleImpl()
166 recording_buffer_.size() / capturer_->NumChannels(), in ProcessAudio()
167 2 * capturer_->NumChannels(), capturer_->NumChannels(), in ProcessAudio()
181 SamplesPerFrame(sampling_frequency), 2 * renderer_->NumChannels(), in ProcessAudio()
182 renderer_->NumChannels(), sampling_frequency, playout_buffer_.data(), in ProcessAudio()
228 int NumChannels() const override { return num_channels_; } in NumChannels() function in webrtc::__anon9ec0e82d0111::PulsedNoiseCapturerImpl
280 int NumChannels() const override { return num_channels_; } in NumChannels() function in webrtc::__anon9ec0e82d0111::WavFileReader
334 int NumChannels() const override { return num_channels_; } in NumChannels() function in webrtc::__anon9ec0e82d0111::WavFileWriter
371 int NumChannels() const override { return num_channels_; } in NumChannels() function in webrtc::__anon9ec0e82d0111::BoundedWavFileWriter
430 int NumChannels() const override { return num_channels_; } in NumChannels() function in webrtc::__anon9ec0e82d0111::DiscardRenderer
Dtest_audio_device.h44 virtual int NumChannels() const = 0;
58 virtual int NumChannels() const = 0;
/external/webrtc/test/testsupport/
Dcopy_to_file_audio_capturer.cc25 delegate_->NumChannels())) {} in CopyToFileAudioCapturer()
32 int CopyToFileAudioCapturer::NumChannels() const { in NumChannels() function in webrtc::test::CopyToFileAudioCapturer
33 return delegate_->NumChannels(); in NumChannels()
Dcopy_to_file_audio_capturer.h38 int NumChannels() const override;
/external/webrtc/common_audio/
Dwav_header.cc53 uint16_t NumChannels; member
68 uint16_t NumChannels; member
221 header.fmt.NumChannels = static_cast<uint16_t>(num_channels); in WritePcmWavHeader()
253 header.fmt.NumChannels = static_cast<uint16_t>(num_channels); in WriteIeeeFloatWavHeader()
412 *num_channels = header.fmt.NumChannels; in ReadWavHeader()
/external/aac/libMpegTPDec/src/
Dtpdec_asc.cpp382 pPce->NumChannels = 0; in CProgramConfig_Read()
409 pPce->NumChannels += pPce->FrontElementIsCpe[i] ? 2 : 1; in CProgramConfig_Read()
423 pPce->NumChannels += pPce->SideElementIsCpe[i] ? 2 : 1; in CProgramConfig_Read()
437 pPce->NumChannels += pPce->BackElementIsCpe[i] ? 2 : 1; in CProgramConfig_Read()
448 pPce->NumEffectiveChannels = pPce->NumChannels; in CProgramConfig_Read()
452 pPce->NumChannels += 1; in CProgramConfig_Read()
516 if (pPce1->NumChannels == in CProgramConfig_Compare()
517 pPce2->NumChannels) { /* Now the logic changes. We first assume to have in CProgramConfig_Compare()
606 pPce->NumChannels = 8; in CProgramConfig_GetDefault()
613 pPce->NumChannels += 1; in CProgramConfig_GetDefault()
[all …]
/external/webrtc/modules/audio_coding/codecs/g711/
Daudio_encoder_pcm.cc45 size_t AudioEncoderPcm::NumChannels() const { in NumChannels() function in webrtc::AudioEncoderPcm
59 NumChannels()); in GetTargetBitrate()
/external/webrtc/modules/audio_coding/codecs/
Dbuiltin_audio_encoder_factory_unittest.cc50 EXPECT_EQ(encoder->NumChannels(), info->num_channels); in TEST_P()
65 encoder->SampleRateHz() * encoder->NumChannels() / 100); in TEST_P()
/external/webrtc/modules/audio_coding/codecs/g722/
Daudio_encoder_g722.cc53 size_t AudioEncoderG722Impl::NumChannels() const { in NumChannels() function in webrtc::AudioEncoderG722Impl
73 return static_cast<int>(64000 * NumChannels()); in GetTargetBitrate()
Daudio_encoder_g722.h33 size_t NumChannels() const override;
/external/webrtc/modules/audio_coding/codecs/cng/
Daudio_encoder_cng.cc40 size_t NumChannels() const override;
100 size_t AudioEncoderCng::NumChannels() const { in NumChannels() function in webrtc::__anonc964e42d0111::AudioEncoderCng
307 if (num_channels != speech_encoder->NumChannels()) in IsOk()
/external/webrtc/modules/audio_processing/test/conversational_speech/
Dwavreader_interface.h32 virtual size_t NumChannels() const = 0;
Dmock_wavreader.cc26 ON_CALL(*this, NumChannels()).WillByDefault(Return(num_channels_)); in MockWavReader()
Dmock_wavreader.h35 MOCK_METHOD(size_t, NumChannels, (), (const, override));
Dwavreader_factory.cc41 size_t NumChannels() const override { return wav_reader_.num_channels(); } in NumChannels() function in webrtc::test::__anone5652fbc0111::WavReaderAdaptor
/external/webrtc/modules/audio_coding/codecs/red/
Daudio_encoder_copy_red.cc40 size_t AudioEncoderCopyRed::NumChannels() const { in NumChannels() function in webrtc::AudioEncoderCopyRed
41 return speech_encoder_->NumChannels(); in NumChannels()
Daudio_encoder_copy_red_unittest.cc51 EXPECT_CALL(*mock_encoder_, NumChannels()).WillRepeatedly(Return(1U)); in AudioEncoderCopyRedTest()
87 EXPECT_CALL(*mock_encoder_, NumChannels()).WillOnce(Return(17U)); in TEST_F()
88 EXPECT_EQ(17U, red_->NumChannels()); in TEST_F()
Daudio_encoder_copy_red.h48 size_t NumChannels() const override;
/external/webrtc/test/fuzzers/
Daudio_encoder_fuzzer.cc28 encoder->SampleRateHz() / 100 * encoder->NumChannels(); in FuzzAudioEncoder()
/external/webrtc/modules/audio_coding/codecs/ilbc/
Daudio_encoder_ilbc.h31 size_t NumChannels() const override;
/external/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_multi_channel_opus_impl.h43 size_t NumChannels() const override;
/external/webrtc/modules/audio_coding/codecs/isac/
Daudio_encoder_isac_t.h48 size_t NumChannels() const override;

12