After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 744088 - vaapipostproc: Add support for Skin Tone Enhancement
vaapipostproc: Add support for Skin Tone Enhancement
Status: RESOLVED FIXED
Product: gstreamer-vaapi
Classification: Other
Component: general
0.5.11
Other Linux
: Normal enhancement
: ---
Assigned To: gstreamer-vaapi maintainer(s)
gstreamer-vaapi maintainer(s)
Depends on:
Blocks: 743569
 
 
Reported: 2015-02-06 10:33 UTC by sreerenj
Modified: 2015-06-12 15:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
vaapipostproc: add skin tone enhancement (10.07 KB, patch)
2015-05-22 16:27 UTC, Víctor Manuel Jáquez Leal
none Details | Review
vaapipostproc: add skin tone enhancement (9.98 KB, patch)
2015-06-06 08:39 UTC, Víctor Manuel Jáquez Leal
none Details | Review
patch for gst-player for testing the skin tone enhancement in videos (3.24 KB, patch)
2015-06-06 08:46 UTC, Víctor Manuel Jáquez Leal
none Details | Review
vaapipostproc: add skin tone enhancement (9.22 KB, patch)
2015-06-08 16:01 UTC, Víctor Manuel Jáquez Leal
committed Details | Review

Description sreerenj 2015-02-06 10:33:50 UTC
Add support for SkinToneEnhancement (which in already supported by the intel-vaapi-driver) to vaapipostproc.
Comment 1 Víctor Manuel Jáquez Leal 2015-05-22 16:27:47 UTC
Created attachment 303831 [details] [review]
vaapipostproc: add skin tone enhancement
Comment 2 Víctor Manuel Jáquez Leal 2015-06-06 08:39:12 UTC
Created attachment 304677 [details] [review]
vaapipostproc: add skin tone enhancement

Added the 'skin-tone-enhancement' property to vaapostproc.
Comment 3 Víctor Manuel Jáquez Leal 2015-06-06 08:46:38 UTC
Created attachment 304678 [details] [review]
patch for gst-player for testing the skin tone enhancement in videos

patch for gst-player[1] for testing the skin tone enhancement in videos

1. https://github.com/sdroege/gst-player
Comment 4 Gwenole Beauchesne 2015-06-08 08:10:06 UTC
Review of attachment 304677 [details] [review]:

Some minor changes to make, but overall LGTM.

::: gst-libs/gst/vaapi/gstvaapifilter.h
@@ +45,3 @@
+ * @GST_VAAPI_FILTER_OP_SCALING: Change scaling method
+ * (#GstVaapiScaleMethod).
+ * @GST_VAAPI_FILTER_OP_SKINTONE: Skin tone enhancement (none).

Please, do not re-indent other filter descriptions. Thanks.

The argument description should probably reflect: (bool) as the way it is currently used is exactly this, an on/off toggle. Reminder: the GstVaapiFilter is live until destroyed, so it might be useful to disable it.
Comment 5 Gwenole Beauchesne 2015-06-08 08:11:46 UTC
(In reply to Víctor Manuel Jáquez Leal from comment #3)
> Created attachment 304678 [details] [review] [review]
> patch for gst-player for testing the skin tone enhancement in videos
> 
> patch for gst-player[1] for testing the skin tone enhancement in videos
> 
> 1. https://github.com/sdroege/gst-player

And do you visibly see a difference with STE enabled? :)
Comment 6 Gwenole Beauchesne 2015-06-08 08:12:51 UTC
Side note: we might need to turn the bool into a float that represents the magnitude of STE color correction to apply? Not sure about it though.
Comment 7 Víctor Manuel Jáquez Leal 2015-06-08 15:16:09 UTC
(In reply to Gwenole Beauchesne from comment #5)
> (In reply to Víctor Manuel Jáquez Leal from comment #3)
> > Created attachment 304678 [details] [review] [review] [review]
> > patch for gst-player for testing the skin tone enhancement in videos
> > 
> > patch for gst-player[1] for testing the skin tone enhancement in videos
> > 
> > 1. https://github.com/sdroege/gst-player
> 
> And do you visibly see a difference with STE enabled? :)

Yup. The skin turned from greenish to redish...

But! in my hardware (Haswell), with 1080p videos, the frames appear like bumping, very annoying. Lower resolutions don't show that problem.
Comment 8 Víctor Manuel Jáquez Leal 2015-06-08 16:01:39 UTC
Created attachment 304792 [details] [review]
vaapipostproc: add skin tone enhancement

Added the 'skin-tone-enhancement' property to vaapostproc.
Comment 9 Víctor Manuel Jáquez Leal 2015-06-11 17:08:09 UTC
I have setup a branch for gst-player to play with vaapipostproc controls using gtk ui:

https://github.com/ceyusa/gst-player/tree/vaapipostproc
Comment 10 Gwenole Beauchesne 2015-06-12 13:31:00 UTC
Review of attachment 304792 [details] [review]:

OK
Comment 11 Víctor Manuel Jáquez Leal 2015-06-12 15:06:57 UTC
Attachment 304792 [details] pushed as 1ef8c10 - vaapipostproc: add skin tone enhancement