[vlc-devel] [PATCH] include: add enum for chroma location
Vittorio Giovara
vittorio.giovara at gmail.com
Sat Apr 16 16:13:28 CEST 2016
On Sat, Apr 16, 2016 at 10:10 AM, Jan Ekström <jeebjp at gmail.com> wrote:
> This lets us handle chroma location correctly further down the
> rendering chain (even if in general things can be assumed by just
> the video track's format).
> ---
> include/vlc_es.h | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/include/vlc_es.h b/include/vlc_es.h
> index 9b582cc..471d2b3 100644
> --- a/include/vlc_es.h
> +++ b/include/vlc_es.h
> @@ -235,6 +235,16 @@ typedef enum video_color_space_t
> } video_color_space_t;
>
> /**
> + * Video chroma location
> + */
> +typedef enum video_chroma_location_t
> +{
> + CHROMA_LOCATION_UNDEF,
> + CHROMA_LOCATION_LEFT, /*< Most common in MPEG-2 Video, H.264/265 */
> + CHROMA_LOCATION_CENTER, /*< Most common in MPEG-1 Video, JPEG */
> +} video_chroma_location_t;
what about all the other positions?
--
Vittorio
More information about the vlc-devel
mailing list