/external/webrtc/webrtc/common_video/ |
D | video_frame.cc | 139 int VideoFrame::CopyFrame(const VideoFrame& videoFrame) { in CopyFrame() argument 140 if (videoFrame.IsZeroSize()) { in CopyFrame() 142 } else if (videoFrame.native_handle()) { in CopyFrame() 143 video_frame_buffer_ = videoFrame.video_frame_buffer(); in CopyFrame() 145 CreateFrame(videoFrame.buffer(kYPlane), videoFrame.buffer(kUPlane), in CopyFrame() 146 videoFrame.buffer(kVPlane), videoFrame.width(), in CopyFrame() 147 videoFrame.height(), videoFrame.stride(kYPlane), in CopyFrame() 148 videoFrame.stride(kUPlane), videoFrame.stride(kVPlane)); in CopyFrame() 151 timestamp_ = videoFrame.timestamp_; in CopyFrame() 152 ntp_time_ms_ = videoFrame.ntp_time_ms_; in CopyFrame() [all …]
|
/external/webrtc/webrtc/api/objc/ |
D | RTCNSGLVideoView.m | 19 // |videoFrame| is set when we receive a frame from a worker thread and is read 21 @property(atomic, strong) RTCVideoFrame *videoFrame; 42 @synthesize videoFrame = _videoFrame; 96 self.videoFrame = frame; 102 RTCVideoFrame *videoFrame = self.videoFrame; 103 if (self.glRenderer.lastDrawnFrame != videoFrame) { 107 [self.glRenderer drawFrame:videoFrame];
|
D | RTCEAGLVideoView.m | 87 // |videoFrame| is set when we receive a frame from a worker thread and is read 89 @property(atomic, strong) RTCVideoFrame *videoFrame; property 102 @synthesize videoFrame = _videoFrame; 198 [_glRenderer drawFrame:self.videoFrame]; 213 self.videoFrame = frame; 221 if (!_isDirty && _glRenderer.lastDrawnFrame == self.videoFrame) { 239 self.videoFrame = nil; 245 self.videoFrame = nil;
|
/external/webrtc/webrtc/modules/video_render/linux/ |
D | video_x11_channel.cc | 47 const VideoFrame& videoFrame) { in RenderFrame() argument 49 if (_width != videoFrame.width() || _height in RenderFrame() 50 != videoFrame.height()) { in RenderFrame() 51 if (FrameSizeChange(videoFrame.width(), videoFrame.height(), 1) == -1) { in RenderFrame() 55 return DeliverFrame(videoFrame); in RenderFrame() 75 int32_t VideoX11Channel::DeliverFrame(const VideoFrame& videoFrame) { in DeliverFrame() argument 85 ConvertFromI420(videoFrame, kARGB, 0, _buffer); in DeliverFrame()
|
D | video_x11_channel.h | 37 const VideoFrame& videoFrame); 41 int32_t DeliverFrame(const VideoFrame& videoFrame);
|
/external/webrtc/webrtc/modules/video_capture/ios/ |
D | rtc_video_capture_ios_objc.mm | 377 CVImageBufferRef videoFrame = CMSampleBufferGetImageBuffer(sampleBuffer); 379 if (CVPixelBufferLockBaseAddress(videoFrame, kFlags) != kCVReturnSuccess) { 387 (uint8_t*)CVPixelBufferGetBaseAddressOfPlane(videoFrame, kYPlaneIndex); 389 CVPixelBufferGetBytesPerRowOfPlane(videoFrame, kYPlaneIndex); 390 size_t yPlaneHeight = CVPixelBufferGetHeightOfPlane(videoFrame, kYPlaneIndex); 392 CVPixelBufferGetBytesPerRowOfPlane(videoFrame, kUVPlaneIndex); 394 CVPixelBufferGetHeightOfPlane(videoFrame, kUVPlaneIndex); 399 tempCaptureCapability.width = CVPixelBufferGetWidth(videoFrame); 400 tempCaptureCapability.height = CVPixelBufferGetHeight(videoFrame); 406 CVPixelBufferUnlockBaseAddress(videoFrame, kFlags);
|
/external/webrtc/webrtc/modules/video_capture/mac/qtkit/ |
D | video_capture_qtkit_objc.mm | 227 didOutputVideoFrame:(CVImageBufferRef)videoFrame 238 if (CVPixelBufferLockBaseAddress(videoFrame, kFlags) == kCVReturnSuccess) { 239 void *baseAddress = CVPixelBufferGetBaseAddress(videoFrame); 240 size_t bytesPerRow = CVPixelBufferGetBytesPerRow(videoFrame); 241 size_t frameHeight = CVPixelBufferGetHeight(videoFrame); 253 CVPixelBufferUnlockBaseAddress(videoFrame, kFlags);
|
/external/webrtc/webrtc/modules/video_capture/test/ |
D | video_capture_unittest.cc | 106 const webrtc::VideoFrame& videoFrame) { in OnIncomingCapturedFrame() argument 108 int height = videoFrame.height(); in OnIncomingCapturedFrame() 109 int width = videoFrame.width(); in OnIncomingCapturedFrame() 127 videoFrame.render_time_ms() >= TickTime::MillisecondTimestamp()-30 && in OnIncomingCapturedFrame() 128 videoFrame.render_time_ms() <= TickTime::MillisecondTimestamp()); in OnIncomingCapturedFrame() 130 if ((videoFrame.render_time_ms() > in OnIncomingCapturedFrame() 133 (videoFrame.render_time_ms() < in OnIncomingCapturedFrame() 140 last_render_time_ms_ = videoFrame.render_time_ms(); in OnIncomingCapturedFrame() 141 last_frame_.CopyFrame(videoFrame); in OnIncomingCapturedFrame()
|
/external/webrtc/webrtc/modules/video_coding/ |
D | video_sender.cc | 259 int32_t VideoSender::AddVideoFrame(const VideoFrame& videoFrame, in AddVideoFrame() argument 283 if (!_codecDataBase.MatchesCurrentResolution(videoFrame.width(), in AddVideoFrame() 284 videoFrame.height())) { in AddVideoFrame() 288 VideoFrame converted_frame = videoFrame; in AddVideoFrame()
|
/external/webrtc/webrtc/modules/video_capture/ |
D | video_capture_defines.h | 85 virtual int32_t IncomingFrame(uint8_t* videoFrame, 98 const VideoFrame& videoFrame) = 0;
|
/external/webrtc/webrtc/modules/video_render/windows/ |
D | video_render_direct3d9.cc | 145 const VideoFrame& videoFrame) { in RenderFrame() argument 147 if (_width != videoFrame.width() || _height != videoFrame.height()) in RenderFrame() 149 if (FrameSizeChange(videoFrame.width(), videoFrame.height(), 1) == -1) in RenderFrame() 154 return DeliverFrame(videoFrame); in RenderFrame() 158 int D3D9Channel::DeliverFrame(const VideoFrame& videoFrame) { in DeliverFrame() argument 193 ConvertFromI420(videoFrame, kARGB, 0, pRect); in DeliverFrame()
|
D | video_render_direct3d9.h | 45 virtual int DeliverFrame(const VideoFrame& videoFrame); 47 const VideoFrame& videoFrame);
|
/external/webrtc/webrtc/modules/video_render/ |
D | video_render.h | 258 const VideoFrame& videoFrame) = 0; 264 const VideoFrame& videoFrame,
|
D | video_render_impl.h | 196 const VideoFrame& videoFrame); 199 const VideoFrame& videoFrame,
|
D | video_render_impl.cc | 555 const VideoFrame& videoFrame) { in SetStartImage() argument 575 return item->second->SetStartImage(videoFrame); in SetStartImage() 580 const VideoFrame& videoFrame, in SetTimeoutImage() argument 601 return item->second->SetTimeoutImage(videoFrame, timeout); in SetTimeoutImage()
|
D | video_render_internal_impl.cc | 778 const VideoFrame& videoFrame) { in SetStartImage() argument 798 return item->second->SetStartImage(videoFrame); in SetStartImage() 803 const VideoFrame& videoFrame, in SetTimeoutImage() argument 824 return item->second->SetTimeoutImage(videoFrame, timeout); in SetTimeoutImage()
|
/external/webrtc/webrtc/ |
D | video_frame.h | 79 int CopyFrame(const VideoFrame& videoFrame); 83 void ShallowCopy(const VideoFrame& videoFrame);
|
/external/webrtc/webrtc/modules/video_render/mac/ |
D | video_render_agl.cc | 83 VideoFrame& videoFrame) { in RenderFrame() argument 85 if (_width != videoFrame.width() || in RenderFrame() 86 _height != videoFrame.height()) { in RenderFrame() 87 if (FrameSizeChange(videoFrame.width(), videoFrame.height(), 1) == -1) { in RenderFrame() 96 return DeliverFrame(videoFrame); in RenderFrame() 222 int VideoChannelAGL::DeliverFrame(const VideoFrame& videoFrame) { in DeliverFrame() argument 230 if (CalcBufferSize(kI420, videoFrame.width(), videoFrame.height()) != in DeliverFrame() 237 int rgbret = ConvertFromYV12(videoFrame, kBGRA, 0, _buffer); in DeliverFrame()
|
D | video_render_nsopengl.mm | 93 const VideoFrame& videoFrame) { 96 if(_width != videoFrame.width() || 97 _height != videoFrame.height()) { 98 if(FrameSizeChange(videoFrame.width(), videoFrame.height(), 1) == -1) { 103 int ret = DeliverFrame(videoFrame); 208 int VideoChannelNSOpenGL::DeliverFrame(const VideoFrame& videoFrame) { 216 if (CalcBufferSize(kI420, videoFrame.width(), videoFrame.height()) != 226 int rgbRet = ConvertFromYV12(videoFrame, kBGRA, 0, _buffer);
|
D | video_render_nsopengl.h | 48 virtual int DeliverFrame(const VideoFrame& videoFrame); 69 const VideoFrame& videoFrame);
|
D | video_render_agl.h | 45 virtual int DeliverFrame(const VideoFrame& videoFrame); 54 virtual int32_t RenderFrame(const uint32_t streamId, VideoFrame& videoFrame);
|
/external/webrtc/webrtc/modules/video_processing/test/ |
D | video_processing_unittest.cc | 102 VideoFrame videoFrame; local 104 vp_->GetFrameStats(videoFrame, &stats); 107 EXPECT_EQ(-1, vp_->Deflickering(&videoFrame, &stats)); 109 EXPECT_EQ(-3, vp_->BrightnessDetection(videoFrame, stats));
|
/external/webrtc/talk/app/webrtc/objc/ |
D | RTCI420Frame+Internal.h | 34 - (instancetype)initWithVideoFrame:(const cricket::VideoFrame*)videoFrame;
|
D | RTCI420Frame.mm | 92 - (instancetype)initWithVideoFrame:(cricket::VideoFrame*)videoFrame { 96 _videoFrame.reset(videoFrame->Copy());
|
D | RTCVideoRendererAdapter.mm | 44 void RenderFrame(const cricket::VideoFrame* videoFrame) override { 45 const cricket::VideoFrame* frame = videoFrame->GetCopyWithRotationApplied();
|