gstreamer/sys/d3d11
Seungha Yang d03e959f54 d3d11window: Remove timeout and wait a task if possible
If the run_async() method is expected to be called from streaming
thread and not from application thread, use INFINITE as timeout value
so that d3d11window can wait UI dispatcher thread in any case.

There is no way to get a robust timeout value from library side.
So the fixed timeout value might not be optimal and therefore
we should avoid it as much as possible.

Rule whether a timeout value can be INFINITE or not is,
* If the waiting can be cancelled by GstBaseSink:unlock(), use INFINITE.
  GstD3D11Window:on_resize() is one case for example.
* Otherwise, use timeout value
  Some details are, GstBaseSink:start() and GstBaseSink:stop() will be called
  when NULL to READY or READY to NULL state change, so there will be no
  chance for GstBaseSink:unlock() and GstBaseSink:unlock_stop()
  to be called around them. So there is no other way then timeout way.
  GstD3D11Window:consturcted() and GstD3D11Window:unprepare() are the case.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1461>
2020-07-24 04:53:44 +00:00
..
gstd3d11_fwd.h d3d11decoder: Register elements per GPU device with capability check 2020-02-18 11:58:45 +00:00
gstd3d11basefilter.c plugins: Update for documentation of Windows plugins 2020-07-02 17:21:29 +02:00
gstd3d11basefilter.h d3d11: Introduce d3d11 upload/download element 2019-12-05 02:29:18 +00:00
gstd3d11bufferpool.c d3d11bufferpool: Add padding space for semi-planar YUV formats 2020-03-09 10:14:53 +09:00
gstd3d11bufferpool.h d3d11: Refactor d3d11 memory and dxgi format usage 2019-12-05 02:29:18 +00:00
gstd3d11colorconvert.c d3d11convert: Fix fallback texture setup when resolution is not even number 2020-05-19 17:25:05 +00:00
gstd3d11colorconvert.h d3d11convert: Fix fallback texture setup when resolution is not even number 2020-05-19 17:25:05 +00:00
gstd3d11colorconverter.c d3d11colorconverter: Add support cropping 2020-03-09 23:44:06 +09:00
gstd3d11colorconverter.h d3d11colorconverter: Add support cropping 2020-03-09 23:44:06 +09:00
gstd3d11decoder.c d3d11decoder: Disable array-of-texture 2020-07-22 16:06:47 +00:00
gstd3d11decoder.h d3d11decoder: Disable zero-copy for blacklisted device 2020-06-16 10:49:02 +00:00
gstd3d11device.c d3d11device: Print supported DXGI format for debugging 2020-06-22 14:36:16 +00:00
gstd3d11device.h d3d11memory: Always use native DXGI format if device support it 2020-01-13 01:58:08 +00:00
gstd3d11download.c Revert "d3d11: Add support for D3D11_USAGE_DYNAMIC" 2020-01-13 01:58:08 +00:00
gstd3d11download.h d3d11: Introduce d3d11 upload/download element 2019-12-05 02:29:18 +00:00
gstd3d11format.c d3d11: Update for video-hdr struct change 2020-04-01 05:18:11 +00:00
gstd3d11format.h d3d11window: Reorganize display colorspace selection 2020-03-28 11:45:48 +00:00
gstd3d11h264dec.c codecs: h264decoder: Pass GstVideoCodecFrame to output_picture() 2020-07-21 17:18:42 +09:00
gstd3d11h264dec.h d3d11decoder: Register elements per GPU device with capability check 2020-02-18 11:58:45 +00:00
gstd3d11h265dec.c d3d11h265dec: Fix possible invalid memory access 2020-06-25 13:58:57 +00:00
gstd3d11h265dec.h d3d11decoder: Register elements per GPU device with capability check 2020-02-18 11:58:45 +00:00
gstd3d11memory.c d3d11memory: Add a method to specify padding space 2020-02-05 00:52:48 +00:00
gstd3d11memory.h d3d11memory: Add a method to specify padding space 2020-02-05 00:52:48 +00:00
gstd3d11overlaycompositor.c d3d11overlaycompositor: Fix wrong Y position calculation 2020-06-05 13:47:49 +00:00
gstd3d11overlaycompositor.h d3d11videosink: Add support for overlay composition 2019-12-24 19:00:45 +09:00
gstd3d11shader.c d3d11: Load HLSL compiler library using g_module_open 2020-06-22 14:36:16 +00:00
gstd3d11shader.h d3d11: Load HLSL compiler library using g_module_open 2020-06-22 14:36:16 +00:00
gstd3d11upload.c Revert "d3d11: Add support for D3D11_USAGE_DYNAMIC" 2020-01-13 01:58:08 +00:00
gstd3d11upload.h d3d11: Introduce d3d11 upload/download element 2019-12-05 02:29:18 +00:00
gstd3d11utils.c plugins: Use g_win32_error_message for HRESULT to string conversion 2020-07-18 11:05:52 +09:00
gstd3d11utils.h d3d11decoder: Disable zero-copy for Qualcomm devices 2020-07-12 01:40:45 +09:00
gstd3d11videoprocessor.c d3d11: Add video processor object 2020-02-05 00:52:48 +00:00
gstd3d11videoprocessor.h d3d11: Add video processor object 2020-02-05 00:52:48 +00:00
gstd3d11videosink.c plugins: Update for documentation of Windows plugins 2020-07-02 17:21:29 +02:00
gstd3d11videosink.h d3d11videosink: Use ID3D11VideoProcessor interface 2020-02-05 00:52:48 +00:00
gstd3d11videosinkbin.c d3d11videosink: Add support for overlay composition 2019-12-24 19:00:45 +09:00
gstd3d11videosinkbin.h d3d11videosinkbin: Drop d3d11 color convert element 2019-12-05 02:29:18 +00:00
gstd3d11vp8dec.c codecs: vp8decoder: Sync up with h264decoder implementation 2020-07-23 15:48:05 -04:00
gstd3d11vp8dec.h d3d11decoder: Add VP8 decoder element 2020-04-22 23:20:44 +00:00
gstd3d11vp9dec.c codecs: vp9decoder: Sync up with h264decoder implementation 2020-07-23 15:41:39 +00:00
gstd3d11vp9dec.h d3d11decoder: Register elements per GPU device with capability check 2020-02-18 11:58:45 +00:00
gstd3d11window.cpp d3d11window: Disable d3d11 video processor for HDR10 stream. 2020-07-21 15:41:20 +00:00
gstd3d11window.h d3d11window: Add unprepare method to clear internal resource 2020-05-27 04:59:50 +09:00
gstd3d11window_corewindow.cpp d3d11window: Remove timeout and wait a task if possible 2020-07-24 04:53:44 +00:00
gstd3d11window_corewindow.h d3d11: Add support for Universal Windows Platform 2020-01-06 20:14:51 +09:00
gstd3d11window_swapchainpanel.cpp d3d11window: Remove timeout and wait a task if possible 2020-07-24 04:53:44 +00:00
gstd3d11window_swapchainpanel.h d3d11: Add support for Universal Windows Platform 2020-01-06 20:14:51 +09:00
gstd3d11window_win32.cpp d3d11window_win32: Chain up mouse event to parent window 2020-06-22 15:09:22 +00:00
gstd3d11window_win32.h d3d11: Add support for Universal Windows Platform 2020-01-06 20:14:51 +09:00
meson.build d3d11: Disable D3D11Debug and DXGIDebug layer for UWP build 2020-07-08 21:11:31 +00:00
plugin.c docs: remove gst prefix from plugin titles 2020-07-02 18:10:21 +02:00