[gst-devel] Text rendering

Jan Schmidt thaytan at noraisin.net
Sun Feb 20 06:41:26 CET 2005

On Sun, 2005-02-20 at 15:09 +0100, Maciej Katafiasz wrote:

>Is it really going to be expensive if most of that image will be 100%
>alpha anyway?

Yes, it's more expensive to write out and then drag in 2 entire frames
worth of overlay image from main memory and iterate over it ~25 times
per second if you don't have to.

There's a need for an imageoverlay to do this, but I think there's also
a place for a text renderer that draws straight onto the image buffer.

A possibly-decent alternative would be to provide the rendered
text-as-image overlay frames to the imageoverlay in a new frame format
that isn't just a raw image frame, but has a header describing
cropping information at the start of each frame. 

Jan Schmidt <thaytan at noraisin.net>

More information about the gstreamer-devel mailing list