[MPlayer-dev-eng] [PATCH] color SPU - part 1

Ötvös Attila oattila at chello.hu
Tue Aug 14 22:47:38 CEST 2007


2007. augusztus 12. 15.28 dátummal Evgeniy Stepanov ezt írta:

Hi Evgeniy Stepanov!

Thanks for your patch.

I have two problem:

1. I need a eosd_unregister() function. (Now I use eosd_reset()).
This free the registered eosd_generator with return of eosd_register().

Example:

eosd_num = eosd_register( ... );
...
eosd_unregister(eosd_num);


2. I need scaled ass_images.
The libass should do it.
If eosd_generator scales then need dsx, dsy (or width, height).
(The render_images have to check the ass_image size in the vf_vo and vf_ass.)

Example:

typedef void (*eosd_generator_p)(double pts, mp_eosd_images_t* dst, 
void* data, int dsx, int dsy);


Best regard.
Attila

P.S.: I attached a example colorspu patch to libass.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example_colorspu_to_libass.patch
Type: text/x-diff
Size: 7323 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070814/53264bd8/attachment.patch>


More information about the MPlayer-dev-eng mailing list