/external/chromium_org/content/test/ |
test_video_frame_provider.cc | 10 #include "media/base/video_frame.h" 66 scoped_refptr<media::VideoFrame> video_frame = local 73 repaint_cb_.Run(video_frame);
|
/external/chromium_org/cc/resources/ |
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);
|
/external/chromium_org/ppapi/tests/ |
test_video_source.cc | 114 const pp::VideoFrame_Private video_frame = cc2.output(); local 115 ASSERT_FALSE(video_frame.image_data().is_null());
|
/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...] |
webmediaplayer_impl.cc | 40 #include "media/base/video_frame.h" 518 scoped_refptr<media::VideoFrame> video_frame; local 521 video_frame = current_frame_; 524 skcanvas_video_renderer_.Paint(video_frame.get(), canvas, gfx_rect, alpha); 602 scoped_refptr<media::VideoFrame> video_frame; local 605 video_frame = current_frame_; 608 if (!video_frame.get()) 610 if (video_frame->format() != media::VideoFrame::NATIVE_TEXTURE) 612 if (video_frame->texture_target() != GL_TEXTURE_2D) 616 video_frame->texture_mailbox() [all...] |
/external/chromium_org/media/filters/ |
fake_video_decoder.cc | 68 scoped_refptr<VideoFrame> video_frame = VideoFrame::CreateColorFrame( local 70 decoded_frames_.push_back(video_frame); 188 const scoped_refptr<VideoFrame>& video_frame) { 191 decode_cb.Run(status, 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...] |
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...] |
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...] |
/external/chromium_org/media/tools/shader_bench/ |
shader_bench.cc | 16 #include "media/base/video_frame.h" 55 scoped_refptr<media::VideoFrame> video_frame = local 60 fread(video_frame->data(0), 1, frame_size, file_handle); 67 out_frames.push_back(video_frame);
|
/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...] |
/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/webkit/glue/ |
webmediaplayer_impl.cc | 18 #include "media/base/video_frame.h" 746 scoped_refptr<media::VideoFrame> video_frame; local 747 proxy_->GetCurrentFrame(&video_frame); 748 if (video_frame.get()) 749 return new WebVideoFrameImpl(video_frame); 756 scoped_refptr<media::VideoFrame> video_frame( 758 proxy_->PutCurrentFrame(video_frame);
|
/external/qemu/android/camera/ |
camera-service.c | 595 uint8_t* video_frame; member in struct:CameraClient 597 * This address points inside the 'video_frame' buffer. */ 627 if (cc->video_frame != NULL) { 628 free(cc->video_frame); 768 if (cc->video_frame != NULL) { 853 if (cc->video_frame != NULL) { [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
webrtcvideoengine.cc | 258 WebRtcVideoFrame video_frame; local 259 video_frame.Attach(buffer, buffer_size, width_, height_, 269 int ret = renderer_->RenderFrame(&video_frame) ? 0 : -1; 272 video_frame.Detach(&buffer_temp, &buffer_size_temp); 277 WebRtcTextureVideoFrame video_frame( 280 return renderer_->RenderFrame(&video_frame); [all...] |