[FFmpeg-devel] [PATCH 09/13] avcodec/elbg: Also allocate buffers for recursion only once

2021-09-16 Thread Andreas Rheinhardt
This is possible because the number of elements needed in each recursion step decreases geometrically, so the geometric series provides an upper bound for the sum of number of elements of the needed buffers. Signed-off-by: Andreas Rheinhardt --- libavcodec/elbg.c | 38 ---

Re: [FFmpeg-devel] [PATCH 09/13] avcodec/elbg: Also allocate buffers for recursion only once

2021-09-16 Thread Paul B Mahol
probably fine ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 09/13] avcodec/elbg: Also allocate buffers for recursion only once

2021-09-17 Thread Tomas Härdin
fre 2021-09-17 klockan 04:08 +0200 skrev Andreas Rheinhardt: > This is possible because the number of elements needed in each > recursion step decreases geometrically, so the geometric series > provides an upper bound for the sum of number of elements of > the needed buffers. Looks like a thing th