HRD failed because parameter failed to passed by the avcenc tool for the HRD testing, it is caused by avcenc tools not HRD algorithm/setting in driver.
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
4. avcenc 704 576
5. Analysis the 2.264 file with Elecard Buffer Analyzer, overflow error
Created attachment 99550 [details]
Buffer analysis for 1080P IP mode
Created attachment 99551 [details]
Buffer analysis for D1 resoluation(IP mode)
Before used Yakui's latest patch(ww21.2) for libva, found the buffer over flow issue by using Vega for HRD buffer analysis for D1 resolution. (See more from the attached files)
After the patch, the issue gone. So close the bug.
verified and close the issue.