[Bug 681447] video overlay composition: fix video blending over transparent frame

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Nov 29 17:31:52 PST 2013


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

Arnaud Vrac <rawoul> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #220668|0                           |1
        is obsolete|                            |

--- Comment #6 from Arnaud Vrac <rawoul at gmail.com> 2013-11-30 01:31:47 UTC ---
Created an attachment (id=263194)
 View: https://bugzilla.gnome.org/attachment.cgi?id=263194
 Review: https://bugzilla.gnome.org/review?bug=681447&attachment=263194

video: blend using OVER operation

This version should work in all cases. Hopefully the compiler can optimize some
cases, for example when the global alpha is 255, it should remove all the * 255
/ 255 in the code...

I'm not sure how orc could be used properly here, maybe it would be easier to
apply the global alpha first on the source line if needed, and then do the
blending. The non-premultiplied to non-premultiplied orc blending function can
be copied from videomixer, and the other versions can be adapted from there.

-- 
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