Bug 72663

Summary: scaling with vpp issue
Product: libva Reporter: Long Bu <long.bu>
Component: intelAssignee: haihao <haihao.xiang>
Status: RESOLVED FIXED QA Contact: Sean V Kelley <seanvk>
Severity: blocker    
Priority: medium CC: clear.zhang, haihao.xiang
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: screenshot
patch
test case

Description Long Bu 2013-12-13 06:19:16 UTC
Created attachment 90693 [details]
screenshot

when doing scaling down 4 surfaces into 1 surface with vpp, there are green blocks in the resulted surface as shown in attached screen.

With the attached patch which fixes the green blocks, it also introduces another side effects: the destination height of target scaled image has to be aligned to 32.

We expect libva vpp to scale image as exact specified destination height and width without green blocks.
Comment 1 Long Bu 2013-12-13 06:19:40 UTC
Created attachment 90694 [details]
patch
Comment 2 Long Bu 2013-12-13 06:22:57 UTC
Forgot to mention that the platform is ivybridge i7.
Comment 3 Shuang He 2013-12-13 06:35:34 UTC
Could you please provide detailed commands to reproduce this issue?
Comment 4 Long Bu 2013-12-17 09:21:58 UTC
(In reply to comment #3)
> Could you please provide detailed commands to reproduce this issue?
See attached simple test case
Comment 5 Long Bu 2013-12-17 09:23:38 UTC
Created attachment 90870 [details]
test case
Comment 6 Long Bu 2013-12-17 09:27:53 UTC
the yuv data for main.c is beyond bugzilla limitation. and I uploaded it
to this link
http://pan.baidu.com/s/1zlqxc
Comment 7 haihao 2013-12-18 06:06:48 UTC
This issue has been fixed in driver

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.