[Bug 685282] dvdspu: figure out how to make it work with hardware decoders and subpicture overlays

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 2 15:20:45 PDT 2013


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

--- Comment #8 from Arnaud Vrac <rawoul at gmail.com> 2013-09-02 22:20:40 UTC ---
I agree that your blending code is probably faster when blending directly on an
YUV frame and cropping out the transparent areas. The floating point operations
can be easily removed by using an AYUV overlay instead of ARGB, which would
make blending faster anyway. As I said, I'm using premultiplied ARGB because in
my use case I can render the overlay in hardware with this format.

Since the overlay is now cached, only the blending operation is done for each
video frame after the overlay is rendered once, I don't think it should be that
expensive. I'll try to run some benchmarks and report them.

Your code was probably the best way to do it, unfortunately it only works for
YUV planar video formats... And most importantly it doesn't allow hardware
rendering.

I'm open to any suggestions to make it faster :)

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