[MPlayer-dev-eng] [PATCH] Color SPU rendering

Ivan Kalvachev ikalvachev at gmail.com
Sun Jan 27 13:00:16 CET 2008


On Jan 27, 2008 1:21 PM, Benjamin Zores <ben at geexbox.org> wrote:
> Hi,
>
> In an attempt to start the color spu patchset for dvdnav, here's a first
> patch.
>
> It adds a new VO control that will be used to ask each vo which
> colorspace it can use to render SPUs.
> Next patch will implement this VOCTRL for each vo driver.
>
> Ok to apply ?

I don't like the names. If you add something to the vo system it
should be generic, not dvdnav specific.
I hope the plan is spu rendering to replace the current osd one.

On second look all the formats already have fourcc for their
non-subtitle part and in most cases they would be the same as the
primary colorspace.

There is one big difference however, the fmt should be able to support
alpha channel. It would be best if swscale could be used for
conversion.
simplest solution is to have normal image in the give fmt and separate
alpha-channel image.
(well rgb32 already have space for alpha channel but....)



More information about the MPlayer-dev-eng mailing list