[MPlayer-dev-eng] draw_alpha_* reads from video mem :((
D Richard Felker III
dalias at aerifal.cx
Mon Feb 17 09:57:53 CET 2003
On Mon, Feb 17, 2003 at 09:37:44AM +0100, Arpi wrote:
> Hi,
>
> > While looking into some performance problems (slowdown with subtitles;
> > fine without them), I realized that the draw_alpha_* functions read
> > from the same destination image they're writing to. This is a very bad
> > thing if the image is in video memory. I'd like to change it so that
> > when direct rendering isn't in use, the vo driver can use the mpi
> > passed to it from the filter layer as the source for draw_alpha_*
> > (modifying draw_alpha_* to take a third buffer, sourceimage). However,
> > this will not work with slices as far as I can tell, since the vo
> > driver never seems to get the mpi. Is there any reasonable way around
> > this problem?
>
> yes, -vop expand=-1:-1:-1:-1:1
LOL, that will make it even slower!! (inhibiting slices and requiring
multiple copies, or else still using video mem with -dr)
Rich
More information about the MPlayer-dev-eng
mailing list