Home
last modified time | relevance | path

Searched refs:_vcm (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
Dcodec_database_test.cc42 _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 …]
Dgeneric_codec_test.cc47 _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 …]
Dquality_modes_test.cc192 _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 …]
Dmedia_opt_test.cc69 : _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 …]
Dnormal_test.cc183 _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 …]
Dmt_test_common.h30 _vcm(vcm), in SendSharedState()
37 webrtc::VideoCodingModule& _vcm; variable
64 _vcm(vcm), in SharedRTPState()
66 webrtc::VideoCodingModule& _vcm; variable
Dgeneric_codec_test.h53 webrtc::VideoCodingModule* _vcm; variable
92 … VCMEncComplete_KeyReqTest(webrtc::VideoCodingModule &vcm) : _vcm(vcm), _seqNo(0), _timeStamp(0) {} in VCMEncComplete_KeyReqTest()
103 webrtc::VideoCodingModule& _vcm;
Dmt_test_common.cc123 if (state->_vcm.TimeUntilNextProcess() <= 0) in VCMProcessingThread()
125 if (state->_vcm.Process() < 0) in VCMProcessingThread()
137 state->_vcm.Decode(); in VCMDecodeThread()
Dcodec_database_test.h37 webrtc::VideoCodingModule* _vcm; variable
Dmedia_opt_test.h55 webrtc::VideoCodingModule* _vcm;
Dquality_modes_test.h106 webrtc::VideoCodingModule* _vcm; variable
Dmt_rx_tx_test.cc74 int32_t ret = state->_vcm.AddVideoFrame(sourceFrame); in MainSenderThread()
95 state->_vcm.SetChannelParameters(1000000,30,0); in IntSenderThread()
Dnormal_test.h116 webrtc::VideoCodingModule* _vcm; variable
/external/chromium_org/third_party/webrtc/modules/utility/source/
Dvideo_coder.cc16 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 …]
Dvideo_coder.h60 VideoCodingModule* _vcm; variable