hardware/intel/intel-driver
Revision | 99ae37b2e2d29be0c00447f26ccab294a2bcc2d9 (tree) |
---|---|
Zeit | 2016-01-26 16:12:01 |
Autor | peng.chen <peng.c.chen@inte...> |
Commiter | Xiang, Haihao |
set the minimum of vp9 deocding frame width and height as 1, not 8
Signed-off-by: peng.chen <peng.c.chen@intel.com>
@@ -1322,10 +1322,10 @@ intel_decoder_check_vp9_parameter(VADriverContextP ctx, | ||
1322 | 1322 | int i=0, index=0; |
1323 | 1323 | |
1324 | 1324 | //Max support upto 4k for BXT |
1325 | - if ((pic_param->frame_width-1 < 7) || (pic_param->frame_width-1 > 4095)) | |
1325 | + if ((pic_param->frame_width-1 < 0) || (pic_param->frame_width-1 > 4095)) | |
1326 | 1326 | return va_status; |
1327 | 1327 | |
1328 | - if ((pic_param->frame_height-1 < 7) || (pic_param->frame_height-1 > 4095)) | |
1328 | + if ((pic_param->frame_height-1 < 0) || (pic_param->frame_height-1 > 4095)) | |
1329 | 1329 | return va_status; |
1330 | 1330 | |
1331 | 1331 | //Set the reference object in decode state for last reference |