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

Zuxy Meng zuxy.meng
Tue Jan 12 03:36:02 CET 2010


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?

-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6



More information about the ffmpeg-devel mailing list