[Libva] [Libva-intel-driver][PATCH 3/3] Decoding: Export the normal slice mode for decoding

Xiang, Haihao haihao.xiang at intel.com
Mon Aug 24 22:24:46 PDT 2015


LGTM

Thanks
Haihao

> Signed-off-by: Zhao Yakui <yakui.zhao at intel.com>
> ---
>  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 8408413..52be6ff 100644
> --- a/src/i965_drv_video.c
> +++ b/src/i965_drv_video.c
> @@ -786,6 +786,10 @@ i965_GetConfigAttributes(VADriverContextP ctx,
>              }
>              break;
>  
> +        case VAConfigAttribDecSliceMode:
> +            attrib_list[i].value = VA_DEC_SLICE_MODE_NORMAL;
> +            break;
> +
>          default:
>              /* Do nothing */
>              attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;




More information about the Libva mailing list