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

Ötvös Attila dc at chello.hu
Wed May 28 20:36:34 CEST 2008


Hi All!

I make color SPU to dvd subtitles and dvd menu.

The first number show depend in patch.

part1:
- add need format def
- add new paramater (dp) to all draw_alpha() functions

part2:
- draw code to U, V, R, G and B planes
- query SPU format code (VFCTRL_GET_OSD_FORMAT)

part3:
- modify spudec.c to UV and RGB planes (scale more plane)

part4:
- add draw function to UV plane in vf_expand
- final modify in mplayer.c
- new options: -colorspu/-nocolorspu - enable/disable color spu

part5:
- add palette variable to stream_dvdnav
- final modify to spudec
- add mp_dvdnav_highlight_handle() in mplayer.c

Best regards!
Attila



More information about the MPlayer-dev-eng mailing list