gstreamer/gst-libs/gst/vaapi
Víctor Manuel Jáquez Leal 6022d97edf libs: display, context: handle broken jpeg decoder for i965 driver
JPEG decoding in i965 driver is pretty much broken, and the driver is
deprecated which mean authors only accept trivial fixes.

Surfaces for JPEG decoder context in i965 only handle IMC3[1] color
format which is not a common format in GStreamer. It can export it to
I420 at mapping raw bytes, but DMABuf exporting is problematic.

This patch artificially adds NV12 to the context format list when it's
JPEG decoder for i965 and force the usage of old VA-API for surface
creation without specifying color format. Also it artificially
disables the DMABuf announcement.

1. https://docs.microsoft.com/en-us/windows/win32/medfound/recommended-8-bit-yuv-formats-for-video-rendering#420-formats-16-bits-per-pixel

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/369>
2020-07-29 12:06:32 +02:00
..
egl_compat.h
egl_vtable.h
gstvaapiblend.c libs: blend: filter: handle finalize() if display isn't assigned 2020-02-21 15:11:31 +00:00
gstvaapiblend.h libs: blend: simplify generator API 2020-01-14 19:52:18 +01:00
gstvaapibufferproxy.c libs: delete all gstvaapiobject related files. 2020-05-27 15:08:28 +08:00
gstvaapibufferproxy.h libs: bufferproxy: remove GstMemory reference 2020-04-04 14:30:44 +02:00
gstvaapibufferproxy_priv.h libs: delete all gstvaapiobject related files. 2020-05-27 15:08:28 +08:00
gstvaapicodec_objects.c vaapi: bump the minimum vaapi version requirement to 0.39.0 2019-01-07 17:46:42 +00:00
gstvaapicodec_objects.h
gstvaapicodedbuffer.c libs: codedbuffer: port to GstMiniObject 2019-12-20 05:01:07 +00:00
gstvaapicodedbuffer.h libs: removed duplicated function declarations 2020-05-16 20:01:59 +02:00
gstvaapicodedbuffer_priv.h libs: codedbuf: delete a useless field. 2020-01-08 23:42:21 +08:00
gstvaapicodedbufferpool.c libs: context: port to a plain C structure 2019-12-20 05:01:07 +00:00
gstvaapicodedbufferpool.h
gstvaapicodedbufferproxy.c Remove all FEI related 2020-01-15 07:30:15 +00:00
gstvaapicodedbufferproxy.h Remove all FEI related 2020-01-15 07:30:15 +00:00
gstvaapicodedbufferproxy_priv.h Remove all FEI related 2020-01-15 07:30:15 +00:00
gstvaapicompat.h vaapi: bump the minimum vaapi version requirement to 0.39.0 2019-01-07 17:46:42 +00:00
gstvaapicontext.c libs: display, context: handle broken jpeg decoder for i965 driver 2020-07-29 12:06:32 +02:00
gstvaapicontext.h libs: delete all gstvaapiobject related files. 2020-05-27 15:08:28 +08:00
gstvaapidebug.h
gstvaapidecoder.c vaapidecode: build allowed srcpad caps from va context 2020-07-27 19:32:00 +02:00
gstvaapidecoder.h vaapidecode: build allowed srcpad caps from va context 2020-07-27 19:32:00 +02:00
gstvaapidecoder_dpb.c
gstvaapidecoder_dpb.h
gstvaapidecoder_h264.c libs: decoder: h264, h265: in context at least 16 reference surfaces 2020-07-07 17:47:23 +02:00
gstvaapidecoder_h264.h vaapidecoder: h264: remove baseline as constrained property 2020-05-21 13:10:57 +02:00
gstvaapidecoder_h265.c libs: decoder: H265: Add MAIN_12 profile supporting. 2020-07-20 16:26:32 +00:00
gstvaapidecoder_h265.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapidecoder_jpeg.c libs: delete all gstvaapiobject related files. 2020-05-27 15:08:28 +08:00
gstvaapidecoder_jpeg.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapidecoder_mpeg2.c libs: delete all gstvaapiobject related files. 2020-05-27 15:08:28 +08:00
gstvaapidecoder_mpeg2.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapidecoder_mpeg4.c libs: delete all gstvaapiobject related files. 2020-05-27 15:08:28 +08:00
gstvaapidecoder_mpeg4.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapidecoder_objects.c libs: remove already include string.h 2018-09-25 18:22:35 +02:00
gstvaapidecoder_objects.h
gstvaapidecoder_priv.h libs: decoder: remove destoy() and create() callbacks 2018-09-03 17:54:19 +02:00
gstvaapidecoder_unit.c
gstvaapidecoder_unit.h
gstvaapidecoder_vc1.c libs: delete all gstvaapiobject related files. 2020-05-27 15:08:28 +08:00
gstvaapidecoder_vc1.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapidecoder_vp8.c libs: delete all gstvaapiobject related files. 2020-05-27 15:08:28 +08:00
gstvaapidecoder_vp8.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapidecoder_vp9.c libs: delete all gstvaapiobject related files. 2020-05-27 15:08:28 +08:00
gstvaapidecoder_vp9.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapidisplay.c libs: display, context: handle broken jpeg decoder for i965 driver 2020-07-29 12:06:32 +02:00
gstvaapidisplay.h libs: display, context: handle broken jpeg decoder for i965 driver 2020-07-29 12:06:32 +02:00
gstvaapidisplay_drm.c libs: display: drm: use g_strcmp0 to be null safe 2020-04-26 10:40:38 +00:00
gstvaapidisplay_drm.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapidisplay_drm_priv.h
gstvaapidisplay_egl.c libs: display: replace gst_vaapi_display_new() with gst_vaapi_display_config() 2018-06-14 16:41:00 +02:00
gstvaapidisplay_egl.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapidisplay_egl_priv.h
gstvaapidisplay_glx.c libs: display: replace gst_vaapi_display_new() with gst_vaapi_display_config() 2018-06-14 16:41:00 +02:00
gstvaapidisplay_glx.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapidisplay_glx_priv.h
gstvaapidisplay_priv.h libs: display: driver quirks mechanism 2020-01-24 12:21:59 +00:00
gstvaapidisplay_wayland.c libs: display: wayland: add basic dmabuf protocol support 2020-07-27 15:02:19 +00:00
gstvaapidisplay_wayland.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapidisplay_wayland_priv.h libs: display: wayland: add basic dmabuf protocol support 2020-07-27 15:02:19 +00:00
gstvaapidisplay_x11.c libs: use array_unref() rather than array_free() 2020-05-16 20:29:34 +00:00
gstvaapidisplay_x11.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapidisplay_x11_priv.h libs: remove GstVaapiPixmap 2020-03-17 15:46:46 +00:00
gstvaapiencoder.c libs: encoder: Add a helper function to check the tile support. 2020-06-05 19:27:11 +08:00
gstvaapiencoder.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapiencoder_h264.c plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:42:46 +02:00
gstvaapiencoder_h264.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapiencoder_h265.c libs: encoder: h265: set no P frame automatically. 2020-07-27 16:38:38 +02:00
gstvaapiencoder_h265.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapiencoder_jpeg.c Update plugin docs and add more plugins 2020-06-19 15:21:56 +01:00
gstvaapiencoder_jpeg.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapiencoder_mpeg2.c Update plugin docs and add more plugins 2020-06-19 15:21:56 +01:00
gstvaapiencoder_mpeg2.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapiencoder_mpeg2_priv.h
gstvaapiencoder_objects.c Remove all FEI related 2020-01-15 07:30:15 +00:00
gstvaapiencoder_objects.h Remove all FEI related 2020-01-15 07:30:15 +00:00
gstvaapiencoder_priv.h libs: encoder: Add a helper function to check the tile support. 2020-06-05 19:27:11 +08:00
gstvaapiencoder_vp8.c Update plugin docs and add more plugins 2020-06-19 15:21:56 +01:00
gstvaapiencoder_vp8.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapiencoder_vp9.c Update plugin docs and add more plugins 2020-06-19 15:21:56 +01:00
gstvaapiencoder_vp9.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapifilter.c plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:42:46 +02:00
gstvaapifilter.h libs: filter: HDR10 tone mapping support 2020-04-03 09:23:32 -07:00
gstvaapiimage.c video-format: Add P012_LE format. 2020-07-20 16:26:32 +00:00
gstvaapiimage.h libs: delete all gstvaapiobject related files. 2020-05-27 15:08:28 +08:00
gstvaapiimage_priv.h libs: image: port to GstMiniObject base class 2019-12-20 05:01:07 +00:00
gstvaapiimagepool.c
gstvaapiimagepool.h
gstvaapiminiobject.c libs: remove dependency on IN_LIBGSTVAAPI_CORE 2018-09-25 17:41:55 +02:00
gstvaapiminiobject.h libs: remove dependency on IN_LIBGSTVAAPI_CORE 2018-09-25 17:41:55 +02:00
gstvaapiparser_frame.c libs: use array_unref() rather than array_free() 2020-05-16 20:29:34 +00:00
gstvaapiparser_frame.h libs: parser_frame: change macros for inlined functions 2018-09-25 17:41:55 +02:00
gstvaapiprofile.c libs: decoder: H265: Add MAIN_12 profile supporting. 2020-07-20 16:26:32 +00:00
gstvaapiprofile.h libs: decoder: H265: Add MAIN_12 profile supporting. 2020-07-20 16:26:32 +00:00
gstvaapiprofilecaps.c vaapiencode: DMABuf only if PRIME is available 2020-01-17 11:31:57 +01:00
gstvaapiprofilecaps.h vaapiencode: DMABuf only if PRIME is available 2020-01-17 11:31:57 +01:00
gstvaapisubpicture.c libs: delete all gstvaapiobject related files. 2020-05-27 15:08:28 +08:00
gstvaapisubpicture.h libs: delete all gstvaapiobject related files. 2020-05-27 15:08:28 +08:00
gstvaapisurface.c libs: surface: return fail immediately if can not create subpicture 2020-05-27 15:08:11 +08:00
gstvaapisurface.h libs: delete all gstvaapiobject related files. 2020-05-27 15:08:28 +08:00
gstvaapisurface_drm.c libs,plugin: break surface-bufferproxy circular reference 2020-04-04 14:22:04 +02:00
gstvaapisurface_drm.h libs,plugin: break surface-bufferproxy circular reference 2020-04-04 14:22:04 +02:00
gstvaapisurface_egl.c libs: surface: surfacepool: Add allocation flags in constructors. 2020-02-23 13:12:15 +01:00
gstvaapisurface_egl.h
gstvaapisurface_priv.h libs: surface: port to GstMiniObject 2019-12-20 05:01:08 +00:00
gstvaapisurfacepool.c libs: surface: surfacepool: Add allocation flags in constructors. 2020-02-23 13:12:15 +01:00
gstvaapisurfacepool.h libs: surface: surfacepool: Add allocation flags in constructors. 2020-02-23 13:12:15 +01:00
gstvaapisurfaceproxy.c Remove all FEI related 2020-01-15 07:30:15 +00:00
gstvaapisurfaceproxy.h Remove all FEI related 2020-01-15 07:30:15 +00:00
gstvaapisurfaceproxy_priv.h libs: delete all gstvaapiobject related files. 2020-05-27 15:08:28 +08:00
gstvaapitexture.c libs: texture: remove unused headers include 2020-05-16 21:05:20 +02:00
gstvaapitexture.h libs: texture: Make texture a standard GstMiniObject. 2020-05-16 19:18:46 +02:00
gstvaapitexture_egl.c libs: texture: Make texture a standard GstMiniObject. 2020-05-16 19:18:46 +02:00
gstvaapitexture_egl.h
gstvaapitexture_glx.c libs: texture: Make texture a standard GstMiniObject. 2020-05-16 19:18:46 +02:00
gstvaapitexture_glx.h
gstvaapitexture_priv.h libs: texture: remove unused headers include 2020-05-16 21:05:20 +02:00
gstvaapitexturemap.c libs: texture: Make texture a standard GstMiniObject. 2020-05-16 19:18:46 +02:00
gstvaapitexturemap.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapitypes.h libs: encoder: h264: support ICQ/QVBR bitrate control mode 2019-08-05 11:01:19 +08:00
gstvaapiutils.c libs: decoder: H265: Add SCC_MAIN_444_10 profile support. 2020-06-05 09:51:19 +00:00
gstvaapiutils.h libs: utils: map GstVideoColorRange to VAAPI VPP 2020-02-08 10:07:58 +00:00
gstvaapiutils_core.c libs: util: Fix a memory leak in config_surface_attributes_get 2019-08-27 01:30:36 +08:00
gstvaapiutils_core.h libs: utils: remove unused function gst_vaapi_get_surface_formats() 2019-08-19 17:26:55 +00:00
gstvaapiutils_egl.c egl: Fix racyness in display thread creation 2019-09-18 05:36:52 +00:00
gstvaapiutils_egl.h egl: Fix racyness in display thread creation 2019-09-18 05:36:52 +00:00
gstvaapiutils_glx.c glx: Stop specifying GLX_DEPTH_SIZE 2019-02-17 09:26:55 +00:00
gstvaapiutils_glx.h
gstvaapiutils_h26x.c
gstvaapiutils_h26x_priv.h libs: encoder: h264,h265: extend max periodic keyframe. 2018-02-19 22:34:53 +01:00
gstvaapiutils_h264.c libs: Move from g_debug to GST_DEBUG. 2018-10-09 16:58:43 +02:00
gstvaapiutils_h264.h libs: h264: Update level table to "Recommendation H.264 (04/17)". 2018-09-27 12:29:10 +02:00
gstvaapiutils_h264_priv.h
gstvaapiutils_h265.c libs: decoder: H265: Add MAIN_12 profile supporting. 2020-07-20 16:26:32 +00:00
gstvaapiutils_h265.h libs: encoder: h265: Add num-tile-cols/rows properties. 2020-06-05 19:27:36 +08:00
gstvaapiutils_h265_priv.h libs: dec: h265: Consider chroma_bit_depth to choose chrome type 2019-06-28 16:49:51 +02:00
gstvaapiutils_mpeg2.c libs: Move from g_debug to GST_DEBUG. 2018-10-09 16:58:43 +02:00
gstvaapiutils_mpeg2.h
gstvaapiutils_mpeg2_priv.h
gstvaapiutils_x11.c doc: fix some incorrect gtk-doc links 2019-05-29 01:41:37 +02:00
gstvaapiutils_x11.h
gstvaapivalue.c plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:42:46 +02:00
gstvaapivalue.h vaapipostproc: element warning if video direction is unsupported 2019-08-19 16:48:49 +00:00
gstvaapivideopool.c libs: delete all gstvaapiobject related files. 2020-05-27 15:08:28 +08:00
gstvaapivideopool.h
gstvaapivideopool_priv.h libs: videopool: remove unneeded code 2018-09-25 17:41:55 +02:00
gstvaapiwindow.c libs: window: allow choosing the format for the vpp pool 2020-07-27 15:02:19 +00:00
gstvaapiwindow.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapiwindow_drm.c libs: window: use its own debug category 2018-12-24 12:20:00 +00:00
gstvaapiwindow_drm.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapiwindow_egl.c libs: texture: Make texture a standard GstMiniObject. 2020-05-16 19:18:46 +02:00
gstvaapiwindow_egl.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapiwindow_glx.c doc: fix some incorrect gtk-doc links 2019-05-29 01:41:37 +02:00
gstvaapiwindow_glx.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapiwindow_priv.h libs: window: allow choosing the format for the vpp pool 2020-07-27 15:02:19 +00:00
gstvaapiwindow_wayland.c libs: window: wayland: use dmabuf protocol if available 2020-07-27 15:02:19 +00:00
gstvaapiwindow_wayland.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapiwindow_x11.c libs: remove GstVaapiPixmap 2020-03-17 15:46:46 +00:00
gstvaapiwindow_x11.h libs: extend g_autoptr support 2020-03-27 10:40:20 +00:00
gstvaapiwindow_x11_priv.h libs: remove GstVaapiPixmap 2020-03-17 15:46:46 +00:00
gstvaapiworkarounds.h
meson.build libs: display: wayland: add basic dmabuf protocol support 2020-07-27 15:02:19 +00:00
ogl_compat.h
sysdeps.h
video-format.c video-format: add DRM formats to the mapping table 2020-07-27 15:02:19 +00:00
video-format.h video-format: add DRM formats to the mapping table 2020-07-27 15:02:19 +00:00