summaryrefslogtreecommitdiffstats
path: root/video/vaapi.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-25 10:55:02 +0200
committerwm4 <wm4@nowhere>2015-09-25 12:03:36 +0200
commit0b87bf9b72e495ae1b578ee2f268f3dc4e77bf81 (patch)
tree66bd65ad7c9519ce56e3078ccd0cda2780ffe7a5 /video/vaapi.c
parent456366b63b3f29c736593817ef055701250a7eb1 (diff)
downloadmpv-0b87bf9b72e495ae1b578ee2f268f3dc4e77bf81.tar.bz2
mpv-0b87bf9b72e495ae1b578ee2f268f3dc4e77bf81.tar.xz
vo_opengl: vaapi: document DRM fourcc upstream defines
Add the upstream symbolic names as comments. Normally, these should be defined in libdrm's drm_fourcc.h header. But DRM_FORMAT_R8 and DRM_FORMAT_GR88 are not defined anywhere, except in the kernel userland headers of Linux 4.3 (!). We don't want mpv to depend on bleeding-edge Linux kernel headers, so this will have to do. Also, just for completeness, add fourccs for the 3 and 4 channel formats. I didn't manage to test them, though.
Diffstat (limited to 'video/vaapi.c')
0 files changed, 0 insertions, 0 deletions