diff options
author | Philip Langdale <philipl@overt.org> | 2019-05-06 21:25:45 -0700 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2019-07-08 01:11:27 +0200 |
commit | 1638fa7b4663e4ad46ccd9750debba730222ea2a (patch) | |
tree | 1540f1bdbbb64441da694b5b190c5a80fa35c7fd /video/img_format.h | |
parent | 13e14d95e1bd9484c69a9f4fe3409fc5cb9ebaaf (diff) | |
download | mpv-1638fa7b4663e4ad46ccd9750debba730222ea2a.tar.bz2 mpv-1638fa7b4663e4ad46ccd9750debba730222ea2a.tar.xz |
vo/gpu: hwdec_vdpau: Support direct mode for 4:4:4 content
New releases of VDPAU support decoding 4:4:4 content, and that comes
back as NV24 when using 'direct mode' in OpenGL Interop. That means we
need to be a little bit smarter about how we set up the OpenGL
textures.
Diffstat (limited to 'video/img_format.h')
-rw-r--r-- | video/img_format.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/img_format.h b/video/img_format.h index c316afa94d..1b5e97a8d3 100644 --- a/video/img_format.h +++ b/video/img_format.h @@ -163,6 +163,9 @@ enum mp_imgfmt { // Like IMGFMT_NV12, but with 10 bits per component (and 6 bits of padding) IMGFMT_P010, + // Like IMGFMT_NV12, but for 4:4:4 + IMGFMT_NV24, + // RGB/BGR Formats // Byte accessed (low address to high address) |