Home
last modified time | relevance | path

Searched refs:dest_rect (Results 1 – 9 of 9) sorted by relevance

/third_party/gstreamer/gstplugins_bad/sys/d3dvideosink/
Dgstd3d9overlay.c83 gst_d3d9_overlay_calc_dest_rect (GstD3DVideoSink * sink, RECT * dest_rect);
88 gst_d3d9_overlay_calc_dest_rect (GstD3DVideoSink * sink, RECT * dest_rect) in gst_d3d9_overlay_calc_dest_rect() argument
115 dest_rect->left = result.x; in gst_d3d9_overlay_calc_dest_rect()
116 dest_rect->top = result.y; in gst_d3d9_overlay_calc_dest_rect()
117 dest_rect->right = result.x + result.w; in gst_d3d9_overlay_calc_dest_rect()
118 dest_rect->bottom = result.y + result.h; in gst_d3d9_overlay_calc_dest_rect()
120 dest_rect->left = 0; in gst_d3d9_overlay_calc_dest_rect()
121 dest_rect->top = 0; in gst_d3d9_overlay_calc_dest_rect()
122 dest_rect->right = sink->d3d.render_rect->w; in gst_d3d9_overlay_calc_dest_rect()
123 dest_rect->bottom = sink->d3d.render_rect->h; in gst_d3d9_overlay_calc_dest_rect()
[all …]
/third_party/weston/libweston/backend-drm/
Dstate-helpers.c182 pixman_region32_t dest_rect, src_rect; in drm_plane_state_coords_for_view() local
197 pixman_region32_init(&dest_rect); in drm_plane_state_coords_for_view()
198 pixman_region32_intersect(&dest_rect, &ev->transform.boundingbox, in drm_plane_state_coords_for_view()
200 pixman_region32_translate(&dest_rect, -output->base.x, -output->base.y); in drm_plane_state_coords_for_view()
201 box = pixman_region32_extents(&dest_rect); in drm_plane_state_coords_for_view()
211 pixman_region32_fini(&dest_rect); in drm_plane_state_coords_for_view()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11converter.cpp438 RECT dest_rect; member
1770 self->dest_rect.left = 0; in gst_d3d11_color_convert_setup_shader()
1771 self->dest_rect.top = 0; in gst_d3d11_color_convert_setup_shader()
1772 self->dest_rect.right = GST_VIDEO_INFO_WIDTH (out_info); in gst_d3d11_color_convert_setup_shader()
1773 self->dest_rect.bottom = GST_VIDEO_INFO_HEIGHT (out_info); in gst_d3d11_color_convert_setup_shader()
1985 const RECT *dest_rect = &self->dest_rect; in gst_d3d11_converter_update_vertex_buffer() local
2002 gst_util_fraction_to_double (dest_rect->left, in gst_d3d11_converter_update_vertex_buffer()
2006 gst_util_fraction_to_double (dest_rect->bottom, in gst_d3d11_converter_update_vertex_buffer()
2011 gst_util_fraction_to_double (dest_rect->right, in gst_d3d11_converter_update_vertex_buffer()
2015 gst_util_fraction_to_double (dest_rect->top, in gst_d3d11_converter_update_vertex_buffer()
[all …]
Dgstd3d11converter.h65 RECT * dest_rect);
/third_party/mesa3d/src/gallium/frontends/nine/
Dswapchain9.c728 RECT dest_rect; in present() local
762 dest_rect = *pDestRect; in present()
785 dest_rect.top = MAX2(0, dest_rect.top); in present()
786 dest_rect.left = MAX2(0, dest_rect.left); in present()
787 dest_rect.bottom = MIN2(target_height, dest_rect.bottom); in present()
788 dest_rect.right = MIN2(target_width, dest_rect.right); in present()
789 target_height = dest_rect.bottom - dest_rect.top; in present()
790 target_width = dest_rect.right - dest_rect.left; in present()
930 …his->present_handles[0], hDestWindowOverride, pSourceRect, pDestRect ? &dest_rect : NULL, NULL, dw… in present()
/third_party/wayland-ivi-extension/weston-ivi-shell/src/
Divi-controller.c897 struct weston_geometry *dest_rect, argument
911 if ((dest_rect->width != source_rect->width) ||
912 (dest_rect->height != source_rect->height))
914 scale_x = ((float)dest_rect->width) / source_rect->width;
915 scale_y = ((float)dest_rect->height) / source_rect->height;
920 translate_x = dest_rect->width * 0.5f + dest_rect->x;
921 translate_y = dest_rect->height * 0.5f + dest_rect->y;
933 struct weston_geometry dest_rect = {0}; local
969 dest_rect.width = dest_width;
970 dest_rect.height = dest_height;
[all …]
/third_party/weston/ivi-shell/
Divi-layout.c353 struct ivi_rectangle *dest_rect, in calc_transformation_matrix() argument
367 if ((dest_rect->width != source_rect->width) || in calc_transformation_matrix()
368 (dest_rect->height != source_rect->height)) in calc_transformation_matrix()
370 scale_x = (float) dest_rect->width / (float) source_rect->width; in calc_transformation_matrix()
371 scale_y = (float) dest_rect->height / (float) source_rect->height; in calc_transformation_matrix()
375 translate_x = dest_rect->width * 0.5f + dest_rect->x; in calc_transformation_matrix()
376 translate_y = dest_rect->height * 0.5f + dest_rect->y; in calc_transformation_matrix()
/third_party/gstreamer/gstplugins_good/sys/rpicamsrc/
DRaspiPreview.c176 param.dest_rect = config->previewWindow; in raspipreview_update_config()
/third_party/gstreamer/gstplugins_bad/sys/winscreencap/
Ddxgicapture.c161 RECT * dest_rect, const D3D11_TEXTURE2D_DESC * dst_desc, RECT * rect,