[vlc-commits] fourcc: add VLC_CODEC_VAAPI_420_10BPP

Thomas Guillem git at videolan.org
Tue Nov 7 11:52:48 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Sun Sep  3 10:35:35 2017 +0200| [f67d9330285b21a0a35c03de391df71596e7091b] | committer: Thomas Guillem

fourcc: add VLC_CODEC_VAAPI_420_10BPP

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f67d9330285b21a0a35c03de391df71596e7091b
---

 include/vlc_fourcc.h | 1 +
 src/misc/fourcc.c    | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index 5ec345f43a..ecbd37cd45 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -352,6 +352,7 @@
 
 /* VAAPI opaque surface */
 #define VLC_CODEC_VAAPI_420 VLC_FOURCC('V','A','O','P') /* 4:2:0  8 bpc */
+#define VLC_CODEC_VAAPI_420_10BPP VLC_FOURCC('V','A','O','0') /* 4:2:0 10 bpc */
 
 /* MediaCodec/IOMX opaque buffer type */
 #define VLC_CODEC_ANDROID_OPAQUE  VLC_FOURCC('A','N','O','P')
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 0203f32522..cbbc0d97df 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -707,7 +707,8 @@ static const struct
         VLC_CODEC_CVPX_I420, VLC_CODEC_CVPX_BGRA },
                                                FAKE_FMT() },
 
-    { { VLC_CODEC_VAAPI_420 },                 FAKE_FMT() },
+    { { VLC_CODEC_VAAPI_420, VLC_CODEC_VAAPI_420_10BPP },
+                                               FAKE_FMT() },
 
     { { 0 },                                   FAKE_FMT() }
 };



More information about the vlc-commits mailing list