[Bug 730014] alpha: Should translate BGRx to BGRA instead of AYUV

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu May 15 07:56:13 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=730014
  GStreamer | gst-plugins-good | git

Wim Taymans <wim.taymans> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wim.taymans at gmail.com

--- Comment #1 from Wim Taymans <wim.taymans at gmail.com> 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.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list