[Libva] [PATCH V1][libva-intel-driver] set the minimum of vp9 deocding frame width and height as 1, not 8
Xiang, Haihao
haihao.xiang at intel.com
Mon Jan 25 23:15:13 PST 2016
Applied.
Thanks
Haihao
> Signed-off-by: peng.chen <peng.c.chen at intel.com>
> ---
> src/i965_decoder_utils.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/i965_decoder_utils.c b/src/i965_decoder_utils.c
> index 70f34dd..5c2672e 100644
> --- a/src/i965_decoder_utils.c
> +++ b/src/i965_decoder_utils.c
> @@ -1339,10 +1339,10 @@
> intel_decoder_check_vp9_parameter(VADriverContextP ctx,
> int i=0, index=0;
>
> //Max support upto 4k for BXT
> - if ((pic_param->frame_width-1 < 7) || (pic_param->frame_width-1
> > 4095))
> + if ((pic_param->frame_width-1 < 0) || (pic_param->frame_width-1
> > 4095))
> return va_status;
>
> - if ((pic_param->frame_height-1 < 7) || (pic_param->frame_height-
> 1 > 4095))
> + if ((pic_param->frame_height-1 < 0) || (pic_param->frame_height-
> 1 > 4095))
> return va_status;
>
> //Set the reference object in decode state for last reference
More information about the Libva
mailing list