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

123456

/external/chromium_org/third_party/webrtc/modules/utility/source/
H A Dframe_scaler.cc25 int FrameScaler::ResizeFrameIfNeeded(I420VideoFrame* video_frame, argument
28 if (video_frame->IsZeroSize()) {
32 if ((video_frame->width() != out_width) ||
33 (video_frame->height() != out_height)) {
34 // Set correct scale settings and scale |video_frame| into |scaled_frame_|.
35 scaler_->Set(video_frame->width(), video_frame->height(), out_width,
37 int ret = scaler_->Scale(*video_frame, &scaled_frame_);
42 scaled_frame_.set_render_time_ms(video_frame->render_time_ms());
43 scaled_frame_.set_timestamp(video_frame
[all...]
H A Dframe_scaler.h33 // Re-sizes |video_frame| so that it has the width |out_width| and height
35 int ResizeFrameIfNeeded(I420VideoFrame* video_frame,
/external/chromium_org/third_party/webrtc/video_engine/
H A Dvie_file_image.h24 I420VideoFrame* video_frame);
27 I420VideoFrame* video_frame);
H A Dvie_renderer.cc54 I420VideoFrame& video_frame) {
55 return render_module_.GetLastRenderedFrame(renderID, video_frame);
139 I420VideoFrame* video_frame,
142 render_callback_->RenderFrame(render_id_, *video_frame);
176 I420VideoFrame& video_frame) {
177 if (video_frame.native_handle() != NULL) {
178 NotifyFrameSizeChange(stream_id, video_frame);
183 video_frame.timestamp(),
184 video_frame.ntp_time_ms(),
185 video_frame
53 GetLastRenderedFrame(const int32_t renderID, I420VideoFrame& video_frame) argument
138 DeliverFrame(int id, I420VideoFrame* video_frame, int num_csrcs, const uint32_t CSRC[kRtpCsrcSize]) argument
174 RenderFrame( const uint32_t stream_id, I420VideoFrame& video_frame) argument
255 NotifyFrameSizeChange( const uint32_t stream_id, I420VideoFrame& video_frame) argument
[all...]
H A Dvie_capturer.cc281 int ViECapturer::IncomingFrame(unsigned char* video_frame, argument
294 return external_capture_module_->IncomingFrame(video_frame,
299 int ViECapturer::IncomingFrameI420(const ViEVideoFrameI420& video_frame, argument
305 int size_y = video_frame.height * video_frame.y_pitch;
306 int size_u = video_frame.u_pitch * ((video_frame.height + 1) / 2);
307 int size_v = video_frame.v_pitch * ((video_frame.height + 1) / 2);
310 video_frame
338 OnIncomingCapturedFrame(const int32_t capture_id, I420VideoFrame& video_frame) argument
481 DeliverI420Frame(I420VideoFrame* video_frame) argument
[all...]
H A Dvie_file_image.cc28 I420VideoFrame* video_frame) {
59 int ret = ConvertJpegToI420(image_buffer, video_frame);
73 I420VideoFrame* video_frame) {
75 video_frame->CreateEmptyFrame(picture.width, picture.height,
79 0, kRotateNone, video_frame);
26 ConvertJPEGToVideoFrame(int engine_id, const char* file_nameUTF8, I420VideoFrame* video_frame) argument
71 ConvertPictureToI420VideoFrame(int engine_id, const ViEPicture& picture, I420VideoFrame* video_frame) argument
/external/chromium_org/media/filters/
H A Dskcanvas_video_renderer.cc8 #include "media/base/video_frame.h"
77 // Converts a |video_frame| to raw |rgb_pixels|.
79 const scoped_refptr<media::VideoFrame>& video_frame,
82 DCHECK(IsYUVOrNative(video_frame->format()))
83 << video_frame->format();
84 if (IsYUV(video_frame->format())) {
85 DCHECK_EQ(video_frame->stride(media::VideoFrame::kUPlane),
86 video_frame->stride(media::VideoFrame::kVPlane));
91 if (IsYUV(video_frame->format())) {
92 int y_shift = (video_frame
78 ConvertVideoFrameToRGBPixels( const scoped_refptr<media::VideoFrame>& video_frame, void* rgb_pixels, size_t row_bytes) argument
297 Paint(const scoped_refptr<VideoFrame>& video_frame, SkCanvas* canvas, const gfx::RectF& dest_rect, uint8 alpha, SkXfermode::Mode mode, VideoRotation video_rotation) argument
369 Copy(const scoped_refptr<VideoFrame>& video_frame, SkCanvas* canvas) argument
[all...]
/external/chromium_org/third_party/webrtc/
H A Dvideo_renderer.h23 virtual void RenderFrame(const I420VideoFrame& video_frame,
/external/chromium_org/media/tools/player_x11/
H A Dx11_video_renderer.cc14 #include "media/base/video_frame.h"
87 const scoped_refptr<media::VideoFrame>& video_frame) {
89 Initialize(video_frame->coded_size(), video_frame->visible_rect());
91 const int coded_width = video_frame->coded_size().width();
92 const int coded_height = video_frame->coded_size().height();
93 const int visible_width = video_frame->visible_rect().width();
94 const int visible_height = video_frame->visible_rect().height();
103 DCHECK(video_frame->format() == media::VideoFrame::YV12 ||
104 video_frame
86 Paint( const scoped_refptr<media::VideoFrame>& video_frame) argument
[all...]
H A Dgl_video_renderer.cc12 #include "media/base/video_frame.h"
115 const scoped_refptr<media::VideoFrame>& video_frame) {
117 Initialize(video_frame->coded_size(), video_frame->visible_rect());
120 DCHECK(video_frame->format() == media::VideoFrame::YV12 ||
121 video_frame->format() == media::VideoFrame::I420 ||
122 video_frame->format() == media::VideoFrame::YV16);
123 DCHECK(video_frame->stride(media::VideoFrame::kUPlane) ==
124 video_frame->stride(media::VideoFrame::kVPlane));
131 unsigned int width = video_frame
114 Paint( const scoped_refptr<media::VideoFrame>& video_frame) argument
[all...]
/external/chromium_org/content/renderer/media/webrtc/
H A Dmedia_stream_remote_video_source.cc13 #include "media/base/video_frame.h"
40 void DoRenderFrameOnIOThread(scoped_refptr<media::VideoFrame> video_frame,
77 scoped_refptr<media::VideoFrame> video_frame; local
81 video_frame = static_cast<media::VideoFrame*>(handle->GetHandle());
82 video_frame->set_timestamp(timestamp);
85 video_frame = frame_pool_.CreateFrame(
95 frame->GetYPlane(), frame->GetYPitch(), y_rows, video_frame.get());
97 frame->GetUPlane(), frame->GetUPitch(), uv_rows, video_frame.get());
99 frame->GetVPlane(), frame->GetVPitch(), uv_rows, video_frame.get());
103 (video_frame
119 DoRenderFrameOnIOThread( scoped_refptr<media::VideoFrame> video_frame, const media::VideoCaptureFormat& format) argument
[all...]
/external/chromium_org/media/cast/test/
H A Dlinux_output_window.cc8 #include "media/base/video_frame.h"
120 const scoped_refptr<media::VideoFrame>& video_frame) {
121 CHECK_LE(video_frame->coded_size().width(), image_->width);
122 CHECK_LE(video_frame->coded_size().height(), image_->height);
123 libyuv::I420ToARGB(video_frame->data(VideoFrame::kYPlane),
124 video_frame->stride(VideoFrame::kYPlane),
125 video_frame->data(VideoFrame::kUPlane),
126 video_frame->stride(VideoFrame::kUPlane),
127 video_frame->data(VideoFrame::kVPlane),
128 video_frame
119 RenderFrame( const scoped_refptr<media::VideoFrame>& video_frame) argument
[all...]
/external/chromium_org/third_party/webrtc/modules/video_render/ios/
H A Dvideo_render_ios_channel.mm27 I420VideoFrame& video_frame) {
28 video_frame.set_render_time_ms(0);
30 current_frame_->CopyFrame(video_frame);
H A Dvideo_render_ios_channel.h28 I420VideoFrame& video_frame) OVERRIDE;
/external/chromium_org/third_party/webrtc/test/
H A Dvideo_renderer.cc20 virtual void RenderFrame(const I420VideoFrame& video_frame,
/external/chromium_org/third_party/webrtc/video_engine/mock/
H A Dmock_vie_frame_provider_base.h22 I420VideoFrame* video_frame,
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
H A Dtest_util.cc116 webrtc::I420VideoFrame& video_frame) {
126 if (out_file_ == NULL || video_frame.width() != width_ ||
127 video_frame.height() != height_) {
131 printf("New size: %dx%d\n", video_frame.width(), video_frame.height());
132 width_ = video_frame.width();
133 height_ = video_frame.height();
142 fprintf(timing_file_, "%u, %u\n", video_frame.timestamp(),
143 webrtc::MaskWord64ToUWord32(video_frame.render_time_ms()));
144 if (PrintI420VideoFrame(video_frame, out_file
115 FrameToRender( webrtc::I420VideoFrame& video_frame) argument
[all...]
/external/chromium_org/cc/resources/
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);
111 const scoped_refptr<media::VideoFrame>& video_frame,
/external/chromium_org/media/cast/sender/
H A Dvideo_sender_unittest.cc12 #include "media/base/video_frame.h"
225 scoped_refptr<media::VideoFrame> video_frame = local
228 PopulateVideoFrame(video_frame.get(), last_pixel_value_++);
229 return video_frame;
234 scoped_refptr<media::VideoFrame> video_frame = local
237 PopulateVideoFrameWithNoise(video_frame.get());
238 return video_frame;
259 scoped_refptr<media::VideoFrame> video_frame = GetNewVideoFrame(); local
262 video_sender_->InsertRawVideoFrame(video_frame, capture_time);
272 scoped_refptr<media::VideoFrame> video_frame local
299 scoped_refptr<media::VideoFrame> video_frame = GetNewVideoFrame(); local
323 scoped_refptr<media::VideoFrame> video_frame = GetNewVideoFrame(); local
355 scoped_refptr<media::VideoFrame> video_frame = GetNewVideoFrame(); local
384 scoped_refptr<media::VideoFrame> video_frame = GetNewVideoFrame(); local
390 scoped_refptr<media::VideoFrame> video_frame = GetNewVideoFrame(); local
399 scoped_refptr<media::VideoFrame> video_frame = GetNewVideoFrame(); local
428 scoped_refptr<media::VideoFrame> video_frame = GetNewVideoFrame(); local
437 scoped_refptr<media::VideoFrame> video_frame = GetNewVideoFrame(); local
468 scoped_refptr<media::VideoFrame> video_frame = GetNewVideoFrame(); local
477 scoped_refptr<media::VideoFrame> video_frame = GetNewVideoFrame(); local
520 scoped_refptr<media::VideoFrame> video_frame = GetLargeNewVideoFrame(); local
[all...]
H A Dsoftware_video_encoder.h28 virtual bool Encode(const scoped_refptr<media::VideoFrame>& video_frame,
H A Dvideo_encoder.h13 #include "media/base/video_frame.h"
28 // The video_frame must be valid until the closure callback is called.
34 const scoped_refptr<media::VideoFrame>& video_frame,
/external/chromium_org/third_party/webrtc/modules/video_render/
H A Dincoming_video_stream.cc91 I420VideoFrame& video_frame) {
95 video_frame.render_time_ms());
104 if (true == mirror_frames_enabled_ && video_frame.native_handle() == NULL) {
105 transformed_video_frame_.CreateEmptyFrame(video_frame.width(),
106 video_frame.height(),
107 video_frame.stride(kYPlane),
108 video_frame.stride(kUPlane),
109 video_frame.stride(kVPlane));
111 MirrorI420UpDown(&video_frame,
113 video_frame
90 RenderFrame(const uint32_t stream_id, I420VideoFrame& video_frame) argument
141 SetStartImage( const I420VideoFrame& video_frame) argument
147 SetTimeoutImage( const I420VideoFrame& video_frame, const uint32_t timeout) argument
[all...]
H A Dincoming_video_stream.h40 I420VideoFrame& video_frame);
59 int32_t GetLastRenderedFrame(I420VideoFrame& video_frame) const;
61 int32_t SetStartImage(const I420VideoFrame& video_frame);
63 int32_t SetTimeoutImage(const I420VideoFrame& video_frame,
/external/chromium_org/media/cast/receiver/
H A Dvideo_decoder_unittest.cc72 const scoped_refptr<VideoFrame> video_frame = local
79 PopulateVideoFrame(video_frame.get(), 0);
86 vp8_encoder_.Encode(video_frame, encoded_frame.get());
108 video_frame,
125 const scoped_refptr<VideoFrame>& video_frame,
129 // A NULL |video_frame| indicates a decode error, which we don't expect.
130 ASSERT_FALSE(!video_frame.get());
137 video_frame->coded_size().width());
139 video_frame->coded_size().height());
140 EXPECT_LT(40.0, I420PSNR(expected_video_frame, video_frame));
123 OnDecodedFrame(const scoped_refptr<VideoFrame>& expected_video_frame, bool should_be_continuous, const scoped_refptr<VideoFrame>& video_frame, bool is_continuous) argument
[all...]
/external/chromium_org/content/browser/renderer_host/
H A Drender_widget_host_view_browsertest.cc25 #include "media/base/video_frame.h"
480 scoped_refptr<media::VideoFrame> video_frame,
492 bitmap.allocN32Pixels(video_frame->visible_rect().width(),
493 video_frame->visible_rect().height());
496 video_renderer.Copy(video_frame, &canvas);
527 bool video_frame) {
564 if (video_frame && !rwhvp->CanCopyToVideoFrame()) {
591 if (video_frame) {
598 scoped_refptr<media::VideoFrame> video_frame = local
609 video_frame,
479 CopyFromCompositingSurfaceCallbackForVideo( scoped_refptr<media::VideoFrame> video_frame, base::Closure quit_callback, bool result) argument
524 PerformTestWithLeftRightRects(const gfx::Size& html_rect_size, const gfx::Rect& copy_rect, const gfx::Size& output_size, bool video_frame) argument
675 bool video_frame = false; local
687 bool video_frame = false; local
702 bool video_frame = false; local
717 bool video_frame = false; local
732 bool video_frame = true; local
748 bool video_frame = true; local
821 bool video_frame = false; local
839 bool video_frame = false; local
853 bool video_frame = false; local
868 bool video_frame = true; local
886 bool video_frame = true; local
900 bool video_frame = true; local
[all...]

Completed in 428 milliseconds

123456