[FFmpeg-devel] [PATCH] Decrease stack usage in svq1_encode_plane()
Tue Jan 12 07:53:40 CET 2010
On Tue, Jan 12, 2010 at 10:36:02AM +0800, Zuxy Meng wrote:
> 2010/1/11 Zuxy Meng <zuxy.meng at gmail.com>:
> > 2010/1/10 Reimar D?ffinger <Reimar.Doeffinger at gmx.de>:
> >> On Fri, Jan 08, 2010 at 05:24:53PM +0800, Zuxy Meng wrote:
> >>> The stack usage can be substantially high if stride is large, which
> >>> causes "make test" under Windows to fail due to stack overflow.
> >> Uh, also, there is also a context variable "scratchbuf", reuse that if possible,
> >> if not make its allocation twice as large and use
> >> scratchbuf + stride*16
> > Like this one?
> Reimar, what do u think about the last patch?
Should be ok if tested, but I don't know the code well.
More information about the ffmpeg-devel