Searched refs:video_frame (Results 1 - 25 of 83) sorted by relevance

1234

/external/chromium_org/media/filters/
H A Dskcanvas_video_renderer.cc8 #include "media/base/video_frame.h"
76 const scoped_refptr<media::VideoFrame>& video_frame,
79 DCHECK(IsEitherYV12OrYV16(video_frame->format())) << video_frame->format();
80 DCHECK_EQ(video_frame->stride(media::VideoFrame::kUPlane),
81 video_frame->stride(media::VideoFrame::kVPlane));
86 if (video_frame->format() == media::VideoFrame::YV12 ||
87 video_frame->format() == media::VideoFrame::YV12A) {
92 if (video_frame->format() == media::VideoFrame::YV12J) {
134 video_frame
75 FastPaint( const scoped_refptr<media::VideoFrame>& video_frame, SkCanvas* canvas, const SkRect& dest_rect) argument
189 ConvertVideoFrameToBitmap( const scoped_refptr<media::VideoFrame>& video_frame, SkBitmap* bitmap) argument
293 Paint(media::VideoFrame* video_frame, SkCanvas* canvas, const gfx::RectF& dest_rect, uint8 alpha) argument
[all...]
H A Dffmpeg_video_decoder.cc22 #include "media/base/video_frame.h"
94 scoped_refptr<VideoFrame> video_frame =
99 frame->base[i] = video_frame->data(i);
100 frame->data[i] = video_frame->data(i);
101 frame->linesize[i] = video_frame->stride(i);
105 video_frame.swap(reinterpret_cast<VideoFrame**>(&frame->opaque));
120 scoped_refptr<VideoFrame> video_frame; local
121 video_frame.swap(reinterpret_cast<VideoFrame**>(&frame->opaque));
261 scoped_refptr<VideoFrame> video_frame; local
262 if (!FFmpegDecode(buffer, &video_frame)) {
284 FFmpegDecode( const scoped_refptr<DecoderBuffer>& buffer, scoped_refptr<VideoFrame>* video_frame) argument
[all...]
H A Dvpx_video_decoder.cc24 #include "media/base/video_frame.h"
239 scoped_refptr<VideoFrame> video_frame; local
240 if (!VpxDecode(buffer, &video_frame)) {
247 if (!video_frame.get()) {
252 base::ResetAndReturn(&decode_cb_).Run(kOk, video_frame);
256 scoped_refptr<VideoFrame>* video_frame) {
257 DCHECK(video_frame);
277 *video_frame = NULL;
311 *video_frame = NULL;
323 CopyVpxImageTo(vpx_image, vpx_image_alpha, video_frame);
255 VpxDecode(const scoped_refptr<DecoderBuffer>& buffer, scoped_refptr<VideoFrame>* video_frame) argument
336 CopyVpxImageTo(const vpx_image* vpx_image, const struct vpx_image* vpx_image_alpha, scoped_refptr<VideoFrame>* video_frame) argument
[all...]
H A Dskcanvas_video_renderer.h26 // Paints |video_frame| on |canvas|, scaling the result to fit dimensions
29 // Black will be painted on |canvas| if |video_frame| is null.
30 void Paint(media::VideoFrame* video_frame,
H A Dffmpeg_video_decoder_unittest.cc20 #include "media/base/video_frame.h"
97 scoped_refptr<VideoFrame> video_frame; local
98 DecodeSingleFrame(i_frame_buffer_, &status, &video_frame);
101 ASSERT_TRUE(video_frame.get());
102 EXPECT_FALSE(video_frame->end_of_stream());
109 scoped_refptr<VideoFrame> video_frame; local
110 DecodeSingleFrame(end_of_stream_buffer_, &status, &video_frame);
112 ASSERT_TRUE(video_frame.get());
113 EXPECT_TRUE(video_frame->end_of_stream());
161 // uncompressed output to |video_frame|
164 DecodeSingleFrame(const scoped_refptr<DecoderBuffer>& buffer, VideoDecoder::Status* status, scoped_refptr<VideoFrame>* video_frame) argument
214 Decode(const scoped_refptr<DecoderBuffer>& buffer, VideoDecoder::Status* status, scoped_refptr<VideoFrame>* video_frame) argument
357 scoped_refptr<VideoFrame> video_frame; local
420 scoped_refptr<VideoFrame> video_frame; local
[all...]
H A Dskcanvas_video_renderer_unittest.cc5 #include "media/base/video_frame.h"
56 // Paints the |video_frame| to the |canvas| using |renderer_|, setting the
57 // color of |video_frame| to |color| first.
58 void Paint(VideoFrame* video_frame, SkCanvas* canvas, Color color);
194 void SkCanvasVideoRendererTest::Paint(VideoFrame* video_frame, argument
201 media::FillYUV(video_frame, 76, 84, 255);
204 media::FillYUV(video_frame, 149, 43, 21);
207 media::FillYUV(video_frame, 29, 255, 107);
210 renderer_.Paint(video_frame, canvas, kNaturalRect, 0xFF);
270 VideoFrame* video_frame local
277 VideoFrame* video_frame = natural_frame(); local
[all...]
/external/chromium/webkit/glue/media/
H A Dvideo_renderer_impl.cc7 #include "media/base/video_frame.h"
54 scoped_refptr<media::VideoFrame> video_frame; local
55 GetCurrentFrame(&video_frame);
56 if (!video_frame) {
67 FastPaint(video_frame, canvas, dest_rect);
69 SlowPaint(video_frame, canvas, dest_rect);
77 VLOG(1) << "pts=" << video_frame->GetTimestamp().InMicroseconds();
80 PutCurrentFrame(video_frame);
154 void VideoRendererImpl::SlowPaint(media::VideoFrame* video_frame, argument
158 base::TimeDelta timestamp = video_frame
201 FastPaint(media::VideoFrame* video_frame, SkCanvas* canvas, const gfx::Rect& dest_rect) argument
[all...]
H A Dvideo_renderer_impl.h53 void SlowPaint(media::VideoFrame* video_frame,
60 void FastPaint(media::VideoFrame* video_frame,
/external/chromium_org/media/cast/video_sender/
H A Dvideo_sender_unittest.cc10 #include "media/base/video_frame.h"
92 scoped_refptr<media::VideoFrame> video_frame = local
95 PopulateVideoFrame(video_frame, kPixelValue);
96 return video_frame;
111 scoped_refptr<media::VideoFrame> video_frame = GetNewVideoFrame(); local
114 video_sender_->InsertRawVideoFrame(video_frame, capture_time);
124 EncodedVideoFrame video_frame; local
127 video_frame.codec = kVp8;
128 video_frame.key_frame = true;
129 video_frame
144 EncodedVideoFrame video_frame; local
170 scoped_refptr<media::VideoFrame> video_frame = GetNewVideoFrame(); local
[all...]
H A Dvideo_sender.h54 // The video_frame must be valid until the closure callback is called.
59 const scoped_refptr<media::VideoFrame>& video_frame,
62 // The video_frame must be valid until the closure callback is called.
66 void InsertCodedVideoFrame(const EncodedVideoFrame* video_frame,
100 void SendEncodedVideoFrame(const EncodedVideoFrame* video_frame,
107 scoped_ptr<EncodedVideoFrame> video_frame,
H A Dvideo_encoder.cc10 #include "media/base/video_frame.h"
43 const scoped_refptr<media::VideoFrame>& video_frame,
59 base::Unretained(this), video_frame, capture_time,
67 const scoped_refptr<media::VideoFrame>& video_frame,
80 bool retval = vp8_encoder_->Encode(video_frame, encoded_frame.get());
42 EncodeVideoFrame( const scoped_refptr<media::VideoFrame>& video_frame, const base::TimeTicks& capture_time, const FrameEncodedCallback& frame_encoded_callback) argument
66 EncodeVideoFrameEncoderThread( const scoped_refptr<media::VideoFrame>& video_frame, const base::TimeTicks& capture_time, const CodecDynamicConfig& dynamic_config, const FrameEncodedCallback& frame_encoded_callback) argument
/external/chromium_org/content/renderer/media/webrtc/
H A Dwebrtc_video_sink_adapter.cc12 #include "media/base/video_frame.h"
52 scoped_refptr<media::VideoFrame> video_frame; local
56 video_frame = static_cast<media::VideoFrame*>(handle->GetHandle());
57 video_frame->SetTimestamp(timestamp);
60 video_frame = media::VideoFrame::CreateFrame(
70 frame->GetYPlane(), frame->GetYPitch(), y_rows, video_frame.get());
72 frame->GetUPlane(), frame->GetUPitch(), uv_rows, video_frame.get());
74 frame->GetVPlane(), frame->GetVPitch(), uv_rows, video_frame.get());
79 AsWeakPtr(), video_frame));
114 scoped_refptr<media::VideoFrame> video_frame) {
113 DoRenderFrameOnMainThread( scoped_refptr<media::VideoFrame> video_frame) argument
[all...]
/external/chromium_org/media/tools/player_x11/
H A Dx11_video_renderer.cc14 #include "media/base/video_frame.h"
86 void X11VideoRenderer::Paint(media::VideoFrame* video_frame) { argument
88 Initialize(video_frame->coded_size(), video_frame->visible_rect());
90 const int coded_width = video_frame->coded_size().width();
91 const int coded_height = video_frame->coded_size().height();
92 const int visible_width = video_frame->visible_rect().width();
93 const int visible_height = video_frame->visible_rect().height();
102 DCHECK(video_frame->format() == media::VideoFrame::YV12 ||
103 video_frame
[all...]
H A Dgl_video_renderer.cc12 #include "media/base/video_frame.h"
114 void GlVideoRenderer::Paint(media::VideoFrame* video_frame) { argument
116 Initialize(video_frame->coded_size(), video_frame->visible_rect());
119 DCHECK(video_frame->format() == media::VideoFrame::YV12 ||
120 video_frame->format() == media::VideoFrame::YV16);
121 DCHECK(video_frame->stride(media::VideoFrame::kUPlane) ==
122 video_frame->stride(media::VideoFrame::kVPlane));
129 unsigned int width = video_frame->stride(i);
130 unsigned int height = video_frame
[all...]
H A Dgl_video_renderer.h22 void Paint(media::VideoFrame* video_frame);
H A Dx11_video_renderer.h23 void Paint(media::VideoFrame* video_frame);
/external/chromium_org/media/cast/test/
H A Dlinux_output_window.cc8 #include "media/base/video_frame.h"
114 const scoped_refptr<media::VideoFrame>& video_frame) {
115 libyuv::I420ToARGB(video_frame->data(VideoFrame::kYPlane),
116 video_frame->stride(VideoFrame::kYPlane),
117 video_frame->data(VideoFrame::kUPlane),
118 video_frame->stride(VideoFrame::kUPlane),
119 video_frame->data(VideoFrame::kVPlane),
120 video_frame->stride(VideoFrame::kVPlane),
122 video_frame->coded_size().width() * 4, // Stride.
123 video_frame
113 RenderFrame( const scoped_refptr<media::VideoFrame>& video_frame) argument
[all...]
/external/chromium_org/media/cast/framer/
H A Dframe_buffer.cc86 bool FrameBuffer::GetEncodedVideoFrame(EncodedVideoFrame* video_frame, argument
93 video_frame->key_frame = is_key_frame_;
94 video_frame->frame_id = frame_id_;
95 video_frame->last_referenced_frame_id = last_referenced_frame_id_;
98 video_frame->data.clear();
99 video_frame->data.reserve(total_data_size_);
102 video_frame->data.insert(video_frame->data.end(),
/external/chromium_org/cc/resources/
H A Dvideo_resource_updater.cc12 #include "media/base/video_frame.h"
49 const scoped_refptr<media::VideoFrame>& video_frame) {
50 if (!VerifyFrame(video_frame))
53 if (video_frame->format() == media::VideoFrame::NATIVE_TEXTURE)
54 return CreateForHardwarePlanes(video_frame);
56 return CreateForSoftwarePlanes(video_frame);
60 const scoped_refptr<media::VideoFrame>& video_frame) {
64 DCHECK_EQ(video_frame->visible_rect().x(), 0);
65 DCHECK_EQ(video_frame->visible_rect().y(), 0);
67 switch (video_frame
48 CreateExternalResourcesFromVideoFrame( const scoped_refptr<media::VideoFrame>& video_frame) argument
59 VerifyFrame( const scoped_refptr<media::VideoFrame>& video_frame) argument
123 CreateForSoftwarePlanes( const scoped_refptr<media::VideoFrame>& video_frame) argument
331 CreateForHardwarePlanes( const scoped_refptr<media::VideoFrame>& video_frame) argument
[all...]
H A Dvideo_resource_updater.h73 const scoped_refptr<media::VideoFrame>& video_frame);
93 bool VerifyFrame(const scoped_refptr<media::VideoFrame>& video_frame);
95 const scoped_refptr<media::VideoFrame>& video_frame);
97 const scoped_refptr<media::VideoFrame>& video_frame);
H A Dvideo_resource_updater_unittest.cc12 #include "media/base/video_frame.h"
63 scoped_refptr<media::VideoFrame> video_frame = CreateTestYUVVideoFrame(); local
66 updater.CreateExternalResourcesFromVideoFrame(video_frame);
73 scoped_refptr<media::VideoFrame> video_frame = CreateTestYUVVideoFrame(); local
79 updater.CreateExternalResourcesFromVideoFrame(video_frame);
/external/chromium_org/content/browser/renderer_host/
H A Drender_widget_host_view_browsertest.cc25 #include "media/base/video_frame.h"
556 scoped_refptr<media::VideoFrame> video_frame,
569 video_frame->visible_rect().width(),
570 video_frame->visible_rect().height(),
577 video_renderer.Paint(video_frame.get(),
579 video_frame->visible_rect(),
614 bool video_frame) {
651 if (video_frame && !rwhvp->CanCopyToVideoFrame()) {
678 if (video_frame) {
685 scoped_refptr<media::VideoFrame> video_frame local
555 CopyFromCompositingSurfaceCallbackForVideo( scoped_refptr<media::VideoFrame> video_frame, base::Closure quit_callback, bool result) argument
610 PerformTestWithLeftRightRects(const gfx::Size& html_rect_size, const gfx::Rect& copy_rect, const gfx::Size& output_size, const gfx::Size& expected_bitmap_size, bool video_frame) argument
762 bool video_frame = false; local
776 bool video_frame = false; local
793 bool video_frame = false; local
810 bool video_frame = false; local
827 bool video_frame = true; local
845 bool video_frame = true; local
890 bool video_frame = false; local
908 bool video_frame = true; local
[all...]
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dcapturerenderadapter.cc99 const VideoFrame* video_frame) {
104 MaybeSetRenderingSize(video_frame);
109 video_renderer->RenderFrame(video_frame);
98 OnVideoFrame(VideoCapturer* capturer, const VideoFrame* video_frame) argument
/external/chromium/webkit/glue/
H A Dwebvideoframe_impl.h8 #include "media/base/video_frame.h"
19 WebVideoFrameImpl(scoped_refptr<media::VideoFrame> video_frame);
/external/chromium_org/content/test/
H A Dtest_video_frame_provider.cc10 #include "media/base/video_frame.h"
66 scoped_refptr<media::VideoFrame> video_frame = local
73 repaint_cb_.Run(video_frame);

Completed in 288 milliseconds

1234