/external/webrtc/webrtc/modules/video_coding/ |
D | video_coding_robustness_unittest.cc | 38 vcm_ = VideoCodingModule::Create(clock_.get(), &event_factory_); in SetUp() 39 ASSERT_TRUE(vcm_ != NULL); in SetUp() 42 vcm_->SetNackSettings(kMaxNackListSize, kMaxPacketAgeToNack, 0); in SetUp() 43 ASSERT_EQ(0, vcm_->RegisterFrameTypeCallback(&frame_type_callback_)); in SetUp() 44 ASSERT_EQ(0, vcm_->RegisterPacketRequestCallback(&request_callback_)); in SetUp() 46 ASSERT_EQ(VCM_OK, vcm_->RegisterReceiveCodec(&video_codec_, 1)); in SetUp() 47 vcm_->RegisterExternalDecoder(&decoder_, video_codec_.plType); in SetUp() 50 virtual void TearDown() { VideoCodingModule::Destroy(vcm_); } in TearDown() 69 ASSERT_EQ(VCM_OK, vcm_->IncomingPacket(payload, kPayloadLen, rtp_info)); in InsertPacket() 72 VideoCodingModule* vcm_; member in webrtc::VCMRobustnessTest [all …]
|
/external/webrtc/webrtc/test/ |
D | vcm_capturer.cc | 20 : VideoCapturer(input), started_(false), vcm_(NULL) { in VcmCapturer() 36 vcm_ = webrtc::VideoCaptureFactory::Create(0, unique_name); in Init() 37 vcm_->RegisterCaptureDataCallback(*this); in Init() 39 device_info->GetCapability(vcm_->CurrentDeviceName(), 0, capability_); in Init() 47 if (vcm_->StartCapture(capability_) != 0) { in Init() 52 assert(vcm_->CaptureStarted()); in Init() 82 if (vcm_ == NULL) { in Destroy() 86 vcm_->StopCapture(); in Destroy() 87 vcm_->DeRegisterCaptureDataCallback(); in Destroy() 88 vcm_->Release(); in Destroy() [all …]
|
D | vcm_capturer.h | 44 VideoCaptureModule* vcm_; variable
|
/external/webrtc/webrtc/video/ |
D | vie_encoder.cc | 116 vcm_(VideoCodingModule::Create(Clock::GetRealTimeClock(), in ViEEncoder() 148 if (vcm_->RegisterTransportCallback(this) != 0) { in Init() 151 if (vcm_->RegisterSendStatisticsCallback(this) != 0) { in Init() 163 vcm_->RegisterProtectionCallback(vcm_protection_callback); in StartThreadsAndSetSharedMembers() 164 module_process_thread_->RegisterModule(vcm_.get()); in StartThreadsAndSetSharedMembers() 170 module_process_thread_->DeRegisterModule(vcm_.get()); in StopThreadsAndRemoveSharedMembers() 196 if (vcm_->RegisterExternalEncoder(encoder, pl_type, internal_source) != in RegisterExternalEncoder() 204 if (vcm_->RegisterExternalEncoder(NULL, pl_type) != VCM_OK) { in DeRegisterExternalEncoder() 235 if (vcm_->RegisterSendCodec(&modified_video_codec, number_of_cores_, in SetEncoder() 260 bool video_is_suspended = vcm_->VideoSuspended(); in GetPaddingNeededBps() [all …]
|
D | vie_channel.cc | 100 vcm_(VideoCodingModule::Create(Clock::GetRealTimeClock(), in ViEChannel() 103 vie_receiver_(vcm_, remote_bitrate_estimator, this), in ViEChannel() 104 vie_sync_(vcm_), in ViEChannel() 141 vcm_->SetNackSettings(kMaxNackListSize, max_nack_reordering_threshold_, 0); in ViEChannel() 162 if (vcm_->RegisterReceiveCallback(this) != 0) { in Init() 165 vcm_->RegisterFrameTypeCallback(this); in Init() 166 vcm_->RegisterReceiveStatisticsCallback(this); in Init() 167 vcm_->RegisterDecoderTimingCallback(this); in Init() 168 vcm_->SetRenderDelay(kDefaultRenderDelayMs); in Init() 170 module_process_thread_->RegisterModule(vcm_); in Init() [all …]
|
D | vie_sync_module.cc | 53 vcm_(vcm), in ViESyncModule() 108 const int current_video_delay_ms = vcm_->Delay(); in Process() 170 vcm_->SetMinimumPlayoutDelay(target_video_delay_ms); in Process()
|
D | vie_sync_module.h | 49 VideoCodingModule* const vcm_; variable
|
D | vie_receiver.cc | 52 vcm_(module_vcm), in ViEReceiver() 241 if (vcm_->IncomingPacket(payload_data, in OnReceivedPayloadData()
|
D | vie_receiver.h | 116 VideoCodingModule* vcm_; variable
|
D | vie_encoder.h | 158 const rtc::scoped_ptr<VideoCodingModule> vcm_; variable
|
D | vie_channel.h | 415 VideoCodingModule* const vcm_; variable
|
/external/webrtc/webrtc/modules/video_coding/test/ |
D | vcm_payload_sink_factory.cc | 32 : factory_(factory), stream_(stream), vcm_(), frame_receiver_() { in VcmPayloadSink() 39 vcm_.swap(*vcm); in VcmPayloadSink() 41 vcm_->RegisterPacketRequestCallback(this); in VcmPayloadSink() 42 vcm_->RegisterReceiveCallback(frame_receiver_.get()); in VcmPayloadSink() 51 return vcm_->IncomingPacket(payload_data, payload_size, *rtp_header); in OnReceivedPayloadData() 68 if (vcm_->Decode() < 0) { in DecodeAndProcess() 76 if (vcm_->TimeUntilNextProcess() <= 0) { in Process() 77 if (vcm_->Process() < 0) { in Process() 85 vcm_->Decode(10000); in Decode() 92 rtc::scoped_ptr<VideoCodingModule> vcm_; member in webrtc::rtpplayer::VcmPayloadSinkFactory::VcmPayloadSink
|
D | receiver_tests.h | 27 explicit RtpDataCallback(webrtc::VideoCodingModule* vcm) : vcm_(vcm) {} in RtpDataCallback() 34 return vcm_->IncomingPacket(payload_data, payload_size, *rtp_header); in OnReceivedPayloadData() 38 webrtc::VideoCodingModule* vcm_;
|