/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/ |
D | codec_database_test.cc | 42 _vcm(vcm), in CodecDataBaseTest() 106 _vcm->InitializeReceiver(); in Perform() 107 _vcm->InitializeSender(); in Perform() 110 _vcm->RegisterReceiveCallback(_decodeCallback); in Perform() 111 _vcm->RegisterTransportCallback(_encodeCompleteCallback); in Perform() 114 _encodeCompleteCallback->RegisterReceiverVCM(_vcm); in Perform() 136 TEST(_vcm->RegisterSendCodec(&sendCodec, 1, 1440) < 0); in Perform() 137 _vcm->InitializeReceiver(); in Perform() 138 _vcm->InitializeSender(); in Perform() 139 _vcm->RegisterReceiveCallback(_decodeCallback); in Perform() [all …]
|
D | generic_codec_test.cc | 47 _vcm(vcm), in GenericCodecTest() 116 …TEST(_vcm->NumberOfCodecs() > 0); // This works since we now initialize the list in the constructor in Perform() 117 TEST(_vcm->Codec(0, &sendCodec) == VCM_OK); in Perform() 118 _vcm->InitializeSender(); in Perform() 119 _vcm->InitializeReceiver(); in Perform() 120 int32_t NumberOfCodecs = _vcm->NumberOfCodecs(); in Perform() 123 _vcm->Codec(0, &_sendCodec); in Perform() 124 TEST(_vcm->RegisterSendCodec(&_sendCodec, 4, 1440) == VCM_OK); in Perform() 127 _vcm->InitializeSender(); in Perform() 128 TEST(_vcm->Codec(kVideoCodecVP8, &sendCodec) == 0); in Perform() [all …]
|
D | quality_modes_test.cc | 192 _vcm->InitializeReceiver(); in Perform() 193 _vcm->InitializeSender(); in Perform() 194 int32_t NumberOfCodecs = _vcm->NumberOfCodecs(); in Perform() 197 _vcm->Codec(i, &codec); in Perform() 207 TEST(_vcm->RegisterSendCodec(&codec, 2, 1440) == VCM_OK); in Perform() 213 TEST(_vcm->RegisterReceiveCodec(&codec, 2) == VCM_OK); in Perform() 217 _vcm->RegisterReceiveCallback(&_decodeCallback); in Perform() 219 _vcm->RegisterTransportCallback(&_encodeCompleteCallback); in Perform() 221 _encodeCompleteCallback.RegisterReceiverVCM(_vcm); in Perform() 225 QMCallback.RegisterVCM(_vcm); in Perform() [all …]
|
D | media_opt_test.cc | 69 : _vcm(vcm), in MediaOptTest() 192 if (_vcm->InitializeReceiver() < 0) in GeneralSetup() 196 if (_vcm->InitializeSender()) in GeneralSetup() 201 _dataCallback = new RtpDataCallback(_vcm); in GeneralSetup() 251 _vcm->InitializeSender(); in GeneralSetup() 252 _vcm->InitializeReceiver(); in GeneralSetup() 253 int32_t numberOfCodecs = _vcm->NumberOfCodecs(); in GeneralSetup() 259 if (_vcm->Codec(_sendCodecType, &sendCodec) != 0) in GeneralSetup() 269 _vcm->RegisterSendCodec(&sendCodec, _numberOfCores, 1440); in GeneralSetup() 270 _vcm->RegisterReceiveCodec(&sendCodec, _numberOfCores); // same settings for encode and decode in GeneralSetup() [all …]
|
D | normal_test.cc | 183 _vcm(vcm), in NormalTest() 247 _vcm->InitializeReceiver(); in Perform() 248 _vcm->InitializeSender(); in Perform() 256 TEST(_vcm->RegisterSendCodec(&_sendCodec, 4, 1400) == VCM_OK); in Perform() 258 TEST(_vcm->RegisterReceiveCodec(&_sendCodec, 1) == VCM_OK); in Perform() 261 _vcm->RegisterReceiveCallback(&_decodeCallback); in Perform() 263 _vcm->RegisterTransportCallback(&_encodeCompleteCallback); in Perform() 265 _encodeCompleteCallback.RegisterReceiverVCM(_vcm); in Perform() 278 _vcm->SetChannelParameters(static_cast<uint32_t>(1000 * _bitRate), 0, 0); in Perform() 283 _vcm->RegisterSendStatisticsCallback(&sendStats); in Perform() [all …]
|
D | mt_test_common.h | 30 _vcm(vcm), in SendSharedState() 37 webrtc::VideoCodingModule& _vcm; variable 64 _vcm(vcm), in SharedRTPState() 66 webrtc::VideoCodingModule& _vcm; variable
|
D | generic_codec_test.h | 53 webrtc::VideoCodingModule* _vcm; variable 92 … VCMEncComplete_KeyReqTest(webrtc::VideoCodingModule &vcm) : _vcm(vcm), _seqNo(0), _timeStamp(0) {} in VCMEncComplete_KeyReqTest() 103 webrtc::VideoCodingModule& _vcm;
|
D | mt_test_common.cc | 123 if (state->_vcm.TimeUntilNextProcess() <= 0) in VCMProcessingThread() 125 if (state->_vcm.Process() < 0) in VCMProcessingThread() 137 state->_vcm.Decode(); in VCMDecodeThread()
|
D | codec_database_test.h | 37 webrtc::VideoCodingModule* _vcm; variable
|
D | media_opt_test.h | 55 webrtc::VideoCodingModule* _vcm;
|
D | quality_modes_test.h | 106 webrtc::VideoCodingModule* _vcm; variable
|
D | mt_rx_tx_test.cc | 74 int32_t ret = state->_vcm.AddVideoFrame(sourceFrame); in MainSenderThread() 95 state->_vcm.SetChannelParameters(1000000,30,0); in IntSenderThread()
|
D | normal_test.h | 116 webrtc::VideoCodingModule* _vcm; variable
|
/external/chromium_org/third_party/webrtc/modules/utility/source/ |
D | video_coder.cc | 16 VideoCoder::VideoCoder() : _vcm(VideoCodingModule::Create()), _decodedVideo(0) { in VideoCoder() 17 _vcm->InitializeSender(); in VideoCoder() 18 _vcm->InitializeReceiver(); in VideoCoder() 20 _vcm->RegisterTransportCallback(this); in VideoCoder() 21 _vcm->RegisterReceiveCallback(this); in VideoCoder() 26 VideoCodingModule::Destroy(_vcm); in ~VideoCoder() 33 if(_vcm->RegisterSendCodec(&videoCodecInst, numberOfCores, in SetEncodeCodec() 55 if(_vcm->RegisterReceiveCodec(&videoCodecInst, numberOfCores) != VCM_OK) in SetDecodeCodec() 83 if(_vcm->AddVideoFrame(videoFrame) != VCM_OK) in Encode() 93 int32_t numberOfCodecs = _vcm->NumberOfCodecs(); in DefaultPayloadType() [all …]
|
D | video_coder.h | 60 VideoCodingModule* _vcm; variable
|