From 1638fa7b4663e4ad46ccd9750debba730222ea2a Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Mon, 6 May 2019 21:25:45 -0700 Subject: 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. --- video/img_format.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'video/img_format.h') 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) -- cgit v1.2.3