/external/deqp/framework/common/ |
D | tcuFuzzyImageCompare.cpp | 73 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/ |
D | tpdec_asc.cpp | 203 pPce->NumChannels = 0; in CProgramConfig_Read() 234 pPce->NumChannels += pPce->FrontElementIsCpe[i] ? 2 : 1; in CProgramConfig_Read() 241 pPce->NumChannels += pPce->SideElementIsCpe[i] ? 2 : 1; in CProgramConfig_Read() 248 pPce->NumChannels += pPce->BackElementIsCpe[i] ? 2 : 1; in CProgramConfig_Read() 251 pPce->NumEffectiveChannels = pPce->NumChannels; in CProgramConfig_Read() 256 pPce->NumChannels += 1; in CProgramConfig_Read() 311 if (pPce1->NumChannels == pPce2->NumChannels) in CProgramConfig_Compare() 398 pPce->NumChannels = 8; in CProgramConfig_GetDefault() 405 pPce->NumChannels += 1; in CProgramConfig_GetDefault() 415 pPce->NumChannels += 7; in CProgramConfig_GetDefault() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/ |
D | audio_encoder_pcm.cc | 63 size_t AudioEncoderPcm::NumChannels() const { in NumChannels() function in webrtc::AudioEncoderPcm 77 8 * BytesPerSample() * SampleRateHz() * NumChannels()); in GetTargetBitrate()
|
D | audio_encoder_pcm.h | 40 size_t NumChannels() const override;
|
/external/webrtc/webrtc/modules/audio_coding/codecs/red/ |
D | audio_encoder_copy_red.cc | 35 size_t AudioEncoderCopyRed::NumChannels() const { in NumChannels() function in webrtc::AudioEncoderCopyRed 36 return speech_encoder_->NumChannels(); in NumChannels()
|
D | audio_encoder_copy_red_unittest.cc | 45 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()
|
D | audio_encoder_copy_red.h | 41 size_t NumChannels() const override;
|
/external/webrtc/webrtc/common_audio/ |
D | wav_header.cc | 39 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/ |
D | codec_manager.cc | 123 ci.channels = external_speech_encoder->NumChannels(); in ForgeCodecInst() 162 ? (codec_stack_params_.speech_encoder->NumChannels() != 1) in SetVAD()
|
D | rent_a_codec_unittest.cc | 109 EXPECT_CALL(external_encoder, NumChannels()).WillRepeatedly(Return(1)); in TEST() 164 EXPECT_CALL(speech_encoder, NumChannels()).WillRepeatedly(Return(1)); in TestCngAndRedResetSpeechEncoder()
|
D | rent_a_codec.cc | 196 config.num_channels = encoder->NumChannels(); in CreateCngEncoder() 274 param->use_cng && cng_pt && param->speech_encoder->NumChannels() == 1; in RentEncoderStack()
|
D | codec_manager_unittest.cc | 27 EXPECT_CALL(*enc, NumChannels()).WillRepeatedly(Return(1)); in CreateMockEncoder()
|
D | acm_send_test_oldapi.cc | 70 input_frame_.num_channels_ = external_speech_encoder->NumChannels(); in RegisterExternalCodec()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/ |
D | audio_encoder_g722.cc | 71 size_t AudioEncoderG722::NumChannels() const { in NumChannels() function in webrtc::AudioEncoderG722 91 return static_cast<int>(64000 * NumChannels()); in GetTargetBitrate()
|
D | audio_encoder_g722.h | 39 size_t NumChannels() const override;
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ |
D | audio_encoder.cc | 33 static_cast<size_t>(NumChannels() * SampleRateHz() / 100)); in Encode()
|
D | audio_encoder.h | 64 virtual size_t NumChannels() const = 0;
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
D | audio_encoder_ilbc.h | 39 size_t NumChannels() const override;
|
D | audio_encoder_ilbc.cc | 67 size_t AudioEncoderIlbc::NumChannels() const { in NumChannels() function in webrtc::AudioEncoderIlbc
|
/external/webrtc/webrtc/modules/audio_coding/codecs/mock/ |
D | mock_audio_encoder.h | 27 MOCK_CONST_METHOD0(NumChannels, size_t());
|
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/ |
D | audio_encoder_cng.cc | 41 if (num_channels != speech_encoder->NumChannels()) in IsOk() 78 size_t AudioEncoderCng::NumChannels() const { in NumChannels() function in webrtc::AudioEncoderCng
|
D | audio_encoder_cng.h | 54 size_t NumChannels() const override;
|
D | audio_encoder_cng_unittest.cc | 43 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/ |
D | audio_encoder_isac_t.h | 59 size_t NumChannels() const override;
|
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/ |
D | audio_encoder_opus.h | 59 size_t NumChannels() const override;
|