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.cc115 const gfx::Rect& view_area, in LetterboxPlane() argument
123 CHECK_GE(view_area.x(), 0); in LetterboxPlane()
124 CHECK_GE(view_area.y(), 0); in LetterboxPlane()
125 CHECK_LE(view_area.right(), row_bytes); in LetterboxPlane()
126 CHECK_LE(view_area.bottom(), rows); in LetterboxPlane()
129 for (; y < view_area.y(); y++) { in LetterboxPlane()
133 if (view_area.width() < row_bytes) { in LetterboxPlane()
134 for (; y < view_area.bottom(); y++) { in LetterboxPlane()
135 if (view_area.x() > 0) { in LetterboxPlane()
136 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.h59 const gfx::Rect& view_area);