[FFmpeg-devel] [PATCH] Decrease stack usage in svq1_encode_plane()

Zuxy Meng zuxy.meng
Mon Jan 11 01:16:12 CET 2010

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?

Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stack.diff
Type: application/octet-stream
Size: 1416 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100111/2761eaed/attachment.obj>

More information about the ffmpeg-devel mailing list