Home
last modified time | relevance | path

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

/third_party/cef/tests/cefclient/browser/
Dosr_render_handler_win_d3d11.cc41 const auto outer_width = comp->width(); in set_bounds() local
43 if (outer_width == 0 || outer_height == 0) in set_bounds()
55 if (bounds_.x + bounds_.width > outer_width) in set_bounds()
56 bounds_.x = outer_width - bounds_.width; in set_bounds()
65 const auto x = bounds_.x / float(outer_width); in set_bounds()
67 const auto w = bounds_.width / float(outer_width); in set_bounds()
/third_party/gstreamer/gstplugins_base/gst/compositor/
Dcompositor.c438 clamp_rectangle (gint x, gint y, gint w, gint h, gint outer_width, in clamp_rectangle() argument
449 clamped.x = CLAMP (x, 0, outer_width); in clamp_rectangle()
451 clamped.w = CLAMP (x2, 0, outer_width) - clamped.x; in clamp_rectangle()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11compositor.cpp1197 clamp_rectangle (gint x, gint y, gint w, gint h, gint outer_width, in clamp_rectangle() argument
1208 clamped.x = CLAMP (x, 0, outer_width); in clamp_rectangle()
1210 clamped.w = CLAMP (x2, 0, outer_width) - clamped.x; in clamp_rectangle()