[MPlayer-dev-eng] [PATCH] color SPU - part 1
Ötvös Attila
oattila at chello.hu
Sat Aug 11 21:36:57 CEST 2007
2007. augusztus 11. 21.00 dátummal Evgeniy Stepanov ezt írta:
Hi Evgeniy Stepanov!
> On Saturday 11 August 2007, Ötvös Attila wrote:
> > 2007. augusztus 11. 19.35 dátummal Evgeniy Stepanov ezt írta:
> > > Hi,
> > >
> > > On Saturday 11 August 2007, Ötvös Attila wrote:
> > > > This patch add 'dp' parameters to all draw_alpha() functions.
> > > > 'dp' : destionation plane (Y,U,V,R,G,B)
> > > >
> > > > Add handler code to osd.c, osd_template.c and vo_*.
> > >
> > > Won't it be simpler to use EOSD ?
> >
> > I don't know.
> > More color more ass_image...
> > (I think ass render to single color and 1bpp alpha.)
>
> Single color + 8bpp alpha. How many colors could there be ? 4 ? 16 ? SPU
> are usually static, so performance won't be an issue.
DVD palette size is 16.
> Of course, better way is to support more color formats in ass_image, like
> RGB32 and YV12. It is as easy as adding 'type' field to ass_image_t and
> corresponding rendering functions to vf_ass.c and vf_gl (the last one is
> optional and most likely trivial). It was not done before simply because it
> was not used anywhere outside libass. I can help with vf_ass part if you
> wish.
Thank you in advance.
Best regard
Attila
More information about the MPlayer-dev-eng
mailing list