[MPlayer-dev-eng] redraw osd to still frame - draft

Ötvös Attila oattila at chello.hu
Sat Jan 12 12:03:52 CET 2008


Hi All!

I create osd redraw patch base on Uoti's patch:

http://archives.free.net.ph/message/20070822.134052.0b021eaf.en.html

Now only work yv12 colorspace of xv.

I add new draw_restore() function to vo_draw_text() and vo_draw_changed_osd().

The draw_restore() copy mp_osd_obj->bbox area from video buffer to 
mp_osd_obj->restore_buffer or copy from restore_buffer to video buffer.

If vo_still enabled (now enabled always):
Draw osd:
- store mp_osd background to restore_buffer
- draw osd

Redraw osd:
- restore mp_osd background (previous bbox) from restore_buffer
- store mp_osd background (current bbox) to restore_buffer if need
- draw osd


Comment?

Best regards.
Attila
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osd_still.patch
Type: text/x-diff
Size: 27897 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080112/945797cd/attachment.patch>


More information about the MPlayer-dev-eng mailing list