/external/chromium_org/media/filters/ |
skcanvas_video_renderer.cc | 8 #include "media/base/video_frame.h" 74 const scoped_refptr<media::VideoFrame>& video_frame, 77 DCHECK(IsEitherYV12OrYV16(video_frame->format())) << video_frame->format(); 78 DCHECK_EQ(video_frame->stride(media::VideoFrame::kUPlane), 79 video_frame->stride(media::VideoFrame::kVPlane)); 84 if (video_frame->format() == media::VideoFrame::YV12 || 85 video_frame->format() == media::VideoFrame::YV12A) { 127 video_frame->visible_rect().width() / local_dest_irect_saved.width(); 129 video_frame->visible_rect().height() / local_dest_irect_saved.height() [all...] |
skcanvas_video_renderer.h | 26 // 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,
|
ffmpeg_video_decoder.cc | 22 #include "media/base/video_frame.h" 95 scoped_refptr<VideoFrame> video_frame = 100 frame->base[i] = video_frame->data(i); 101 frame->data[i] = video_frame->data(i); 102 frame->linesize[i] = video_frame->stride(i); 106 video_frame.swap(reinterpret_cast<VideoFrame**>(&frame->opaque)); 123 scoped_refptr<VideoFrame> video_frame; local 124 video_frame.swap(reinterpret_cast<VideoFrame**>(&frame->opaque)); 264 scoped_refptr<VideoFrame> video_frame; local 265 if (!FFmpegDecode(buffer, &video_frame)) { [all...] |
vpx_video_decoder.cc | 24 #include "media/base/video_frame.h" 231 scoped_refptr<VideoFrame> video_frame; local 232 if (!VpxDecode(buffer, &video_frame)) { 239 if (!video_frame.get()) { 244 base::ResetAndReturn(&decode_cb_).Run(kOk, video_frame); 248 scoped_refptr<VideoFrame>* video_frame) { 249 DCHECK(video_frame); 269 *video_frame = NULL; 303 *video_frame = NULL; 315 CopyVpxImageTo(vpx_image, vpx_image_alpha, video_frame); [all...] |
ffmpeg_video_decoder_unittest.cc | 20 #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->IsEndOfStream()); 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->IsEndOfStream()); 161 // uncompressed output to |video_frame|. This method works with singl 357 scoped_refptr<VideoFrame> video_frame; local 420 scoped_refptr<VideoFrame> video_frame; local [all...] |
skcanvas_video_renderer_unittest.cc | 5 #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, 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 = natural_frame() local 277 VideoFrame* video_frame = natural_frame(); local [all...] |
/external/chromium_org/media/tools/shader_bench/ |
cpu_color_painter.cc | 66 void CPUColorPainter::Paint(scoped_refptr<media::VideoFrame> video_frame) { 70 video_frame->coded_size(), 71 video_frame->visible_rect(), 72 video_frame->natural_size(), 75 media::ConvertYUVToRGB32(video_frame->data(media::VideoFrame::kYPlane), 76 video_frame->data(media::VideoFrame::kUPlane), 77 video_frame->data(media::VideoFrame::kVPlane), 79 video_frame->coded_size().width(), 80 video_frame->coded_size().height(), 81 video_frame->stride(media::VideoFrame::kYPlane) [all...] |
cpu_color_painter.h | 10 #include "media/base/video_frame.h" 21 virtual void Paint(scoped_refptr<media::VideoFrame> video_frame) OVERRIDE;
|
gpu_color_painter.h | 10 #include "media/base/video_frame.h" 23 virtual void Paint(scoped_refptr<media::VideoFrame> video_frame) OVERRIDE;
|
painter.h | 11 #include "media/base/video_frame.h" 30 virtual void Paint(scoped_refptr<media::VideoFrame> video_frame) = 0;
|
gpu_color_painter.cc | 106 scoped_refptr<media::VideoFrame> video_frame) { 108 int width = video_frame->visible_rect().width(); 109 int height = video_frame->visible_rect().height(); 117 GL_LUMINANCE, GL_UNSIGNED_BYTE, video_frame->data(i));
|
/external/chromium/webkit/glue/media/ |
video_renderer_impl.cc | 7 #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, 158 base::TimeDelta timestamp = video_frame->GetTimestamp() [all...] |
video_renderer_impl.h | 53 void SlowPaint(media::VideoFrame* video_frame, 60 void FastPaint(media::VideoFrame* video_frame,
|
/external/chromium_org/media/tools/player_x11/ |
x11_video_renderer.cc | 14 #include "media/base/video_frame.h" 86 void X11VideoRenderer::Paint(media::VideoFrame* video_frame) { 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->format() == media::VideoFrame::YV16) [all...] |
gl_video_renderer.h | 22 void Paint(media::VideoFrame* video_frame);
|
x11_video_renderer.h | 23 void Paint(media::VideoFrame* video_frame);
|
gl_video_renderer.cc | 12 #include "media/base/video_frame.h" 122 void GlVideoRenderer::Paint(media::VideoFrame* video_frame) { 124 Initialize(video_frame->coded_size(), video_frame->visible_rect()); 127 DCHECK(video_frame->format() == media::VideoFrame::YV12 || 128 video_frame->format() == media::VideoFrame::YV16); 129 DCHECK(video_frame->stride(media::VideoFrame::kUPlane) == 130 video_frame->stride(media::VideoFrame::kVPlane)); 137 unsigned int width = video_frame->stride(i); 138 unsigned int height = video_frame->rows(i) [all...] |
/external/chromium_org/content/renderer/media/ |
rtc_video_renderer.cc | 12 #include "media/base/video_frame.h" 88 scoped_refptr<media::VideoFrame> video_frame = local 101 CopyYPlane(frame->GetYPlane(), frame->GetYPitch(), y_rows, video_frame.get()); 103 frame->GetUPlane(), frame->GetUPitch(), uv_rows, video_frame.get()); 105 frame->GetVPlane(), frame->GetVPitch(), uv_rows, video_frame.get()); 109 this, video_frame)); 124 scoped_refptr<media::VideoFrame> video_frame = local 126 DoRenderFrameOnMainThread(video_frame); 131 scoped_refptr<media::VideoFrame> video_frame) { 139 repaint_cb_.Run(video_frame); [all...] |
/external/chromium_org/cc/resources/ |
video_resource_updater.h | 68 const scoped_refptr<media::VideoFrame>& video_frame); 88 bool VerifyFrame(const scoped_refptr<media::VideoFrame>& video_frame); 90 const scoped_refptr<media::VideoFrame>& video_frame); 92 const scoped_refptr<media::VideoFrame>& video_frame);
|
video_resource_updater_unittest.cc | 11 #include "media/base/video_frame.h" 59 scoped_refptr<media::VideoFrame> video_frame = CreateTestYUVVideoFrame(); local 62 updater.CreateExternalResourcesFromVideoFrame(video_frame); 68 scoped_refptr<media::VideoFrame> video_frame = CreateTestYUVVideoFrame(); local 74 updater.CreateExternalResourcesFromVideoFrame(video_frame);
|
video_resource_updater.cc | 11 #include "media/base/video_frame.h" 46 const scoped_refptr<media::VideoFrame>& video_frame) { 47 if (!VerifyFrame(video_frame)) 50 if (video_frame->format() == media::VideoFrame::NATIVE_TEXTURE) 51 return CreateForHardwarePlanes(video_frame); 53 return CreateForSoftwarePlanes(video_frame); 57 const scoped_refptr<media::VideoFrame>& video_frame) { 61 DCHECK_EQ(video_frame->visible_rect().x(), 0); 62 DCHECK_EQ(video_frame->visible_rect().y(), 0); 64 switch (video_frame->format()) [all...] |
/external/chromium/webkit/glue/ |
webvideoframe_impl.h | 8 #include "media/base/video_frame.h" 19 WebVideoFrameImpl(scoped_refptr<media::VideoFrame> video_frame);
|
/external/chromium_org/content/browser/renderer_host/ |
render_widget_host_view_browsertest.cc | 24 #include "media/base/video_frame.h" 543 scoped_refptr<media::VideoFrame> video_frame, 556 video_frame->visible_rect().width(), 557 video_frame->visible_rect().height()); 564 video_renderer.Paint(video_frame.get(), 566 video_frame->visible_rect(), 601 bool video_frame) { 650 if (video_frame) { 657 scoped_refptr<media::VideoFrame> video_frame = local 668 video_frame, 723 bool video_frame = false; local 737 bool video_frame = false; local 754 bool video_frame = false; local 771 bool video_frame = false; local 788 bool video_frame = true; local 806 bool video_frame = true; local 851 bool video_frame = false; local 869 bool video_frame = true; local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
capturerenderadapter.cc | 99 const VideoFrame* video_frame) { 104 MaybeSetRenderingSize(video_frame); 109 video_renderer->RenderFrame(video_frame);
|
/external/chromium_org/media/video/capture/mac/ |
video_capture_device_mac.h | 38 void ReceiveFrame(const uint8* video_frame, int video_frame_length,
|