[vlc-devel] [PATCH 0/2] vapi: Add support for DRM modifiers

Lionel Landwerlin lionel.g.landwerlin at intel.com
Sun May 10 16:56:34 CEST 2020


More recent versions of VAAPI allow to DRM modifiers associated with a
given buffer. On most HW this would indicate tiling associated with
the buffer (tiled buffers tend to optimize for memory bandwidth). On
Intel HW some modifiers also indicate the compression format
associated with a buffer (further optimizing memory bandwidth).

The particular problem this series is trying to solve is that our most
recent HW had to drop kernel API support for getting/setting tiling
information on a given buffer.

Modifiers have been around for a number of years, much like width,
height, pitch, etc... they're just another attribute describing a
buffer. Let's plumb that from VAAPI to GL.

Cheers,

Lionel Landwerlin (2):
  configure: bump libva dependency to 2.0 (vaapi 1.0)
  vaapi: add support for DRM modifiers

 configure.ac                                | 11 ++-
 modules/hw/vaapi/vlc_vaapi.c                | 15 ++++
 modules/hw/vaapi/vlc_vaapi.h                | 10 +++
 modules/video_output/opengl/interop_vaapi.c | 91 +++++++++++++++++++--
 4 files changed, 118 insertions(+), 9 deletions(-)

--
2.26.2


More information about the vlc-devel mailing list