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 730014 - alpha: Should translate BGRx to BGRA instead of AYUV
alpha: Should translate BGRx to BGRA instead of AYUV
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-05-12 15:13 UTC by Nicolas Dufresne (ndufresne)
Modified: 2018-11-03 14:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicolas Dufresne (ndufresne) 2014-05-12 15:13:31 UTC
Currently in:

gst-launch-1.0 -v videotestsrc ! video/x-raw,format=BGRx ! alpha alpha=0.5 ! glimagesink

glimagesink will receive AYUV. This seems much slower then producing BGRA and setting the alpha byte. Would be a nice enhancement to try and address that.
Comment 1 Wim Taymans 2014-05-15 14:56:10 UTC
Not so trivial: 

 - It depends on the selected method, _SET is most efficient when no color
   conversion needs to happen. So in order of preference xRGB->ARGB, YUV->AYUV, xRGB->AYUV, YUV->ARGB
 - the color keying formats work on YUV so either getting input in YUV or
   outputting in YUV is ideal to avoid color conversions internally. Most ideal
   is to have input and output YUV. So in order of preference YUV->YUV, YUV->ARGB, ARGB->YUV, ARGB->ARGB

I think the transform function is fine but probably it should have a custom fixate function that sorts based on prefered conversions.
Comment 2 GStreamer system administrator 2018-11-03 14:52:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/116.