Home
last modified time | relevance | path

Searched refs:videoFrame (Results 1 – 25 of 41) sorted by relevance

12

/external/webrtc/webrtc/common_video/
Dvideo_frame.cc139 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/
DRTCNSGLVideoView.m19 // |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];
DRTCEAGLVideoView.m87 // |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/
Dvideo_x11_channel.cc47 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()
Dvideo_x11_channel.h37 const VideoFrame& videoFrame);
41 int32_t DeliverFrame(const VideoFrame& videoFrame);
/external/webrtc/webrtc/modules/video_capture/ios/
Drtc_video_capture_ios_objc.mm377 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/
Dvideo_capture_qtkit_objc.mm227 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/
Dvideo_capture_unittest.cc106 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/
Dvideo_sender.cc259 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/
Dvideo_capture_defines.h85 virtual int32_t IncomingFrame(uint8_t* videoFrame,
98 const VideoFrame& videoFrame) = 0;
/external/webrtc/webrtc/modules/video_render/windows/
Dvideo_render_direct3d9.cc145 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()
Dvideo_render_direct3d9.h45 virtual int DeliverFrame(const VideoFrame& videoFrame);
47 const VideoFrame& videoFrame);
/external/webrtc/webrtc/modules/video_render/
Dvideo_render.h258 const VideoFrame& videoFrame) = 0;
264 const VideoFrame& videoFrame,
Dvideo_render_impl.h196 const VideoFrame& videoFrame);
199 const VideoFrame& videoFrame,
Dvideo_render_impl.cc555 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()
Dvideo_render_internal_impl.cc778 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/
Dvideo_frame.h79 int CopyFrame(const VideoFrame& videoFrame);
83 void ShallowCopy(const VideoFrame& videoFrame);
/external/webrtc/webrtc/modules/video_render/mac/
Dvideo_render_agl.cc83 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()
Dvideo_render_nsopengl.mm93 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);
Dvideo_render_nsopengl.h48 virtual int DeliverFrame(const VideoFrame& videoFrame);
69 const VideoFrame& videoFrame);
Dvideo_render_agl.h45 virtual int DeliverFrame(const VideoFrame& videoFrame);
54 virtual int32_t RenderFrame(const uint32_t streamId, VideoFrame& videoFrame);
/external/webrtc/webrtc/modules/video_processing/test/
Dvideo_processing_unittest.cc102 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/
DRTCI420Frame+Internal.h34 - (instancetype)initWithVideoFrame:(const cricket::VideoFrame*)videoFrame;
DRTCI420Frame.mm92 - (instancetype)initWithVideoFrame:(cricket::VideoFrame*)videoFrame {
96 _videoFrame.reset(videoFrame->Copy());
DRTCVideoRendererAdapter.mm44 void RenderFrame(const cricket::VideoFrame* videoFrame) override {
45 const cricket::VideoFrame* frame = videoFrame->GetCopyWithRotationApplied();

12