/external/chromium_org/media/filters/ |
skcanvas_video_renderer.cc | 8 #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->visible_rect().width() / local_dest_irect_saved.width() [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->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|. This method works with singl 357 scoped_refptr<VideoFrame> video_frame; local 420 scoped_refptr<VideoFrame> video_frame; local [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" 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)) { [all...] |
vpx_video_decoder.cc | 24 #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); [all...] |
vpx_video_decoder.h | 13 #include "media/base/video_frame.h" 61 scoped_refptr<VideoFrame>* video_frame); 68 scoped_refptr<VideoFrame>* video_frame);
|
/external/chromium_org/media/cast/video_sender/ |
video_sender_unittest.cc | 10 #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.frame_id = 0 144 EncodedVideoFrame video_frame; local 170 scoped_refptr<media::VideoFrame> video_frame = GetNewVideoFrame(); local [all...] |
video_sender.h | 54 // 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,
|
video_encoder.cc | 10 #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());
|
video_encoder.h | 37 // The video_frame must be valid until the closure callback is called. 42 bool EncodeVideoFrame(const scoped_refptr<media::VideoFrame>& video_frame, 55 const scoped_refptr<media::VideoFrame>& 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/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.cc | 12 #include "media/base/video_frame.h" 114 void GlVideoRenderer::Paint(media::VideoFrame* video_frame) { 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->rows(i) [all...] |
/external/chromium_org/media/cast/test/ |
linux_output_window.cc | 8 #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->coded_size().width() [all...] |
/external/chromium_org/media/cast/framer/ |
frame_buffer.cc | 86 bool FrameBuffer::GetEncodedVideoFrame(EncodedVideoFrame* video_frame, 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/content/renderer/media/webrtc/ |
webrtc_video_sink_adapter.cc | 12 #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) { [all...] |
/external/chromium_org/cc/resources/ |
video_resource_updater_unittest.cc | 12 #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);
|
video_resource_updater.cc | 12 #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->format()) [all...] |
video_resource_updater.h | 73 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);
|
/external/chromium/webkit/glue/ |
webvideoframe_impl.h | 8 #include "media/base/video_frame.h" 19 WebVideoFrameImpl(scoped_refptr<media::VideoFrame> video_frame);
|
webvideoframe_impl.cc | 7 #include "media/base/video_frame.h" 24 scoped_refptr<media::VideoFrame> video_frame) 25 : video_frame_(video_frame) {
|
/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/media/cast/net/rtp_sender/rtp_packetizer/ |
rtp_packetizer.cc | 37 const EncodedVideoFrame* video_frame, 46 Cast(video_frame->key_frame, 47 video_frame->frame_id, 48 video_frame->last_referenced_frame_id, 50 video_frame->data);
|
/external/chromium_org/content/browser/renderer_host/ |
render_widget_host_view_browsertest.cc | 25 #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 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/content/renderer/media/ |
rtc_video_renderer.cc | 9 #include "media/base/video_frame.h" 104 scoped_refptr<media::VideoFrame> video_frame = local 106 OnVideoFrame(video_frame);
|