[vlc-devel] [PATCH 1/2] fourcc: add VAAPI opaque surface

Jean-Baptiste Kempf jb at videolan.org
Tue Aug 23 20:02:55 CEST 2016


LGTM

On 23 Aug, Petri Hintukainen wrote :
> ---
>  include/vlc_fourcc.h | 3 +++
>  src/misc/fourcc.c    | 1 +
>  2 files changed, 4 insertions(+)
> 
> diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
> index 5994a77..3b0aa76 100644
> --- a/include/vlc_fourcc.h
> +++ b/include/vlc_fourcc.h
> @@ -340,6 +340,9 @@
>  /* VDPAU output surface RGBA */
>  #define VLC_CODEC_VDPAU_OUTPUT    VLC_FOURCC('V','D','O','R')
>  
> +/* VAAPI opaque surface */
> +#define VLC_CODEC_VAAPI_OPAQUE    VLC_FOURCC('V','A','O','P')
> +
>  /* 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 9e42045..d8ed637 100644
> --- a/src/misc/fourcc.c
> +++ b/src/misc/fourcc.c
> @@ -667,6 +667,7 @@ static const struct
>      { { VLC_CODEC_D3D11_OPAQUE_10B, VLC_CODEC_D3D9_OPAQUE_10B },
>                                                 FAKE_FMT() },
>      { { VLC_CODEC_CVPX_OPAQUE },               FAKE_FMT() },
> +    { { VLC_CODEC_VAAPI_OPAQUE },              FAKE_FMT() },
>  
>      { { 0 },                                   FAKE_FMT() }
>  };
> -- 
> 2.7.4
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the vlc-devel mailing list