gstreamer/sys/d3d11
Seungha Yang 2a7ecf17f9 d3d11videosink: Add support for GstVideoOverlay::set_render_rectangle
Inspired by an MR https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2382

The idea is that we can make use of MoveWindow() in WIN32 d3d11window
implementation safely because WIN32 d3d11window implementation creates
internal HWND even when external HWND is set and then subclassing is used to
draw on internal HWND in any case. So the coordinates passed to MoveWindow()
will be relative to parent HWND, and it meets well to the concept of
set_render_rectangle().

On MoveWindow() event, WM_SIZE event will be generated by OS and then
GstD3D11WindowWin32 implementation will update render area including swapchain
correspondingly, as if it's normal window move/resize case.

But in case of UWP (CoreWindow or SwapChainPanel), we need more research to
meet expected behavior of set_render_rectangle()

Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1416
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2450>
2021-08-02 16:40:14 +09:00
..
gstd3d11av1dec.cpp d3d11: Add AV1 decoder 2021-06-29 07:12:27 +00:00
gstd3d11av1dec.h d3d11: Add AV1 decoder 2021-06-29 07:12:27 +00:00
gstd3d11basefilter.cpp d3d11: Handle device change 2021-04-28 16:26:58 +09:00
gstd3d11basefilter.h d3d11: Move core methods to gst-libs 2021-01-13 15:01:20 +00:00
gstd3d11compositor.cpp d3d11compositor: Add scaling policy to support PAR-aware scaling 2021-06-30 06:10:29 +00:00
gstd3d11compositor.h d3d11compositor: Add scaling policy to support PAR-aware scaling 2021-06-30 06:10:29 +00:00
gstd3d11compositorbin.cpp d3d11compositor: Add scaling policy to support PAR-aware scaling 2021-06-30 06:10:29 +00:00
gstd3d11compositorbin.h d3d11: Move core methods to gst-libs 2021-01-13 15:01:20 +00:00
gstd3d11convert.cpp d3d11converter: Introduce config to be extensible 2021-05-28 21:44:10 +09:00
gstd3d11convert.h d3d11: Port to C++ 2021-03-14 13:05:22 +09:00
gstd3d11converter.cpp d3d11: Add support for GRAY and more YUV formats 2021-06-23 15:35:36 +00:00
gstd3d11converter.h d3d11converter: Introduce config to be extensible 2021-05-28 21:44:10 +09:00
gstd3d11decoder.cpp d3d11decoder: Enable zero-copy for Qualcomm 2021-07-05 12:17:55 +00:00
gstd3d11decoder.h d3d11: Add AV1 decoder 2021-06-29 07:12:27 +00:00
gstd3d11deinterlace.cpp d3d11: Add support for GRAY and more YUV formats 2021-06-23 15:35:36 +00:00
gstd3d11deinterlace.h d3d11: Add support for deinterlacing by using ID3D11VideoProcessor interface 2021-02-17 03:52:19 +09:00
gstd3d11desktopdup.cpp d3d11desktopdupsrc: Add support for desktop size/rotation mode change 2021-05-20 17:05:24 +00:00
gstd3d11desktopdup.h d3d11desktopdupsrc: Add support for desktop size/rotation mode change 2021-05-20 17:05:24 +00:00
gstd3d11desktopdupsrc.cpp d3d11desktopdupsrc: Add support for desktop size/rotation mode change 2021-05-20 17:05:24 +00:00
gstd3d11desktopdupsrc.h d3d11desktopdupsrc: Add support for desktop size/rotation mode change 2021-05-20 17:05:24 +00:00
gstd3d11download.cpp d3d11: Port to C++ 2021-03-14 13:05:22 +09:00
gstd3d11download.h d3d11: Move to G_DECLARE_FINAL_TYPE 2020-10-04 15:44:03 +00:00
gstd3d11h264dec.cpp d3d11decoder: Don't print error log when no DPB texture is available 2021-06-14 07:02:20 +00:00
gstd3d11h264dec.h d3d11decoder: Register elements per GPU device with capability check 2020-02-18 11:58:45 +00:00
gstd3d11h265dec.cpp d3d11decoder: Don't print error log when no DPB texture is available 2021-06-14 07:02:20 +00:00
gstd3d11h265dec.h d3d11decoder: Register elements per GPU device with capability check 2020-02-18 11:58:45 +00:00
gstd3d11mpeg2dec.cpp d3d11decoder: Don't print error log when no DPB texture is available 2021-06-14 07:02:20 +00:00
gstd3d11mpeg2dec.h d3d11: Add support for MPEG-2 video decoding 2021-01-25 18:05:53 +00:00
gstd3d11overlaycompositor.cpp d3d11converter: Introduce config to be extensible 2021-05-28 21:44:10 +09:00
gstd3d11overlaycompositor.h d3d11: Move core methods to gst-libs 2021-01-13 15:01:20 +00:00
gstd3d11pluginutils.cpp d3d11: pluginutils: Fix wrong gst_memory_unmap() on _map() failure 2021-04-15 00:05:03 +09:00
gstd3d11pluginutils.h d3d11: Implement memory pool 2021-03-24 15:44:42 +00:00
gstd3d11shader.cpp d3d11converter: Introduce config to be extensible 2021-05-28 21:44:10 +09:00
gstd3d11shader.h d3d11converter: Introduce config to be extensible 2021-05-28 21:44:10 +09:00
gstd3d11upload.cpp d3d11: Don't accept buffer pool which holds different device 2021-04-28 00:25:57 +09:00
gstd3d11upload.h d3d11: Move to G_DECLARE_FINAL_TYPE 2020-10-04 15:44:03 +00:00
gstd3d11videoprocessor.cpp Revert "d3d11: Enable native multi-thread protection layer and make use of it" 2021-03-20 17:53:58 +09:00
gstd3d11videoprocessor.h d3d11: Port to C++ 2021-03-14 13:05:22 +09:00
gstd3d11videosink.cpp d3d11videosink: Add support for GstVideoOverlay::set_render_rectangle 2021-08-02 16:40:14 +09:00
gstd3d11videosink.h d3d11: Remove d3d11videosink wrapper bin 2021-04-20 02:01:30 +09:00
gstd3d11vp8dec.cpp d3d11decoder: Don't print error log when no DPB texture is available 2021-06-14 07:02:20 +00:00
gstd3d11vp8dec.h d3d11decoder: Add VP8 decoder element 2020-04-22 23:20:44 +00:00
gstd3d11vp9dec.cpp d3d11vp9dec: Fix for incorrect use_prev_in_find_mv_refs setting 2021-07-05 15:02:53 +09:00
gstd3d11vp9dec.h d3d11decoder: Register elements per GPU device with capability check 2020-02-18 11:58:45 +00:00
gstd3d11window.cpp d3d11videosink: Add support for GstVideoOverlay::set_render_rectangle 2021-08-02 16:40:14 +09:00
gstd3d11window.h d3d11videosink: Add support for GstVideoOverlay::set_render_rectangle 2021-08-02 16:40:14 +09:00
gstd3d11window_corewindow.cpp Revert "d3d11: Enable native multi-thread protection layer and make use of it" 2021-03-20 17:53:58 +09:00
gstd3d11window_corewindow.h d3d11: Move core methods to gst-libs 2021-01-13 15:01:20 +00:00
gstd3d11window_dummy.cpp d3d11converter: Introduce config to be extensible 2021-05-28 21:44:10 +09:00
gstd3d11window_dummy.h d3d11videosink: Add support for drawing on application's own texture 2021-01-26 18:14:37 +00:00
gstd3d11window_swapchainpanel.cpp Revert "d3d11: Enable native multi-thread protection layer and make use of it" 2021-03-20 17:53:58 +09:00
gstd3d11window_swapchainpanel.h d3d11: Move core methods to gst-libs 2021-01-13 15:01:20 +00:00
gstd3d11window_win32.cpp d3d11videosink: Add support for GstVideoOverlay::set_render_rectangle 2021-08-02 16:40:14 +09:00
gstd3d11window_win32.h d3d11: Move core methods to gst-libs 2021-01-13 15:01:20 +00:00
meson.build d3d11: Add AV1 decoder 2021-06-29 07:12:27 +00:00
plugin.c d3d11: Add AV1 decoder 2021-06-29 07:12:27 +00:00