Bug 72663 - scaling with vpp issue
Summary: scaling with vpp issue
Status: RESOLVED FIXED
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium blocker
Assignee: haihao
QA Contact: Sean V Kelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-13 06:19 UTC by Long Bu
Modified: 2013-12-18 06:06 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
screenshot (596.91 KB, text/plain)
2013-12-13 06:19 UTC, Long Bu
Details
patch (882 bytes, text/plain)
2013-12-13 06:19 UTC, Long Bu
Details
test case (14.49 KB, text/plain)
2013-12-17 09:23 UTC, Long Bu
Details

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.