Bug 96744 - with decode + VPP, hue=-180 has corruption on Yocto
Summary: with decode + VPP, hue=-180 has corruption on Yocto
Status: RESOLVED FIXED
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: PengChen
QA Contact: Sean V Kelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-30 09:32 UTC by mingruo.sun@intel.com
Modified: 2016-08-22 03:18 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
hue=-180 (3.08 MB, image/jpeg)
2016-06-30 09:32 UTC, mingruo.sun@intel.com
Details

Description mingruo.sun@intel.com 2016-06-30 09:32:44 UTC
Created attachment 124793 [details]
hue=-180

Found this issue on the latest intel-driver: git master

The command use is:
gst-launch-1.0 filesrc location=./GoneGirl_1920x1080_31mbps_60fps_High@L5.2_long.mp4 ! qtdemux ! vaapidecode ! vaapipostproc hue=-180 ! vaapisink fullscreen=1

No such issue with hue=180, 179 and -179. See display corruption if set hue=-180.
Comment 1 Ung, Teng En 2016-08-18 06:19:19 UTC
This issue will be fix with this patch.
https://lists.freedesktop.org/archives/libva/2016-August/004302.html


Thanks
Comment 2 haihao 2016-08-22 03:18:17 UTC
The patch has been applied.

commit 1e98d344014d6e7415008f9ddc4f6cfd982143b0
Author: Ung, Teng En <teng.en.ung@intel.com>
Date:   Thu Aug 18 14:06:36 2016 +0800

    Fix the code to avoid plus minus conversion if the result is already zero in the float to integer conversion algorithm


BTW, could you add the bug url in the commit log for you new patch in the future?


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.