GNOME Bugzilla – Bug 616409
[videomixer] AYUV blending broken
Last modified: 2010-04-22 11:59:27 UTC
Hi, see gst-launch-0.10 -v videotestsrc ! "video/x-raw-yuv,format=(fourcc)AYUV,width=640,height=480" ! videomixer name=mixer sink_1::alpha=0.5 background=black ! ffmpegcolorspace ! ximagesink videotestsrc pattern=snow ! mixer. and gst-launch-0.10 -v videotestsrc ! "video/x-raw-yuv,format=(fourcc)AYUV,width=640,height=480" ! videomixer name=mixer sink_1::alpha=0.0 background=black ! ffmpegcolorspace ! ximagesink videotestsrc pattern=snow ! mixer. I've a patch for the latter and I'm working on a patch for the former atm...
Created attachment 159272 [details] [review] videomixer: Fix AYUV checker/color filling
(In reply to comment #1) > Created an attachment (id=159272) [details] [review] > videomixer: Fix AYUV checker/color filling This fixes the second, the first is a bug somewhere in the MMX version of the AYUV blending. At some point it worked though... I'll bisect tomorrow :(
Created attachment 159323 [details] [review] videomixer: Fix byte order for MMX ARGB/AYUV color filling Fixes bug #616409.
Ok, these two patches fix all issues (I hope).
Works for me too, please push these (one day we might want to also add a unit test that checks a strategically chosen pixel for blackness and/or desired colour...)
commit 5a530b19e84b2e233220970f7e35e32218393ad0 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Thu Apr 22 13:30:55 2010 +0200 videomixer: Fix byte order for MMX ARGB/AYUV color filling Fixes bug #616409. commit a27856e6b8becfe64e9e043937afb99840179bd6 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Wed Apr 21 17:53:49 2010 +0200 videomixer: Fix AYUV checker/color filling