Home
last modified time | relevance | path

Searched refs:region_in_frame (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/content/browser/renderer_host/media/
Ddesktop_capture_device_aura.cc138 gfx::Point UpdateCursorState(const gfx::Rect& region_in_frame);
302 gfx::Rect region_in_frame = in DidCopyOutput() local
305 region_in_frame = gfx::Rect(region_in_frame.x() & ~1, in DidCopyOutput()
306 region_in_frame.y() & ~1, in DidCopyOutput()
307 region_in_frame.width() & ~1, in DidCopyOutput()
308 region_in_frame.height() & ~1); in DidCopyOutput()
309 if (region_in_frame.IsEmpty()) in DidCopyOutput()
328 yuv_readback_pipeline_->scaler()->DstSize() != region_in_frame.size()) { in DidCopyOutput()
334 region_in_frame, in DidCopyOutput()
339 gfx::Point cursor_position_in_frame = UpdateCursorState(region_in_frame); in DidCopyOutput()
[all …]
Dweb_contents_video_capture_device.cc470 gfx::Rect region_in_frame = ComputeYV12LetterboxRegion( in RenderVideoFrame() local
475 if (input.width() != region_in_frame.width() || in RenderVideoFrame()
476 input.height() != region_in_frame.height()) { in RenderVideoFrame()
479 if (input.width() < region_in_frame.width() || in RenderVideoFrame()
480 input.height() < region_in_frame.height()) { in RenderVideoFrame()
490 region_in_frame.width(), in RenderVideoFrame()
491 region_in_frame.height()); in RenderVideoFrame()
503 region_in_frame, in RenderVideoFrame()
/external/chromium_org/media/base/
Dvideo_util.cc281 const gfx::Rect& region_in_frame, in CopyRGBToVideoFrame() argument
289 if (region_in_frame != gfx::Rect(frame->coded_size())) { in CopyRGBToVideoFrame()
290 LetterboxYUV(frame, region_in_frame); in CopyRGBToVideoFrame()
293 const int y_offset = region_in_frame.x() in CopyRGBToVideoFrame()
294 + (region_in_frame.y() * frame->stride(kY)); in CopyRGBToVideoFrame()
295 const int uv_offset = region_in_frame.x() / 2 in CopyRGBToVideoFrame()
296 + (region_in_frame.y() / 2 * uv_stride); in CopyRGBToVideoFrame()
302 region_in_frame.width(), in CopyRGBToVideoFrame()
303 region_in_frame.height(), in CopyRGBToVideoFrame()
Dvideo_util.h84 const gfx::Rect& region_in_frame,
/external/chromium_org/content/browser/renderer_host/
Dcompositing_iosurface_mac.mm106 // Copies tightly-packed scanlines from |buf| to |region_in_frame| in the given
108 // |region_in_frame.width()| and its stride is always in 4-byte alignment.
114 const gfx::Rect& region_in_frame,
127 media::LetterboxYUV(target.get(), region_in_frame);
130 int packed_width = region_in_frame.width();
131 int packed_height = region_in_frame.height();
147 dst += (region_in_frame.y() * dst_stride) + region_in_frame.x();
149 dst += (region_in_frame.y() / 2 * dst_stride) + (region_in_frame.x() / 2);
539 gfx::Rect region_in_frame = media::ComputeLetterboxRegion(
544 region_in_frame = gfx::Rect(region_in_frame.x() & ~1,
[all …]
Drender_widget_host_view_aura.cc1971 gfx::Rect region_in_frame = in CopyFromCompositingSurfaceHasResultForVideo() local
1974 region_in_frame = gfx::Rect(region_in_frame.x() & ~1, in CopyFromCompositingSurfaceHasResultForVideo()
1975 region_in_frame.y() & ~1, in CopyFromCompositingSurfaceHasResultForVideo()
1976 region_in_frame.width() & ~1, in CopyFromCompositingSurfaceHasResultForVideo()
1977 region_in_frame.height() & ~1); in CopyFromCompositingSurfaceHasResultForVideo()
1978 if (region_in_frame.IsEmpty()) in CopyFromCompositingSurfaceHasResultForVideo()
1988 if (result->size().width() != region_in_frame.width() || in CopyFromCompositingSurfaceHasResultForVideo()
1989 result->size().height() != region_in_frame.height()) { in CopyFromCompositingSurfaceHasResultForVideo()
1993 region_in_frame.width(), in CopyFromCompositingSurfaceHasResultForVideo()
1994 region_in_frame.height()); in CopyFromCompositingSurfaceHasResultForVideo()
[all …]