Home
last modified time | relevance | path

Searched refs:VideoFrame (Results 1 – 25 of 201) sorted by relevance

123456789

/external/webrtc/webrtc/common_video/
Dvideo_frame.cc42 VideoFrame::VideoFrame() { in VideoFrame() function in webrtc::VideoFrame
48 VideoFrame::VideoFrame(const rtc::scoped_refptr<VideoFrameBuffer>& buffer, in VideoFrame() function in webrtc::VideoFrame
59 int VideoFrame::CreateEmptyFrame(int width, in CreateEmptyFrame()
92 int VideoFrame::CreateFrame(const uint8_t* buffer_y, in CreateFrame()
104 int VideoFrame::CreateFrame(const uint8_t* buffer_y, in CreateFrame()
125 int VideoFrame::CreateFrame(const uint8_t* buffer, in CreateFrame()
139 int VideoFrame::CopyFrame(const VideoFrame& videoFrame) { in CopyFrame()
158 void VideoFrame::ShallowCopy(const VideoFrame& videoFrame) { in ShallowCopy()
166 void VideoFrame::Reset() { in Reset()
174 uint8_t* VideoFrame::buffer(PlaneType type) { in buffer()
[all …]
Di420_video_frame_unittest.cc30 VideoFrame frame; in TEST()
36 VideoFrame frame; in TEST()
37 VideoFrame frame2; in TEST()
42 VideoFrame frame; in TEST()
56 VideoFrame frame; in TEST()
81 VideoFrame small_frame; in TEST()
97 VideoFrame big_frame; in TEST()
137 VideoFrame frame1; in TEST()
143 VideoFrame frame2; in TEST()
147 const VideoFrame* const_frame1_ptr = &frame1; in TEST()
[all …]
Dvideo_render_frames.h28 int32_t AddFrame(const VideoFrame& new_frame);
31 VideoFrame FrameToRender();
51 std::list<VideoFrame> incoming_frames_;
/external/webrtc/webrtc/video/
Dvideo_capture_input_unittest.cc39 MOCK_METHOD1(DeliverFrame, void(VideoFrame video_frame));
42 bool EqualFrames(const VideoFrame& frame1, const VideoFrame& frame2);
43 bool EqualTextureFrames(const VideoFrame& frame1, const VideoFrame& frame2);
44 bool EqualBufferFrames(const VideoFrame& frame1, const VideoFrame& frame2);
45 bool EqualFramesVector(const ScopedVector<VideoFrame>& frames1,
46 const ScopedVector<VideoFrame>& frames2);
47 VideoFrame* CreateVideoFrame(uint8_t length);
77 void AddInputFrame(VideoFrame* frame) { in AddInputFrame()
81 void AddOutputFrame(const VideoFrame& frame) { in AddOutputFrame()
84 output_frames_.push_back(new VideoFrame(frame)); in AddOutputFrame()
[all …]
Dvideo_capture_input.h47 virtual void DeliverFrame(VideoFrame video_frame) = 0;
61 void IncomingCapturedFrame(const VideoFrame& video_frame) override;
77 VideoFrame incoming_frame_;
84 VideoFrame captured_frame_ GUARDED_BY(capture_cs_.get());
/external/webrtc/webrtc/common_video/libyuv/include/
Dwebrtc_libyuv.h86 int PrintVideoFrame(const VideoFrame& frame, FILE* file);
95 int ExtractBuffer(const VideoFrame& input_frame, size_t size, uint8_t* buffer);
117 VideoFrame* dst_frame);
127 int ConvertFromI420(const VideoFrame& src_frame,
133 int ConvertFromYV12(const VideoFrame& src_frame,
152 double I420PSNR(const VideoFrame* ref_frame, const VideoFrame* test_frame);
154 double I420SSIM(const VideoFrame* ref_frame, const VideoFrame* test_frame);
/external/webrtc/webrtc/modules/video_processing/test/
Dvideo_processing_unittest.cc30 static void PreprocessFrameAndVerify(const VideoFrame& source,
34 const VideoFrame* out_frame);
42 VideoFrame* cropped_frame);
47 static void TestSize(const VideoFrame& source_frame,
48 const VideoFrame& cropped_source_frame,
53 static bool CompareFrames(const webrtc::VideoFrame& frame1,
54 const webrtc::VideoFrame& frame2);
55 static void WriteProcessedFrameForVisualInspection(const VideoFrame& source,
56 const VideoFrame& processed);
102 VideoFrame videoFrame;
[all …]
/external/webrtc/webrtc/common_video/include/
Dincoming_video_stream.h26 const VideoFrame& videoFrame) = 0;
40 const VideoFrame& video_frame);
59 int32_t SetStartImage(const VideoFrame& video_frame);
61 int32_t SetTimeoutImage(const VideoFrame& video_frame,
75 void DeliverFrame(const VideoFrame& video_frame);
99 VideoFrame temp_frame_ GUARDED_BY(thread_critsect_);
100 VideoFrame start_image_ GUARDED_BY(thread_critsect_);
101 VideoFrame timeout_image_ GUARDED_BY(thread_critsect_);
/external/webrtc/talk/media/base/
Dvideoframe.h39 class VideoFrame {
41 VideoFrame() {} in VideoFrame() function
42 virtual ~VideoFrame() {} in ~VideoFrame()
114 virtual VideoFrame *Copy() const = 0;
144 virtual void CopyToFrame(VideoFrame* target) const;
148 virtual const VideoFrame* GetCopyWithRotationApplied() const = 0;
185 virtual void StretchToFrame(VideoFrame *target, bool interpolate,
192 virtual VideoFrame *Stretch(size_t w, size_t h, bool interpolate,
212 virtual VideoFrame *CreateEmptyFrame(int w, int h, size_t pixel_width,
Dvideoframe.cc45 rtc::StreamResult VideoFrame::Write(rtc::StreamInterface* stream, in Write()
85 size_t VideoFrame::CopyToBuffer(uint8_t* buffer, size_t size) const { in CopyToBuffer()
97 bool VideoFrame::CopyToPlanes(uint8_t* dst_y, in CopyToPlanes()
118 void VideoFrame::CopyToFrame(VideoFrame* dst) const { in CopyToFrame()
128 size_t VideoFrame::ConvertToRgbBuffer(uint32_t to_fourcc, in ConvertToRgbBuffer()
149 void VideoFrame::StretchToPlanes(uint8_t* dst_y, in StretchToPlanes()
203 void VideoFrame::StretchToFrame(VideoFrame* dst, in StretchToFrame()
219 VideoFrame* VideoFrame::Stretch(size_t dst_width, size_t dst_height, in Stretch()
221 VideoFrame* dest = CreateEmptyFrame(static_cast<int>(dst_width), in Stretch()
231 bool VideoFrame::SetToBlack() { in SetToBlack()
[all …]
Dvideoframefactory.h37 class VideoFrame; variable
52 virtual VideoFrame* CreateAliasedFrame(const CapturedFrame* input_frame,
59 virtual VideoFrame* CreateAliasedFrame(const CapturedFrame* input_frame,
73 mutable rtc::scoped_ptr<VideoFrame> output_frame_;
/external/webrtc/webrtc/modules/video_processing/include/
Dvideo_processing.h46 static void GetFrameStats(const VideoFrame& frame, FrameStats* stats);
55 static void Brighten(int delta, VideoFrame* frame);
63 virtual int32_t Deflickering(VideoFrame* frame, FrameStats* stats) = 0;
68 virtual int32_t BrightnessDetection(const VideoFrame& frame,
94 virtual const VideoFrame* PreprocessFrame(const VideoFrame& frame) = 0;
/external/webrtc/webrtc/
Dvideo_frame.h22 class VideoFrame {
24 VideoFrame();
25 VideoFrame(const rtc::scoped_refptr<webrtc::VideoFrameBuffer>& buffer,
79 int CopyFrame(const VideoFrame& videoFrame);
83 void ShallowCopy(const VideoFrame& videoFrame);
159 VideoFrame ConvertNativeToI420Frame() const;
161 bool EqualsFrame(const VideoFrame& frame) const;
/external/webrtc/webrtc/modules/video_coding/utility/
Dquality_scaler.h36 void OnEncodeFrame(const VideoFrame& frame);
38 const VideoFrame& GetScaledFrame(const VideoFrame& frame);
47 VideoFrame scaled_frame_;
/external/webrtc/webrtc/modules/video_processing/
Dframe_preprocessor.h63 const VideoFrame* PreprocessFrame(const VideoFrame& frame);
72 VideoFrame denoised_frame_;
73 VideoFrame resampled_frame_;
Dvideo_processing_impl.h29 int32_t Deflickering(VideoFrame* frame, FrameStats* stats) override;
30 int32_t BrightnessDetection(const VideoFrame& frame,
43 const VideoFrame* PreprocessFrame(const VideoFrame& frame) override;
Dspatial_resampler.h31 virtual int32_t ResampleFrame(const VideoFrame& inFrame,
32 VideoFrame* outFrame) = 0;
45 virtual int32_t ResampleFrame(const VideoFrame& inFrame,
46 VideoFrame* outFrame);
Dvideo_processing_impl.cc43 void VideoProcessing::GetFrameStats(const VideoFrame& frame, in GetFrameStats()
88 void VideoProcessing::Brighten(int delta, VideoFrame* frame) { in Brighten()
108 int32_t VideoProcessingImpl::Deflickering(VideoFrame* frame, in Deflickering()
114 int32_t VideoProcessingImpl::BrightnessDetection(const VideoFrame& frame, in BrightnessDetection()
163 const VideoFrame* VideoProcessingImpl::PreprocessFrame( in PreprocessFrame()
164 const VideoFrame& frame) { in PreprocessFrame()
/external/webrtc/talk/app/webrtc/test/
Dfakevideotrackrenderer.h46 virtual void RenderFrame(const cricket::VideoFrame* video_frame) override { in RenderFrame()
47 last_frame_ = const_cast<cricket::VideoFrame*>(video_frame); in RenderFrame()
63 const cricket::VideoFrame* last_frame() const { return last_frame_; } in last_frame()
70 cricket::VideoFrame* last_frame_;
/external/webrtc/webrtc/common_video/libyuv/
Dwebrtc_libyuv.cc105 int PrintVideoFrame(const VideoFrame& frame, FILE* file) { in PrintVideoFrame()
126 int ExtractBuffer(const VideoFrame& input_frame, size_t size, uint8_t* buffer) { in ExtractBuffer()
239 VideoFrame* dst_frame) { in ConvertToI420()
262 int ConvertFromI420(const VideoFrame& src_frame, in ConvertFromI420()
278 int ConvertFromYV12(const VideoFrame& src_frame, in ConvertFromYV12()
295 double I420PSNR(const VideoFrame* ref_frame, const VideoFrame* test_frame) { in I420PSNR()
323 double I420SSIM(const VideoFrame* ref_frame, const VideoFrame* test_frame) { in I420SSIM()
/external/webrtc/webrtc/api/objc/
DRTCVideoFrame.mm18 rtc::scoped_ptr<cricket::VideoFrame> _videoFrame;
42 const cricket::VideoFrame *const_frame = _videoFrame.get();
47 const cricket::VideoFrame *const_frame = _videoFrame.get();
52 const cricket::VideoFrame *const_frame = _videoFrame.get();
70 - (instancetype)initWithNativeFrame:(const cricket::VideoFrame *)nativeFrame { argument
/external/webrtc/talk/media/devices/
Dgdivideorenderer.cc60 bool RenderFrame(const VideoFrame* frame);
100 void OnRenderFrame(const VideoFrame* frame);
149 bool GdiVideoRenderer::VideoWindow::RenderFrame(const VideoFrame* video_frame) { in RenderFrame()
154 const VideoFrame* frame = video_frame->GetCopyWithRotationApplied(); in RenderFrame()
185 OnRenderFrame(reinterpret_cast<const VideoFrame*>(wParam)); in OnMessage()
244 void GdiVideoRenderer::VideoWindow::OnRenderFrame(const VideoFrame* frame) { in OnRenderFrame()
271 bool GdiVideoRenderer::RenderFrame(const VideoFrame* frame) { in RenderFrame()
/external/webrtc/talk/media/webrtc/
Dwebrtcvideoframe.h42 class WebRtcVideoFrame : public VideoFrame {
115 VideoFrame* Copy() const override;
123 const VideoFrame* GetCopyWithRotationApplied() const override;
131 VideoFrame* CreateEmptyFrame(int w, int h, size_t pixel_width,
144 mutable rtc::scoped_ptr<VideoFrame> rotated_frame_;
/external/webrtc/webrtc/test/
Dframe_generator.cc32 VideoFrame* NextFrame() override { in NextFrame()
52 VideoFrame frame_;
81 VideoFrame* NextFrame() override { in NextFrame()
127 VideoFrame last_read_frame_;
128 VideoFrame temp_frame_copy_;
165 VideoFrame* NextFrame() override { in NextFrame()
229 VideoFrame* current_source_frame_;
230 VideoFrame current_frame_;
/external/webrtc/webrtc/modules/video_render/ios/
Dopen_gles20.h29 bool Render(const VideoFrame& frame);
48 void SetupTextures(const VideoFrame& frame);
51 void UpdateTextures(const VideoFrame& frame);

123456789