Bug 55985

Summary: [SNB IVB HSW] Overflow shown during HRD test
Product: libva Reporter: Du Yan <yanx.du>
Component: intelAssignee: haihao <haihao.xiang>
Status: VERIFIED INVALID QA Contact:
Severity: normal    
Priority: medium CC: chao.a.chen, ouping.zhang, seanvk
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Du Yan 2012-10-15 01:20:16 UTC
Environment:
--------------

Intel driver: 
commit 84bc0b4cd257404a0fd47186b3459df6d29abb5b
Author: Li,Xiaowei <xiaowei.a.li@intel.com>
Date:   Tue Sep 25 13:09:13 2012 +0800

Libva: 
commit 11ef676d6722b5d203b2eff2639de515510c5673
Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Date:   Thu Oct 4 15:28:07 2012 +0200

Bug Info:
--------------
HRD analysis failed. 
Error showed: buffer overflow at 9.921 sec. (432 072 bits)


Reproduce steps:
----------------
1.      xinit &
2.      avcenc 1920 1080 /home/encoder/encoderbitstreams.bak/1080p_blue_sky.yuv
/tmp/1.264 fb=20000 mode=1
3.      Analysis the 1.264 file with Elecard Buffer Analyzer, then HRD test
passed.
4.      avcenc 704 576
/home/encoder/encoderbitstreams.bak/CITY_704x576_30_orig_01.yuv /tmp/2.264
fb=20000 mode=1
5.      Analysis the 2.264 file with Elecard Buffer Analyzer, overflow error
showed.
Comment 1 Ouping Zhang 2013-02-04 09:32:31 UTC
libva(staging) 21649988d6b532cc96f633db017d1e4369f640e9
intel-driver(staging) 8bab2d909dc11a9044d8049f334cc60d23c0ee61

for 704x576 YUV file, which encoded with "fb=20000 mode=1", HRD failed, buffer overflow.

cmd: avcenc 704 576 /home/encoder/encoderbitstreams.bak/CITY_704x576_30_orig_01.yuv /tmp/2.264 fb=20000 mode=1
Comment 2 Du Yan 2013-03-05 01:42:59 UTC
it is caused by avcenc tools. pls refer to #bug 61779

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.