[MPlayer-dev-eng] [PATCH]patch to make vob sub outside the movie
Arpi
arpi at thot.banki.hu
Sun May 12 04:10:46 CEST 2002
Hi,
> >anyway, is there any way to get bounding box (sub pos+dimensions) exported
> >to teh sub.c engine, so drivers moving the sub outside the image could do
> yes, i think it's not difficult, should i make a new spu/vob drawing
> function like spudec/vobsub_draw(mp_osd_obj_t *obj, int dxs, int dys) just
> like other sub/osd drawing function
yes, would be nice.
anyway it means 2 functions, one for update (it should calculate bounding box,
and may do the unpacking of rle-packed sub to internal buffer) and a
draw function (which actually renders the sub calling the draw_alpha
callback). it should also signal sub changes by calling vo_osd_changed(x)
then it would do only partial redraw, and only when teh sub changed or
the sub area destroyed and needs to be redrawn.
it also mean big speedup, at least users reported that spu subs are slow as
hell, especially when scaled
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list