From: Zhao Yakui <[email protected]> Otherwise the buffer access is incorrect.
Signed-off-by: Zhao Yakui <[email protected]> --- src/i965_device_info.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/i965_device_info.c b/src/i965_device_info.c index 13e3daa..d5b5cb8 100644 --- a/src/i965_device_info.c +++ b/src/i965_device_info.c @@ -230,7 +230,7 @@ static struct hw_codec_info bdw_hw_codec_info = { .max_width = 4096, .max_height = 4096, - .min_linear_wpitch = 64, + .min_linear_wpitch = 128, .min_linear_hpitch = 16, .h264_mvc_dec_profiles = (VA_PROFILE_MASK(H264StereoHigh) | @@ -273,7 +273,7 @@ static struct hw_codec_info chv_hw_codec_info = { .max_width = 4096, .max_height = 4096, - .min_linear_wpitch = 64, + .min_linear_wpitch = 128, .min_linear_hpitch = 16, .h264_mvc_dec_profiles = (VA_PROFILE_MASK(H264StereoHigh) | @@ -321,7 +321,7 @@ static struct hw_codec_info skl_hw_codec_info = { .max_width = 4096, .max_height = 4096, - .min_linear_wpitch = 64, + .min_linear_wpitch = 128, .min_linear_hpitch = 16, .h264_mvc_dec_profiles = (VA_PROFILE_MASK(H264StereoHigh) | -- 1.8.5.dirty _______________________________________________ Libva mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libva
