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 594599 - videobox: converts AYUV to I420 incorrectly
videobox: converts AYUV to I420 incorrectly
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.17
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 602463 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-09-09 08:25 UTC by David Schleef
Modified: 2009-11-26 13:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Schleef 2009-09-09 08:25:06 UTC
gst-launch videotestsrc ! video/x-raw-yuv,format=\(fourcc\)AYUV ! videobox ! video/x-raw-yuv,format=\(fourcc\)I420 ! xvimagesink

This pipeline gives a vts image that is darker than the original.  I was unable to find any other format pairs that also failed, so I'm guessing the brokenness is somewhere in the AYUV->I420 conversion.
Comment 1 Sebastian Dröge (slomo) 2009-09-09 13:18:45 UTC
confirmed, I'll take a look at it.
Comment 2 Sebastian Dröge (slomo) 2009-09-09 13:42:51 UTC
Also the snow in the right bottom is a bit green ;)
Comment 3 Sebastian Dröge (slomo) 2009-09-09 14:03:33 UTC
commit 1262476f42fb80a73e7ed379ad52d8a51419d9e0
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Wed Sep 9 16:02:03 2009 +0200

    videobox: Fix AYUV->I420 conversion
    
    For this fix the averaging of the chroma values. It should't be (a/2 + b)/2
    but just (a + b)/2.
    
    Fixes bug #594599.
Comment 4 Edward Hervey 2009-11-26 13:08:04 UTC
*** Bug 602463 has been marked as a duplicate of this bug. ***