gstreamer/gst/dvbsuboverlay
Mart Raudsepp a203ad1aab dvbsuboverlay: Fix more of the blending, so it looks quite good now
* libdvbsub gives us alpha channel already, not transparency level, so
don't do another "alpha = 255 - alpha", this is done by libdvbsub.
* Fix alpha channel handling in interpolation - assrender had an additional
1bpp alpha bitmap as a possible mask, we don't. So don't use the palette
index array as alpha values; bug from quick code porting long ago to
changing pixel colors (assrender has a single pixel color for whole
regions or something, unlike dvbsub, which has indexed colors).
* Don't forget to reassign our YUV and other local pixel color variables
after shifting to work on the bottom part of a 2x2 subsample block, or
it's obviously very blocky.

Remaining issues in blending:

* Should probably be interpolating or doing something else useful with the
resulting U and V channels, so that most of the source pixel UV values would
actually be actually cared about, except for just one out of possibly four.

* Don't convert AYUV to ARGB in libdvbsub, and then back from ARGB to AYUV in
dvbsuboverlay for no reason

* Re-factor the whole thing to something more like textoverlay blending
* Related to that, perhaps cache the current spu in a good format for quick
blending on each frame, after which the more often called blending parts
might become more straightforward
2010-12-08 16:30:10 +01:00
..
dvb-sub.c dvbsuboverlay: Make the new dvb_subtitles_free() accept NULL 2010-12-08 16:30:10 +01:00
dvb-sub.h dvbsuboverlay: Pass page_time_out and pts with the DVBSubtitles structure 2010-12-08 16:30:09 +01:00
ffmpeg-colorspace.h dvbsuboverlay: initial version, work in progress 2010-12-08 16:30:09 +01:00
gstdvbsuboverlay.c dvbsuboverlay: Fix more of the blending, so it looks quite good now 2010-12-08 16:30:10 +01:00
gstdvbsuboverlay.h dvbsuboverlay: Implement subtitle queueing and syncing with video 2010-12-08 16:30:10 +01:00
Makefile.am dvbsuboverlay: initial version, work in progress 2010-12-08 16:30:09 +01:00
TODO dvbsuboverlay: more TODO 2010-12-08 16:30:09 +01:00