d3d11decoder: Check 16K resolution support

16K decoding is supported by some GPUs

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2633>
This commit is contained in:
Seungha Yang 2022-06-18 04:05:53 +09:00 committed by Tim-Philipp Müller
parent 037beeb157
commit d010e1c3f4

View file

@ -120,7 +120,7 @@ typedef struct _GstDXVAResolution
static const GstDXVAResolution gst_dxva_resolutions[] = { static const GstDXVAResolution gst_dxva_resolutions[] = {
{1920, 1088}, {2560, 1440}, {3840, 2160}, {4096, 2160}, {1920, 1088}, {2560, 1440}, {3840, 2160}, {4096, 2160},
{7680, 4320}, {8192, 4320} {7680, 4320}, {8192, 4320}, {15360, 8640}, {16384, 8640}
}; };
gboolean gst_d3d11_decoder_util_is_legacy_device (GstD3D11Device * device); gboolean gst_d3d11_decoder_util_is_legacy_device (GstD3D11Device * device);