[vlc-devel] [RFC PATCH] fourcc_list: add opaque types
Thomas Guillem
thomas at gllm.fr
Mon Sep 3 16:29:34 CEST 2018
Fix the empty "Decoder Format:" info when using HW acceleration.
RFC: Do you prefer some other strings ?
---
src/misc/fourcc_list.h | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/src/misc/fourcc_list.h b/src/misc/fourcc_list.h
index 296dad36a9..dfb5a10e47 100644
--- a/src/misc/fourcc_list.h
+++ b/src/misc/fourcc_list.h
@@ -1154,6 +1154,48 @@ static const staticentry_t p_list_video[] = {
B(VLC_CODEC_IMM4, "Infinity IMM4"),
A("IMM4"),
+
+ B(VLC_CODEC_VDPAU_VIDEO_420, "4:2:0 VDPAU opaque"),
+ A("VDV0"),
+
+ B(VLC_CODEC_VDPAU_VIDEO_422, "4:2:2 VDPAU opaque"),
+ A("VDV2"),
+
+ B(VLC_CODEC_VDPAU_VIDEO_444, "4:4:4 VDPAU opaque"),
+ A("VDV4"),
+
+ B(VLC_CODEC_VDPAU_OUTPUT, "VDPAU opaque"),
+ A("VDVR"),
+
+ B(VLC_CODEC_VAAPI_420, "4:2:0 VAAPI opaque"),
+ A("VAOP"),
+
+ B(VLC_CODEC_VAAPI_420_10BPP, "4:2:0 10bits VAAPI opaque"),
+ A("VAO0"),
+
+ B(VLC_CODEC_ANDROID_OPAQUE, "Android opaque"),
+ A("ANOP"),
+
+ B(VLC_CODEC_MMAL_OPAQUE, "MMAL opaque"),
+ A("MMAL"),
+
+ B(VLC_CODEC_D3D9_OPAQUE, "4:2:0 D3D9 opaque"),
+ A("DXA9"),
+
+ B(VLC_CODEC_D3D9_OPAQUE_10B, "4:2:0 10bits D3D9 opaque"),
+ A("DXA0"),
+
+ B(VLC_CODEC_D3D11_OPAQUE, "4:2:0 D3D11 opaque"),
+ A("DX11"),
+
+ B(VLC_CODEC_D3D11_OPAQUE_10B, "4:2:0 10bits D3D11 opaque"),
+ A("DX10"),
+
+ B(VLC_CODEC_D3D11_OPAQUE_RGBA, "RGBA D3D11 opaque"),
+ A("DXRG"),
+
+ B(VLC_CODEC_D3D11_OPAQUE_BGRA, "BGRA D3D11 opaque"),
+ A("DAGR"),
};
static const staticentry_t p_list_audio[] = {
--
2.18.0
More information about the vlc-devel
mailing list