gstreamer/sys/va
He Junyan f7eb93e22b va: vpp: fix a wrong caps logic in vpp_transform_caps().
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>
2021-03-01 16:43:29 +00:00
..
gstvaallocator.c va: allocator: No need of fourcc to create surface. 2021-02-25 12:05:19 +00:00
gstvaallocator.h VA: Add the aux surface for gst buffer used by decoder. 2021-02-23 13:52:50 +08:00
gstvaav1dec.c VA: Add the vaav1dec element as the av1 decoder. 2021-02-23 13:53:43 +08:00
gstvaav1dec.h VA: Add the vaav1dec element as the av1 decoder. 2021-02-23 13:53:43 +08:00
gstvabasedec.c va: basedec: refactor context query 2021-02-05 21:25:20 +01:00
gstvabasedec.h VA: Add the vaav1dec element as the av1 decoder. 2021-02-23 13:53:43 +08:00
gstvacaps.c va: caps: added gst_caps_is_raw() 2020-10-09 16:34:57 +02:00
gstvacaps.h va: caps: added gst_caps_is_raw() 2020-10-09 16:34:57 +02:00
gstvadecoder.c VA: Add the aux surface for gst buffer used by decoder. 2021-02-23 13:52:50 +08:00
gstvadecoder.h VA: Add the aux surface for gst buffer used by decoder. 2021-02-23 13:52:50 +08:00
gstvadevice.c va: sort the device queue 2021-02-02 10:28:04 +08:00
gstvadevice.h va: VA-API H.264 decoder and infrastructure 2020-06-28 11:47:35 +02:00
gstvadisplay.c va: display: parse and set driver implementation 2021-01-05 17:54:34 +00:00
gstvadisplay.h va: display: parse and set driver implementation 2021-01-05 17:54:34 +00:00
gstvadisplay_drm.c va: VA-API H.264 decoder and infrastructure 2020-06-28 11:47:35 +02:00
gstvadisplay_drm.h va: VA-API H.264 decoder and infrastructure 2020-06-28 11:47:35 +02:00
gstvadisplay_wrapped.c va: display: wrapped: Fix property name 2020-08-03 19:33:01 +02:00
gstvadisplay_wrapped.h va: VA-API H.264 decoder and infrastructure 2020-06-28 11:47:35 +02:00
gstvafilter.c va: vpp: implement GstColorBalance interface 2021-02-25 11:22:53 +00:00
gstvafilter.h va: vpp: implement GstColorBalance interface 2021-02-25 11:22:53 +00:00
gstvah264dec.c va: h264dec: remove spurious if validation 2021-02-05 21:24:02 +01:00
gstvah264dec.h va: h264dec: check va allocator at decide allocation 2020-08-24 19:35:57 +00:00
gstvah265dec.c vah265dec: Don't need to pass picture structure to VA 2021-02-09 16:19:41 +00:00
gstvah265dec.h va: Add HEVC decoding support 2020-11-04 17:53:23 +00:00
gstvampeg2dec.c va: mpeg2dec: refactor the picture reference filling 2021-01-06 17:27:10 +01:00
gstvampeg2dec.h va: Add mpeg2 VA decoder. 2020-12-28 13:14:06 +08:00
gstvapool.c va: pool, allocator: free memories at bufferpool's stop() 2021-02-17 09:10:37 +01:00
gstvapool.h va: allocator: add _set_format() and _get_format() 2020-10-09 16:34:57 +02:00
gstvaprofile.c VA: Add the vaav1dec element as the av1 decoder. 2021-02-23 13:53:43 +08:00
gstvaprofile.h va: VA-API H.264 decoder and infrastructure 2020-06-28 11:47:35 +02:00
gstvautils.c va: Fix some gst_object_unref error because the pointer is NULL. 2021-01-17 14:00:50 +08:00
gstvautils.h va: codestyle: Clear all tabs in header files 2020-09-25 17:07:10 +08:00
gstvavideoformat.c va: allocator: try to create surface without fourcc but chroma only 2020-09-23 18:19:22 +02:00
gstvavideoformat.h va: allocator: get a surface format from a image format 2020-08-03 15:54:45 +00:00
gstvavp8dec.c va: Remove gst_va_decoder_destroy_buffers() 2020-11-30 16:53:25 +01:00
gstvavp8dec.h va: Implement the VA vp8 decoder. 2020-09-25 17:07:30 +08:00
gstvavp9dec.c va: Remove gst_va_decoder_destroy_buffers() 2020-11-30 16:53:25 +01:00
gstvavp9dec.h va: Add VP9 decoder 2020-10-19 13:15:06 +02:00
gstvavpp.c va: vpp: fix a wrong caps logic in vpp_transform_caps(). 2021-03-01 16:43:29 +00:00
gstvavpp.h va: add vapostproc element 2020-09-23 18:19:22 +02:00
meson.build VA: Add the vaav1dec element as the av1 decoder. 2021-02-23 13:53:43 +08:00
plugin.c VA: Add the vaav1dec element as the av1 decoder. 2021-02-23 13:53:43 +08:00