Home
last modified time | relevance | path

Searched refs:view_area (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/media/base/
Dvideo_util.cc101 const gfx::Rect& view_area, in LetterboxPlane() argument
109 CHECK_GE(view_area.x(), 0); in LetterboxPlane()
110 CHECK_GE(view_area.y(), 0); in LetterboxPlane()
111 CHECK_LE(view_area.right(), row_bytes); in LetterboxPlane()
112 CHECK_LE(view_area.bottom(), rows); in LetterboxPlane()
115 for (; y < view_area.y(); y++) { in LetterboxPlane()
119 if (view_area.width() < row_bytes) { in LetterboxPlane()
120 for (; y < view_area.bottom(); y++) { in LetterboxPlane()
121 if (view_area.x() > 0) { in LetterboxPlane()
122 memset(ptr, fill_byte, view_area.x()); in LetterboxPlane()
[all …]
Dvideo_util_unittest.cc363 gfx::Rect view_area(left_margin, top_margin, in TEST_F() local
367 LetterboxYUV(frame.get(), view_area); in TEST_F()
370 bool inside = x >= view_area.x() && in TEST_F()
371 x < view_area.x() + view_area.width() && in TEST_F()
372 y >= view_area.y() && in TEST_F()
373 y < view_area.y() + view_area.height(); in TEST_F()
Dvideo_util.h52 const gfx::Rect& view_area);