mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
f7eb93e22b
The current gst_va_vpp_transform_caps return such as: video/x-raw(memory:VAMemory), width=(int)[ 16, 16384 ], height=(int)[ 16, 16384 ], interlace-mode=(string)progressive, format=(string){ NV12, I420, YV12, YUY2, RGBA, BGRA, P010_10LE, ARGB, ABGR, VUYA }; video/x-raw(memory:DMABuf), width=(int)[ 16, 16384 ], height=(int)[ 16, 16384 ], interlace-mode=(string)progressive, format=(string) { NV12, I420, YV12, YUY2, RGBA, BGRA, P010_10LE, ARGB, ABGR, VUYA }; video/x-raw, width=(int)[ 16, 16384 ], height=(int)[ 16, 16384 ], interlace-mode=(string)progressive, format=(string){ VUYA, GRAY8, NV12, NV21, YUY2, UYVY, YV12, I420, P010_10LE }; video/x-raw(memory:VAMemory), width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], interlace-mode=(string)progressive; video/x-raw(memory:DMABuf), width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], interlace-mode=(string)progressive; video/x-raw, width=(int) [ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], interlace-mode=(string)progressive Which is not correct. It mixes the template caps and the input query caps together. The correct way should be: clip the template caps with the input caps(remove format and rangify size). The correct answer should be: video/x-raw(memory:VAMemory), width=(int)[ 16, 16384 ], height=(int)[ 16, 16384 ], interlace -mode=(string)progressive, format=(string){ NV12, I420, YV12, YUY2, RGBA, BGRA, P010_10LE, ARGB, ABGR, VUYA }; video/x-raw(memory:DMABuf), width=(int)[ 16, 16384 ], height=(int)[ 16, 16384 ], interlace-mode=(string)progressive, format=(string){ NV12, I420, YV12, YUY2, RGBA, BGRA, P010_10LE, ARGB, ABGR, VUYA }; video/x-raw, width=(int)[ 16, 16384 ], height=(int)[ 16, 16384 ], interlace-mode=(string)progressive, format=(string){ VUYA, GRAY8, NV12, NV21, YUY2, UYVY, YV12, I420, P010_10LE } Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2045> |
||
---|---|---|
.. | ||
gstvaallocator.c | ||
gstvaallocator.h | ||
gstvaav1dec.c | ||
gstvaav1dec.h | ||
gstvabasedec.c | ||
gstvabasedec.h | ||
gstvacaps.c | ||
gstvacaps.h | ||
gstvadecoder.c | ||
gstvadecoder.h | ||
gstvadevice.c | ||
gstvadevice.h | ||
gstvadisplay.c | ||
gstvadisplay.h | ||
gstvadisplay_drm.c | ||
gstvadisplay_drm.h | ||
gstvadisplay_wrapped.c | ||
gstvadisplay_wrapped.h | ||
gstvafilter.c | ||
gstvafilter.h | ||
gstvah264dec.c | ||
gstvah264dec.h | ||
gstvah265dec.c | ||
gstvah265dec.h | ||
gstvampeg2dec.c | ||
gstvampeg2dec.h | ||
gstvapool.c | ||
gstvapool.h | ||
gstvaprofile.c | ||
gstvaprofile.h | ||
gstvautils.c | ||
gstvautils.h | ||
gstvavideoformat.c | ||
gstvavideoformat.h | ||
gstvavp8dec.c | ||
gstvavp8dec.h | ||
gstvavp9dec.c | ||
gstvavp9dec.h | ||
gstvavpp.c | ||
gstvavpp.h | ||
meson.build | ||
plugin.c |