gstreamer/gst-libs/gst/vaapi
Víctor Manuel Jáquez Leal 7aeefb0990 libs: drm: find render node in hybrid system
Originally the drm backend only tried to open the first render node
found. But in hybrid system this first render node might not support
VA-API (propietary Nvidia driver, for example).

This patch tries all the available nodes until a finding one with a
VA-API supported driver.

https://bugzilla.gnome.org/show_bug.cgi?id=774811

Original-patch-by: Stirling Westrup <swestrup@gmail.com> and
                   Reza Razavi <reza@userful.com>
2016-12-06 17:33:42 +01:00
..
egl_compat.h Add initial support for EGL. 2015-02-24 15:20:03 +01:00
egl_vtable.h Add initial support for EGL. 2015-02-24 15:20:03 +01:00
gstvaapibufferproxy.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapibufferproxy.h surface: add support for GEM buffer exports. 2015-01-28 17:35:16 +01:00
gstvaapibufferproxy_priv.h guard buffer export API if not available 2015-04-13 13:22:50 +02:00
gstvaapicodec_objects.c libs: small code style fixes 2016-02-03 12:45:30 +01:00
gstvaapicodec_objects.h Add initial VP8 decoder. 2014-04-18 20:03:44 +02:00
gstvaapicodedbuffer.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapicodedbuffer.h encoder: rework GstVaapiCodedBuffer and related proxy. 2013-12-04 19:14:38 +01:00
gstvaapicodedbuffer_priv.h encoder: rework GstVaapiCodedBuffer and related proxy. 2013-12-04 19:14:38 +01:00
gstvaapicodedbufferpool.c libs: fix deleting a GstVaapiCodedBufferPool object 2016-04-13 15:45:26 +02:00
gstvaapicodedbufferpool.h legal: update copyright notice dates. 2014-01-22 19:02:35 +01:00
gstvaapicodedbufferproxy.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapicodedbufferproxy.h encoder: rework GstVaapiCodedBuffer and related proxy. 2013-12-04 19:14:38 +01:00
gstvaapicodedbufferproxy_priv.h encoder: rework GstVaapiCodedBuffer and related proxy. 2013-12-04 19:14:38 +01:00
gstvaapicompat.h Fix build error for older VA-API versions 2015-06-18 12:20:37 +03:00
gstvaapicontext.c libs: context: ensure context formats 2016-11-03 13:04:09 +01:00
gstvaapicontext.h libs: context: ensure context formats 2016-11-03 13:04:09 +01:00
gstvaapicontext_overlay.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapicontext_overlay.h context: move overlay composition to separate files. 2014-01-23 14:29:09 +01:00
gstvaapidebug.h libs: display: GstVaapiDisplay as GstObject descendant 2016-11-03 08:24:59 +01:00
gstvaapidecoder.c libs: decoder: add _get_surface_formats() 2016-11-03 13:04:09 +01:00
gstvaapidecoder.h libs: decoder: add _get_surface_formats() 2016-11-03 13:04:09 +01:00
gstvaapidecoder_dpb.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapidecoder_dpb.h legal: add per-file authorship information. 2013-11-22 06:39:15 +01:00
gstvaapidecoder_h264.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapidecoder_h264.h decoder: h264: add support for NALU "alignment" optimization. 2014-06-19 15:29:12 +02:00
gstvaapidecoder_h265.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapidecoder_h265.h HEVC: Add HEVC(h265) decoder to core libgstvaapi 2015-04-13 15:41:45 +03:00
gstvaapidecoder_jpeg.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapidecoder_jpeg.h legal: update copyright notice dates. 2013-11-22 06:39:20 +01:00
gstvaapidecoder_mpeg2.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapidecoder_mpeg2.h legal: update copyright notice dates. 2013-11-22 06:39:20 +01:00
gstvaapidecoder_mpeg4.c vaapi: Fix various compiler warnings and disable -Wredundant-decls for now 2016-02-16 15:09:01 +02:00
gstvaapidecoder_mpeg4.h legal: update copyright notice dates. 2013-11-22 06:39:20 +01:00
gstvaapidecoder_objects.c libs: small code style fixes 2016-02-03 12:45:30 +01:00
gstvaapidecoder_objects.h decoder: add initial infrastructure for marking corrupted output. 2015-07-20 15:25:46 +02:00
gstvaapidecoder_priv.h Remove old gst version guards 2016-01-25 12:09:40 +00:00
gstvaapidecoder_unit.c libs: humongous code style fix 2016-02-03 20:03:47 +01:00
gstvaapidecoder_unit.h libs: check that private headers remain private. 2014-01-23 14:29:09 +01:00
gstvaapidecoder_vc1.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapidecoder_vc1.h legal: update copyright notice dates. 2013-11-22 06:39:20 +01:00
gstvaapidecoder_vp8.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapidecoder_vp8.h Add initial VP8 decoder. 2014-04-18 20:03:44 +02:00
gstvaapidecoder_vp9.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapidecoder_vp9.h VP9: libgstvaapi: Add VP9 decoder 2015-11-06 15:12:51 +02:00
gstvaapidisplay.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapidisplay.h libs: display: GstVaapiDisplay as GstObject descendant 2016-11-03 08:24:59 +01:00
gstvaapidisplay_drm.c libs: drm: find render node in hybrid system 2016-12-06 17:33:42 +01:00
gstvaapidisplay_drm.h libs: display: GstVaapiDisplay as GstObject descendant 2016-11-03 08:24:59 +01:00
gstvaapidisplay_drm_priv.h libs: display: GstVaapiDisplay as GstObject descendant 2016-11-03 08:24:59 +01:00
gstvaapidisplay_egl.c libs: display: egl: avoid recreate native display 2016-11-03 08:27:57 +01:00
gstvaapidisplay_egl.h libs: display: GstVaapiDisplay as GstObject descendant 2016-11-03 08:24:59 +01:00
gstvaapidisplay_egl_priv.h libs: display: GstVaapiDisplay as GstObject descendant 2016-11-03 08:24:59 +01:00
gstvaapidisplay_glx.c libs: display: GstVaapiDisplay as GstObject descendant 2016-11-03 08:24:59 +01:00
gstvaapidisplay_glx.h libs: display: GstVaapiDisplay as GstObject descendant 2016-11-03 08:24:59 +01:00
gstvaapidisplay_glx_priv.h libs: display: GstVaapiDisplay as GstObject descendant 2016-11-03 08:24:59 +01:00
gstvaapidisplay_priv.h libs: display: GstVaapiDisplay as GstObject descendant 2016-11-03 08:24:59 +01:00
gstvaapidisplay_wayland.c libs: display: GstVaapiDisplay as GstObject descendant 2016-11-03 08:24:59 +01:00
gstvaapidisplay_wayland.h libs: display: GstVaapiDisplay as GstObject descendant 2016-11-03 08:24:59 +01:00
gstvaapidisplay_wayland_priv.h libs: display: GstVaapiDisplay as GstObject descendant 2016-11-03 08:24:59 +01:00
gstvaapidisplay_x11.c libs: display: GstVaapiDisplay as GstObject descendant 2016-11-03 08:24:59 +01:00
gstvaapidisplay_x11.h libs: display: GstVaapiDisplay as GstObject descendant 2016-11-03 08:24:59 +01:00
gstvaapidisplay_x11_priv.h libs: display: GstVaapiDisplay as GstObject descendant 2016-11-03 08:24:59 +01:00
gstvaapidisplaycache.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapidisplaycache.h display: use a recursive mutex for the display cache. 2015-01-27 18:11:44 +01:00
gstvaapiencoder.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapiencoder.h libs: trivial documentation fix 2015-05-06 09:54:26 +02:00
gstvaapiencoder_h264.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapiencoder_h264.h encoder: h264 : Use "tune=low-power" for enabling lowpower encode 2016-05-13 11:44:57 +03:00
gstvaapiencoder_h265.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapiencoder_h265.h HEVC_Encode: Add HEVC(h265) encoder to core libgstvaapi 2015-05-25 11:42:33 +03:00
gstvaapiencoder_jpeg.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapiencoder_jpeg.h encoder: Add JPEG Encoder 2015-02-04 11:16:05 +02:00
gstvaapiencoder_mpeg2.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapiencoder_mpeg2.h legal: update copyright notice dates. 2014-01-22 19:02:35 +01:00
gstvaapiencoder_mpeg2_priv.h legal: update copyright notice dates. 2014-01-22 19:02:35 +01:00
gstvaapiencoder_objects.c libs: small code style fixes 2016-02-03 12:45:30 +01:00
gstvaapiencoder_objects.h encoder: avoid GstVaapiCodedBuffer redefinition 2015-04-08 16:20:55 +02:00
gstvaapiencoder_priv.h encoder: notify the encoder of the submitted packed headers. 2014-01-23 15:48:58 +01:00
gstvaapiencoder_vp8.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapiencoder_vp8.h Add VP8 Encoder to core libgstvaapi. 2015-02-13 13:42:04 +02:00
gstvaapiencoder_vp9.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapiencoder_vp9.h encoder: vp9: Add simple algorithms for reference picture selection 2016-05-30 12:18:04 +03:00
gstvaapifilter.c libs: move get_surface_formats to utils_core 2016-11-03 13:04:09 +01:00
gstvaapifilter.h vaapipostproc: checking and updating filter parameter only when it's set 2016-07-22 12:08:20 +02:00
gstvaapiimage.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapiimage.h legal: update copyright notice dates. 2013-11-22 06:39:20 +01:00
gstvaapiimage_priv.h legal: add per-file authorship information. 2013-11-22 06:39:15 +01:00
gstvaapiimagepool.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapiimagepool.h videopool: re-indent all GstVaapiVideoPool related source code. 2015-01-27 18:11:45 +01:00
gstvaapiminiobject.c libs: expose GstVaapiMiniObject APIs to all backends. 2015-01-27 18:11:44 +01:00
gstvaapiminiobject.h libs: expose GstVaapiMiniObject APIs to all backends. 2015-01-27 18:11:44 +01:00
gstvaapiobject.c libs: re-indent all GstVaapiObject related source code. 2015-01-27 18:11:44 +01:00
gstvaapiobject.h libs: re-indent all GstVaapiObject related source code. 2015-01-27 18:11:44 +01:00
gstvaapiobject_priv.h display: record native display object. 2015-01-27 18:11:44 +01:00
gstvaapiparser_frame.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapiparser_frame.h legal: add per-file authorship information. 2013-11-22 06:39:15 +01:00
gstvaapipixmap.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapipixmap.h legal: add per-file authorship information. 2013-11-22 06:39:15 +01:00
gstvaapipixmap_priv.h libs: minor correction for logical consistency 2016-10-25 11:35:22 +02:00
gstvaapipixmap_x11.c libs: humongous code style fix 2016-02-03 20:03:47 +01:00
gstvaapipixmap_x11.h legal: add per-file authorship information. 2013-11-22 06:39:15 +01:00
gstvaapiprofile.c gstvaapiprofile : Add VAEntrypointEncSliceLP definitions 2016-05-11 12:02:44 +03:00
gstvaapiprofile.h gstvaapiprofile : Add VAEntrypointEncSliceLP definitions 2016-05-11 12:02:44 +03:00
gstvaapisubpicture.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapisubpicture.h legal: add per-file authorship information. 2013-11-22 06:39:15 +01:00
gstvaapisurface.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapisurface.h Add definitions for YUV420 with more than 8 bits per channel 2015-12-07 19:06:28 +02:00
gstvaapisurface_drm.c Revert "gstvaapisurface_drm: release image when done" 2016-07-22 17:15:58 +02:00
gstvaapisurface_drm.h libs: change gst_vaapi_surface_new_with_dma_buf_handle() 2016-06-08 10:19:01 +02:00
gstvaapisurface_egl.c egl: allow for EGLImage imports into VA Surfaces. 2015-02-24 15:20:03 +01:00
gstvaapisurface_egl.h egl: allow for EGLImage imports into VA Surfaces. 2015-02-24 15:20:03 +01:00
gstvaapisurface_priv.h surface: add initial support for foreign buffer imports. 2015-01-28 17:35:16 +01:00
gstvaapisurfacepool.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapisurfacepool.h gstvaapisurfacepool: Add new API to create surface pool based on chroma type 2015-12-08 15:16:00 +02:00
gstvaapisurfaceproxy.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapisurfaceproxy.h decoder: add initial infrastructure for marking corrupted output. 2015-07-20 15:25:46 +02:00
gstvaapisurfaceproxy_priv.h surfaceproxy: re-indent all GstVaapiSurfaceProxy related source code. 2015-01-27 18:11:44 +01:00
gstvaapitexture.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapitexture.h plugins: add support for GstVideoGLTextureOrientation. 2015-02-24 15:20:03 +01:00
gstvaapitexture_egl.c libs: display: GstVaapiDisplay as GstObject descendant 2016-11-03 08:24:59 +01:00
gstvaapitexture_egl.h egl: add texture abstraction. 2015-02-24 15:20:03 +01:00
gstvaapitexture_glx.c libs: trivial comment style fixes 2016-02-03 12:20:37 +01:00
gstvaapitexture_glx.h texture: move to core libgstvaapi base library. 2015-01-27 18:11:44 +01:00
gstvaapitexture_priv.h libs: minor correction for logical consistency 2016-10-25 11:35:22 +02:00
gstvaapitexturemap.c libs: vaapitexturemap: trivial code-style fix 2016-11-03 08:31:16 +01:00
gstvaapitexturemap.h libs: vaapitexturemap: implement GstVaapiTextureMap 2016-09-22 14:19:05 +02:00
gstvaapitypes.h vaapisink: add support for GST_TAG_IMAGE_ORIENTATION 2016-07-05 20:17:12 +02:00
gstvaapiutils.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapiutils.h filter: add initial support for high quality scaling. 2014-10-29 17:33:48 +01:00
gstvaapiutils_core.c libs: move get_surface_formats to utils_core 2016-11-03 13:04:09 +01:00
gstvaapiutils_core.h libs: move get_surface_formats to utils_core 2016-11-03 13:04:09 +01:00
gstvaapiutils_egl.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapiutils_egl.h libs: display: GstVaapiDisplay as GstObject descendant 2016-11-03 08:24:59 +01:00
gstvaapiutils_glx.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapiutils_glx.h libs: add gl3_bind_texture_2d() 2015-11-30 13:26:22 +01:00
gstvaapiutils_h264.c encoder: h264: add initial support for H.264 Stereo High profile. 2014-06-02 18:25:13 +02:00
gstvaapiutils_h264.h libs: re-indent all source code related to VA utilities. 2014-01-23 18:51:59 +01:00
gstvaapiutils_h264_priv.h libs: re-indent all source code related to VA utilities. 2014-01-23 18:51:59 +01:00
gstvaapiutils_h265.c libs: small code style fixes 2016-02-03 12:45:30 +01:00
gstvaapiutils_h265.h gstvaapiutils_h265: Add H265 Tier specific utility functions 2015-05-25 11:23:16 +03:00
gstvaapiutils_h265_priv.h Add 10 HEVC 10 bit decoding support 2015-12-08 16:14:11 +02:00
gstvaapiutils_mpeg2.c legal: update copyright notice dates. 2014-01-22 19:02:35 +01:00
gstvaapiutils_mpeg2.h libs: re-indent all source code related to VA utilities. 2014-01-23 18:51:59 +01:00
gstvaapiutils_mpeg2_priv.h libs: re-indent all source code related to VA utilities. 2014-01-23 18:51:59 +01:00
gstvaapiutils_x11.c libs: x11: allows 30-bit colour depth 2016-03-29 12:08:55 +02:00
gstvaapiutils_x11.h window: add toplevel API to determine a visual id. 2015-01-27 18:11:45 +01:00
gstvaapivalue.c vaapisink: add support for GST_TAG_IMAGE_ORIENTATION 2016-07-05 20:17:12 +02:00
gstvaapivalue.h legal: update copyright notice dates. 2014-01-22 19:02:35 +01:00
gstvaapiversion.h.in display: dump gstreamer-vaapi version for debugging purposes. 2013-01-18 14:49:15 +01:00
gstvaapivideopool.c videopool: Release lock while allocating new object 2015-04-16 12:11:45 +02:00
gstvaapivideopool.h videopool: re-indent all GstVaapiVideoPool related source code. 2015-01-27 18:11:45 +01:00
gstvaapivideopool_priv.h videopool: re-indent all GstVaapiVideoPool related source code. 2015-01-27 18:11:45 +01:00
gstvaapiwindow.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapiwindow.h vaapisink: implement unlock/unlock_stop for wayland 2015-05-15 17:10:37 +02:00
gstvaapiwindow_drm.c libs: trivial comment style fixes 2016-02-03 12:20:37 +01:00
gstvaapiwindow_drm.h window: re-indent all GstVaapiWindow related source code. 2014-07-25 17:36:12 +02:00
gstvaapiwindow_egl.c libs: window: egl: pass native va display 2016-11-03 08:27:40 +01:00
gstvaapiwindow_egl.h egl: add windowing support. 2015-02-24 15:20:03 +01:00
gstvaapiwindow_glx.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapiwindow_glx.h window: re-indent all GstVaapiWindow related source code. 2014-07-25 17:36:12 +02:00
gstvaapiwindow_priv.h libs: minor correction for logical consistency 2016-10-25 11:35:22 +02:00
gstvaapiwindow_wayland.c libs: fix code style for errors 2016-11-03 12:51:44 +01:00
gstvaapiwindow_wayland.h window: re-indent all GstVaapiWindow related source code. 2014-07-25 17:36:12 +02:00
gstvaapiwindow_x11.c window: add toplevel display indirection for visualid and colormap. 2015-01-27 18:11:45 +01:00
gstvaapiwindow_x11.h window: re-indent all GstVaapiWindow related source code. 2014-07-25 17:36:12 +02:00
gstvaapiwindow_x11_priv.h window: add toplevel API to determine the colormap. 2015-01-27 18:11:45 +01:00
gstvaapiworkarounds.h legal: add per-file authorship information. 2013-11-22 06:39:15 +01:00
libgstvaapi_priv_check.h libs: add missing file (libgstvaapi_priv_check.h). 2014-01-23 17:06:08 +01:00
Makefile.am build: add LIBVA_WAYLAND_CFLAGS to libgstvaapiegl 2016-11-25 09:54:22 +01:00
ogl_compat.h Add initial support for EGL. 2015-02-24 15:20:03 +01:00
sysdeps.h remove unused glibcompat.h 2016-06-23 12:47:52 +02:00
video-format.c video-format: Keep the HW order preference while mapping to GstVideoFormats 2016-03-29 15:34:38 +03:00
video-format.h surface pool config based on video info 2015-08-13 17:20:19 +02:00