Home
last modified time | relevance | path

Searched refs:rst_rect (Results 1 – 4 of 4) sorted by relevance

/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11window_dummy.cpp223 GstVideoRectangle src_rect, dst_rect, rst_rect; in gst_d3d11_window_dummy_on_resize() local
236 gst_video_sink_center_rect (src_rect, dst_rect, &rst_rect, TRUE); in gst_d3d11_window_dummy_on_resize()
238 rst_rect = dst_rect; in gst_d3d11_window_dummy_on_resize()
241 window->render_rect.left = rst_rect.x; in gst_d3d11_window_dummy_on_resize()
242 window->render_rect.top = rst_rect.y; in gst_d3d11_window_dummy_on_resize()
243 window->render_rect.right = rst_rect.x + rst_rect.w; in gst_d3d11_window_dummy_on_resize()
244 window->render_rect.bottom = rst_rect.y + rst_rect.h; in gst_d3d11_window_dummy_on_resize()
Dgstd3d11window.cpp291 GstVideoRectangle src_rect, dst_rect, rst_rect; in gst_d3d11_window_on_resize_default() local
335 gst_video_sink_center_rect (src_rect, dst_rect, &rst_rect, TRUE); in gst_d3d11_window_on_resize_default()
337 rst_rect = dst_rect; in gst_d3d11_window_on_resize_default()
341 window->render_rect.left = rst_rect.x; in gst_d3d11_window_on_resize_default()
342 window->render_rect.top = rst_rect.y; in gst_d3d11_window_on_resize_default()
343 window->render_rect.right = rst_rect.x + rst_rect.w; in gst_d3d11_window_on_resize_default()
344 window->render_rect.bottom = rst_rect.y + rst_rect.h; in gst_d3d11_window_on_resize_default()
348 desc.Width, desc.Height, rst_rect.x, rst_rect.y, rst_rect.w, rst_rect.h); in gst_d3d11_window_on_resize_default()
Dgstd3d11compositor.cpp1151 GstVideoRectangle src_rect, dst_rect, rst_rect; in gst_d3d11_compositor_pad_get_output_size() local
1168 gst_video_center_rect (&src_rect, &dst_rect, &rst_rect, TRUE); in gst_d3d11_compositor_pad_get_output_size()
1172 pad_width, pad_height, rst_rect.w, rst_rect.h, rst_rect.x, in gst_d3d11_compositor_pad_get_output_size()
1173 rst_rect.h); in gst_d3d11_compositor_pad_get_output_size()
1175 *x_offset = rst_rect.x; in gst_d3d11_compositor_pad_get_output_size()
1176 *y_offset = rst_rect.y; in gst_d3d11_compositor_pad_get_output_size()
1177 pad_width = rst_rect.w; in gst_d3d11_compositor_pad_get_output_size()
1178 pad_height = rst_rect.h; in gst_d3d11_compositor_pad_get_output_size()
/third_party/gstreamer/gstplugins_base/gst/compositor/
Dcompositor.c380 GstVideoRectangle src_rect, dst_rect, rst_rect; in _mixer_pad_get_output_size() local
397 gst_video_center_rect (&src_rect, &dst_rect, &rst_rect, TRUE); in _mixer_pad_get_output_size()
401 pad_width, pad_height, rst_rect.w, rst_rect.h, rst_rect.x, in _mixer_pad_get_output_size()
402 rst_rect.h); in _mixer_pad_get_output_size()
404 *x_offset = rst_rect.x; in _mixer_pad_get_output_size()
405 *y_offset = rst_rect.y; in _mixer_pad_get_output_size()
406 pad_width = rst_rect.w; in _mixer_pad_get_output_size()
407 pad_height = rst_rect.h; in _mixer_pad_get_output_size()