[vlc-devel] [PATCH] Add picture format declarations for NV12 and NV21

Laurent Aimar fenrir at elivagar.org
Mon Sep 12 21:48:46 CEST 2011


On Thu, Sep 08, 2011 at 11:55:25PM +0300, Martin Storsjö wrote:
> ---
>  src/misc/fourcc.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
> index fa357fc..5279874 100644
> --- a/src/misc/fourcc.c
> +++ b/src/misc/fourcc.c
> @@ -1767,6 +1767,7 @@ static const struct
>      { { VLC_CODEC_I411, 0 },                   PLANAR_8(3, 4, 1) },
>      { { VLC_CODEC_YUV_PLANAR_410, 0 },         PLANAR_8(3, 4, 4) },
>      { { VLC_CODEC_YUV_PLANAR_420, 0 },         PLANAR_8(3, 2, 2) },
> +    { { VLC_CODEC_NV12, VLC_CODEC_NV21, 0 },   PLANAR_8(2, 1, 2) },
>      { { VLC_CODEC_YUV_PLANAR_422, 0 },         PLANAR_8(3, 2, 1) },
>      { { VLC_CODEC_YUV_PLANAR_440, 0 },         PLANAR_8(3, 1, 2) },
>      { { VLC_CODEC_YUV_PLANAR_444, 0 },         PLANAR_8(3, 1, 1) },

Merged by [2bf6fb20e219a113622624ee61c143e543b65bf0].
Thanks for your work.

-- 
fenrir



More information about the vlc-devel mailing list