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

Ötvös Attila oattila at chello.hu
Thu Jan 31 15:37:03 CET 2008


Ezzel a dátummal: Thursday 31 January 2008 11.38.31 Reimar Döffinger ezt írta:

Hi Reimar Döffinger!

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

I am thinking, that VOCTRL_QUERY_OSD_FORMAT not necessary.

VOCTRL_QUERY_OSD_FORMAT -> VFCTRL_GET_OSD_FORMAT

Comment?

Best regard.
Attila
-------------- next part --------------
A non-text attachment was scrubbed...
Name: colorosd_format.patch
Type: text/x-diff
Size: 1944 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080131/1bca18e4/attachment.patch>


More information about the MPlayer-dev-eng mailing list