[vlc-devel] [PATCH 1/3] [RFC] vlc_es: add the original chroma
Steve Lhomme
robux4 at videolabs.io
Tue Jul 12 16:59:46 CEST 2016
This is needed when using opaque chroma formats. The vout doesn't know the
pixel format that is intended to be decoded and so we can't decide for
8/10/12/16 bits rendering. The same goes for YUV vs RGB or for 4:2:0 vs 4:2:2.
---
include/vlc_es.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/vlc_es.h b/include/vlc_es.h
index a933b11..6465921 100644
--- a/include/vlc_es.h
+++ b/include/vlc_es.h
@@ -284,6 +284,7 @@ typedef enum video_chroma_location_t
struct video_format_t
{
vlc_fourcc_t i_chroma; /**< picture chroma */
+ vlc_fourcc_t i_original_chroma; /**< original for opaque hw chroma */
unsigned int i_width; /**< picture width */
unsigned int i_height; /**< picture height */
--
2.8.2
More information about the vlc-devel
mailing list