[MPlayer-dev-eng] [PATCH] blackbar osd option + vo svga, vo_dga NOVIRUS

Dimitar Zhekov jimmy at is-vn.bg
Wed Sep 17 12:15:19 CEST 2003


Hi.

I wrote a patch that adds a "display osd in the black bars"
option (-bbosd, FLAG, vo_blackbarosd) option to mplayer and
support for it in vo_svga and vo_dga. The implementation is
trivial: whenever bbosd is active (a) draw_osd() crears the
bars around the picture and draws with mode width/height
instead the movie width/height and (b) draw_image() does
not adjust the output to be inside the image.

Tested with svga [-dr] [-double] and dga [-double] [-zoom].
Works for me. Burns CPU time to clear the black bars. For
an average case where sizeof screen = 1.5 * size of movie,
the video out cpu usage increases by 1.25 in svga and 1.20
in dga. The patch is a cvs diff -u, the non-English manuals
need to be updated (I don't speak the other languages).

Hope I haven't broken any of the nine patch sending rules.

-- 
E-gards: Jimmy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vo_blackbarosd.diff
Type: application/octet-stream
Size: 6096 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030917/65f89089/attachment.obj>


More information about the MPlayer-dev-eng mailing list