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

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Jan 31 11:38:31 CET 2008


Hello,
On Wed, Jan 30, 2008 at 08:03:24PM +0100, Ötvös Attila wrote:
> Ezzel a dátummal: Monday 28 January 2008 11.07.53 Ötvös Attila ezt írta:
> > Ezzel a dátummal: Sunday 27 January 2008 12.21.00 Benjamin Zores ezt írta:
> > Hi Benjamin Zores!
> >
> > > 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.
> >
> > I make color SPU patchset.
> >
> > This patchs support color spu in vo's (VOCTRL_COLOROSD_SUPPORT and draw U,V
> > planes if need/available).
> >
> 
> I modify: VOCTRL_COLOROSD_SUPPORT -> VOCTRL_QUERY_OSD_FORMAT
> and support some format.

Well, now the name is similar to VOCTRL_QUERY_FORMAT but the behaviour
is completely different! In addition it provides a much more limited
functionality, e.g. vo_gl will be able to trivially support RGB and BGR,
possibly even YUV for OSD, but with this design it can only report one
supported format!
This design also makes it very hard to add support e.g. to indicate
which OSD formats are fast and which are slow for a given vo (currently
there is no need for this though).
The most flexible system is like for the VOCTRL_QUERY_FORMAT: for the
given image format, return what functionality the VO can provide.
Currently probably only VFCAP_CSP_SUPPORTED and maybe VFCAP_ACCEPT_STRIDE make
sense for the OSD.



More information about the MPlayer-dev-eng mailing list