gstreamer/gst/vaapi
Zhang Yuankun bd8c0b33e7 vaapi: decoder: modify the condition to judge whether dma buffer is supported
It seems "GST_VAAPI_PLUGIN_BASE_SRC_PAD_CAN_DMABUF (decode)" will
return false even if this platform support the mem_type dma buffer.
And media-driver will return GST_VAAPI_BUFFER_MEMORY_TYPE_DMA_BUF2
on Gen12(such as TGL).
Without this patch, The command such as:
gst-launch-1.0 videotestsrc num-buffers=100 ! video/x-raw, format=I420 ! \
x264enc ! h264parse ! vaapih264dec ! video/x-raw\(memory:DMABuf\) ! fakesink
will return not-negotiated.

Signed-off-by: Zhang Yuankun <yuankunx.zhang@intel.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/437>
2021-08-26 15:06:53 +08:00
..
gstcompat.h Remove old gst version guards 2016-01-25 12:09:40 +00:00
gstvaapi.c Revert "vaapi: Demote vaapidecodebin to rank NONE." 2021-07-09 11:01:14 +02:00
gstvaapi.h vaapidecodebin: Register element if no VPP support is available too 2017-10-20 12:59:10 +02:00
gstvaapidecode.c vaapi: decoder: modify the condition to judge whether dma buffer is supported 2021-08-26 15:06:53 +08:00
gstvaapidecode.h vaapidecode: Remove NO_SURFACE error handling 2020-07-09 18:13:48 +02:00
gstvaapidecode_props.c vaapidecoder: h264: remove baseline as constrained property 2020-05-21 13:10:57 +02:00
gstvaapidecode_props.h vaapidecoder: h264: remove baseline as constrained property 2020-05-21 13:10:57 +02:00
gstvaapidecodebin.c vaapi: use gst_clear_object instead of g_clear_object 2020-12-12 10:38:17 +01:00
gstvaapidecodebin.h vaapidecodebin: skips configuration once it's done 2017-04-21 11:48:16 +02:00
gstvaapidecodedoc.c docstrings: port ulinks to markdown links 2019-08-23 19:10:15 +02:00
gstvaapiencode.c plugins: encode: fix a deadlock because of _drain() 2021-07-01 11:57:10 +00:00
gstvaapiencode.h plugin: encode: Add static caps for template documentation. 2020-07-23 20:30:45 +02:00
gstvaapiencode_h264.c vaapiencode: h264: ignore level without breaking negotiation 2020-08-14 11:08:54 +00:00
gstvaapiencode_h264.h plugins: encode: Modify sink template of h264 encode. 2020-05-16 19:58:15 +00:00
gstvaapiencode_h265.c plugins: encode: h265: set all allowed profiles to encoder. 2020-07-30 17:48:03 +08:00
gstvaapiencode_h265.h plugins: encode: Modify sink template of h265 encode. 2020-05-16 19:58:15 +00:00
gstvaapiencode_jpeg.c plugin: encode: Add static caps for template documentation. 2020-07-23 20:30:45 +02:00
gstvaapiencode_jpeg.h plugins: encode: Modify sink template of jpeg encode. 2020-05-16 19:58:15 +00:00
gstvaapiencode_mpeg2.c plugin: encode: Add static caps for template documentation. 2020-07-23 20:30:45 +02:00
gstvaapiencode_mpeg2.h plugins: encode: Modify sink template of mpeg2 encode. 2020-05-16 19:58:15 +00:00
gstvaapiencode_vp8.c plugin: encode: Add static caps for template documentation. 2020-07-23 20:30:45 +02:00
gstvaapiencode_vp8.h plugins: encode: Modify sink template of vp8 encode. 2020-05-16 19:58:15 +00:00
gstvaapiencode_vp9.c plugin: encode: vp9: Implement the set_config(). 2020-11-30 16:45:54 +00:00
gstvaapiencode_vp9.h plugins: encode: Modify sink template of vp9 encode. 2020-05-16 19:58:15 +00:00
gstvaapioverlay.c plugins: Demote rank of vaapipostproc and vaapioverlay. 2021-05-20 10:35:32 +02:00
gstvaapioverlay.h plugins: add vaapioverlay plugin 2020-01-06 19:56:10 +00:00
gstvaapipluginbase.c gst: don't use volatile to mean atomic 2021-03-19 19:03:54 +11:00
gstvaapipluginbase.h plugins: remove gst_vaapi_plugin_base_get_allowed_srcpad_raw_caps() 2020-08-12 18:48:59 +02:00
gstvaapipluginutil.c plugins: add gst_vaapi_caps_set_width_and_height_range() 2020-07-31 10:14:34 +02:00
gstvaapipluginutil.h plugins: add gst_vaapi_caps_set_width_and_height_range() 2020-07-31 10:14:34 +02:00
gstvaapipostproc.c plugins: postproc: Fix a problem of propose_allocation when passthrough. 2021-02-04 08:59:28 +00:00
gstvaapipostproc.h vaapipostproc: enable HDR10 tone mapping 2020-04-03 09:23:32 -07:00
gstvaapipostprocutil.c vaapipostproc: do not compensate for crop/direction if no VPP 2020-02-21 08:49:06 -08:00
gstvaapipostprocutil.h vaapipostproc: move gst_vaapipostproc_fixate_srccaps() 2016-05-09 16:56:10 +02:00
gstvaapisink.c gst: don't use volatile to mean atomic 2021-03-19 19:03:54 +11:00
gstvaapisink.h gst: don't use volatile to mean atomic 2021-03-19 19:03:54 +11:00
gstvaapivideobuffer.c remove the video converter from vaapi buffer meta 2016-11-24 18:32:34 +01:00
gstvaapivideobuffer.h plugins: re-indent all GstVaapiVideo* related source code. 2014-08-22 15:54:32 +02:00
gstvaapivideobufferpool.c vaapi: use gst_clear_object instead of g_clear_object 2020-12-12 10:38:17 +01:00
gstvaapivideobufferpool.h plugin: bufferpool: Delete ACQUIRE_FLAG_NO_ALLOC flag. 2020-04-04 13:47:51 +02:00
gstvaapivideocontext.c Display: Add a property to export the VA display handle. 2021-08-25 01:47:21 +00:00
gstvaapivideocontext.h plugin: remove custom GstGL context handling 2018-04-26 19:37:54 +02:00
gstvaapivideomemory.c plugins: video memory: Add a GST_MAP_VAAPI flag to peek the surface. 2021-08-25 01:47:21 +00:00
gstvaapivideomemory.h plugins: video memory: Add a GST_MAP_VAAPI flag to peek the surface. 2021-08-25 01:47:21 +00:00
gstvaapivideometa.c vaapivideometa: remove compiler warning 2020-03-27 10:35:31 +01:00
gstvaapivideometa.h remove the video converter from vaapi buffer meta 2016-11-24 18:32:34 +01:00
gstvaapivideometa_texture.c vaapivideopool: Set pooled flag to added metas. 2020-05-17 12:42:54 +02:00
gstvaapivideometa_texture.h vaapivideopool: Set pooled flag to added metas. 2020-05-17 12:42:54 +02:00
meson.build build: update for gl pkg-config file split 2020-08-07 17:30:21 +02:00