Home
last modified time | relevance | path

Searched refs:NumChannels (Results 1 – 25 of 34) 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/aac/libMpegTPDec/src/
Dtpdec_asc.cpp275 pPce->NumChannels = 0; in CProgramConfig_Read()
302 pPce->NumChannels += pPce->FrontElementIsCpe[i] ? 2 : 1; in CProgramConfig_Read()
308 pPce->NumChannels += pPce->SideElementIsCpe[i] ? 2 : 1; in CProgramConfig_Read()
314 pPce->NumChannels += pPce->BackElementIsCpe[i] ? 2 : 1; in CProgramConfig_Read()
317 pPce->NumEffectiveChannels = pPce->NumChannels; in CProgramConfig_Read()
321 pPce->NumChannels += 1; in CProgramConfig_Read()
371 if (pPce1->NumChannels == in CProgramConfig_Compare()
372 pPce2->NumChannels) { /* Now the logic changes. We first assume to have in CProgramConfig_Compare()
461 pPce->NumChannels = 8; in CProgramConfig_GetDefault()
468 pPce->NumChannels += 1; in CProgramConfig_GetDefault()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/
Daudio_encoder_pcm.cc63 size_t AudioEncoderPcm::NumChannels() const { in NumChannels() function in webrtc::AudioEncoderPcm
77 8 * BytesPerSample() * SampleRateHz() * NumChannels()); in GetTargetBitrate()
Daudio_encoder_pcm.h40 size_t NumChannels() const override;
/external/webrtc/webrtc/modules/audio_coding/codecs/red/
Daudio_encoder_copy_red.cc35 size_t AudioEncoderCopyRed::NumChannels() const { in NumChannels() function in webrtc::AudioEncoderCopyRed
36 return speech_encoder_->NumChannels(); in NumChannels()
Daudio_encoder_copy_red_unittest.cc45 EXPECT_CALL(mock_encoder_, NumChannels()).WillRepeatedly(Return(1U)); in AudioEncoderCopyRedTest()
113 EXPECT_CALL(mock_encoder_, NumChannels()).WillOnce(Return(17U)); in TEST_F()
114 EXPECT_EQ(17U, red_->NumChannels()); in TEST_F()
Daudio_encoder_copy_red.h41 size_t NumChannels() const override;
/external/webrtc/webrtc/common_audio/
Dwav_header.cc39 uint16_t NumChannels; member
167 WriteLE16(&header.fmt.NumChannels, static_cast<uint16_t>(num_channels)); in WriteWavHeader()
211 *num_channels = ReadLE16(header.fmt.NumChannels); in ReadWavHeader()
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dcodec_manager.cc123 ci.channels = external_speech_encoder->NumChannels(); in ForgeCodecInst()
162 ? (codec_stack_params_.speech_encoder->NumChannels() != 1) in SetVAD()
Drent_a_codec_unittest.cc109 EXPECT_CALL(external_encoder, NumChannels()).WillRepeatedly(Return(1)); in TEST()
164 EXPECT_CALL(speech_encoder, NumChannels()).WillRepeatedly(Return(1)); in TestCngAndRedResetSpeechEncoder()
Drent_a_codec.cc196 config.num_channels = encoder->NumChannels(); in CreateCngEncoder()
274 param->use_cng && cng_pt && param->speech_encoder->NumChannels() == 1; in RentEncoderStack()
Dcodec_manager_unittest.cc27 EXPECT_CALL(*enc, NumChannels()).WillRepeatedly(Return(1)); in CreateMockEncoder()
Dacm_send_test_oldapi.cc70 input_frame_.num_channels_ = external_speech_encoder->NumChannels(); in RegisterExternalCodec()
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/
Daudio_encoder_g722.cc71 size_t AudioEncoderG722::NumChannels() const { in NumChannels() function in webrtc::AudioEncoderG722
91 return static_cast<int>(64000 * NumChannels()); in GetTargetBitrate()
Daudio_encoder_g722.h39 size_t NumChannels() const override;
/external/webrtc/webrtc/modules/audio_coding/codecs/
Daudio_encoder.cc33 static_cast<size_t>(NumChannels() * SampleRateHz() / 100)); in Encode()
Daudio_encoder.h64 virtual size_t NumChannels() const = 0;
/external/webrtc/webrtc/modules/audio_coding/codecs/mock/
Dmock_audio_encoder.h27 MOCK_CONST_METHOD0(NumChannels, size_t());
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Daudio_encoder_ilbc.h39 size_t NumChannels() const override;
Daudio_encoder_ilbc.cc67 size_t AudioEncoderIlbc::NumChannels() const { in NumChannels() function in webrtc::AudioEncoderIlbc
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/
Daudio_encoder_cng.cc41 if (num_channels != speech_encoder->NumChannels()) in IsOk()
78 size_t AudioEncoderCng::NumChannels() const { in NumChannels() function in webrtc::AudioEncoderCng
Daudio_encoder_cng.h54 size_t NumChannels() const override;
Daudio_encoder_cng_unittest.cc43 EXPECT_CALL(mock_encoder_, NumChannels()).WillRepeatedly(Return(1)); in AudioEncoderCngTest()
448 EXPECT_CALL(mock_encoder_, NumChannels()).WillRepeatedly(Return(2)); in TEST_F()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/
Daudio_encoder_isac_t.h59 size_t NumChannels() const override;
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_opus.h59 size_t NumChannels() const override;

12