Searched refs:region_in_frame (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/content/browser/renderer_host/media/
H A Ddesktop_capture_device_aura.cc136 // |region_in_frame| defines the desktop bound in the captured frame.
138 gfx::Point UpdateCursorState(const gfx::Rect& region_in_frame);
302 gfx::Rect region_in_frame =
305 region_in_frame = gfx::Rect(region_in_frame.x() & ~1,
306 region_in_frame.y() & ~1,
307 region_in_frame.width() & ~1,
308 region_in_frame.height() & ~1);
309 if (region_in_frame.IsEmpty())
328 yuv_readback_pipeline_->scaler()->DstSize() != region_in_frame
347 UpdateCursorState( const gfx::Rect& region_in_frame) argument
[all...]
H A Dweb_contents_video_capture_device.cc470 gfx::Rect region_in_frame = ComputeYV12LetterboxRegion( local
475 if (input.width() != region_in_frame.width() ||
476 input.height() != region_in_frame.height()) {
479 if (input.width() < region_in_frame.width() ||
480 input.height() < region_in_frame.height()) {
490 region_in_frame.width(),
491 region_in_frame.height());
503 region_in_frame, local
/external/chromium_org/media/base/
H A Dvideo_util.cc281 const gfx::Rect& region_in_frame,
289 if (region_in_frame != gfx::Rect(frame->coded_size())) {
290 LetterboxYUV(frame, region_in_frame);
293 const int y_offset = region_in_frame.x()
294 + (region_in_frame.y() * frame->stride(kY));
295 const int uv_offset = region_in_frame.x() / 2
296 + (region_in_frame.y() / 2 * uv_stride);
302 region_in_frame.width(),
303 region_in_frame.height(),
279 CopyRGBToVideoFrame(const uint8* source, int stride, const gfx::Rect& region_in_frame, VideoFrame* frame) argument
H A Dvideo_util.h80 // Copy an RGB bitmap into the specified |region_in_frame| of a YUV video frame.
81 // Fills the regions outside |region_in_frame| with black.
84 const gfx::Rect& region_in_frame,
/external/chromium_org/content/browser/renderer_host/
H A Drender_widget_host_view_aura.cc1971 gfx::Rect region_in_frame =
1974 region_in_frame = gfx::Rect(region_in_frame.x() & ~1,
1975 region_in_frame.y() & ~1,
1976 region_in_frame.width() & ~1,
1977 region_in_frame.height() & ~1);
1978 if (region_in_frame.IsEmpty())
1988 if (result->size().width() != region_in_frame.width() ||
1989 result->size().height() != region_in_frame.height()) {
1993 region_in_frame
2005 region_in_frame, local
[all...]

Completed in 72 milliseconds