[MPlayer-dev-eng] [PATCH] Slices in expand ?

Alban Bedel albeu at free.fr
Wed Nov 20 21:33:43 CET 2002


Hi Arpi,

on Wed, 20 Nov 2002 21:05:53 +0100 you wrote:

> Hi,
> 
> > UPDATE : Ok, i gave it a try. Attached is a patch wich make get_image
> > 	called for each frame and implement slice rendering in expand
> > 	(don't flame too much about this one it's getting late ;)
> 
> hmm
> ok the idea (saving the allocated pointers) looks ok, but i would prefer
> saving a single pointer and size of the allocated memory.
> afair the whole buffer (all planes) are allocated with a single
> memalign() call, is it would be simpler and cleaner.
I thought the same but as planes[3] may be allocated from another pointer
and it was late i only put this single memcpy wich will work with even
future formats. Ok we can save up the copy of 3/4 pointers ;)
	Albeu



More information about the MPlayer-dev-eng mailing list