[Libva] [PATCH] Fix the GetConfigAttributes() for JPEGBaseline profile
Xiang, Haihao
haihao.xiang at intel.com
Thu Jan 22 22:44:46 PST 2015
Applied,
Thanks
Haihao
> From: Sreerenj Balachandran <sreerenj.balachandran at intel.com>
>
> Advertise the PACKED_RAW_DATA header support for JPEGEncoding.
> ---
> src/i965_drv_video.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
> index 7039dd3..5c48460 100644
> --- a/src/i965_drv_video.c
> +++ b/src/i965_drv_video.c
> @@ -749,6 +749,10 @@ i965_GetConfigAttributes(VADriverContextP ctx,
> }
> break;
> }
> + else if (entrypoint == VAEntrypointEncPicture) {
> + if (profile == VAProfileJPEGBaseline)
> + attrib_list[i].value = VA_ENC_PACKED_HEADER_RAW_DATA;
> + }
> break;
>
> case VAConfigAttribEncMaxRefFrames:
More information about the Libva
mailing list