[Libva] [libva-intel-driver PATCH] Keep backward compatibility with VA API 0.38.0
Zhao Yakui
yakui.zhao at intel.com
Sun Dec 6 22:35:07 PST 2015
On 12/07/2015 01:22 PM, Xiang, Haihao wrote:
> Signed-off-by: Xiang, Haihao<haihao.xiang at intel.com>
This looks good to me.
Thanks
Yakui
> ---
> src/va_backend_compat.h | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/src/va_backend_compat.h b/src/va_backend_compat.h
> index 8767153..7f0a607 100644
> --- a/src/va_backend_compat.h
> +++ b/src/va_backend_compat.h
> @@ -50,4 +50,12 @@
> # define VAProfileH264StereoHigh 16
> #endif
>
> +#if !VA_CHECK_VERSION(0,38,1)
> +
> +# define VA_RT_FORMAT_YUV420_10BPP 0x00000100
> +# define VA_FOURCC_P010 0x30313050
> +# define VA_FOURCC_P016 0x36313050
> +
> +#endif
> +
> #endif /* VA_BACKEND_COMPAT_H */
More information about the Libva
mailing list