[Ffmpeg-devel] [RFC] mdct window generation

Rich Felker dalias
Mon Jul 10 17:00:53 CEST 2006


On Mon, Jul 10, 2006 at 01:23:27PM +0200, Benjamin Larsson wrote:
> I'm not terribly concerned, I was just wondering if there was a solution
> that would keep the tables out of the binary, keep a low memory
> footprint at runtime

Putting the tables in the binary is the best way to keep a low memory
footprint at runtime. They won't be loaded from disk unless they're
needed and it eliminates the code (sometimes considerable size) needed
to generate tables.

Of course this is only possible if the tables are constant and don't
have parameters..

> and still beeing able to share the tables with
> other instances at the same time.

Other instances? You mean two or more within the same process? Sounds
rare..

> Regarding the interpolation of the window, that would make sense on a
> memory constrained system. But otherwise it would just be slower then
> using a table on most systems.

Yes, agree, unless the table is HUGE.

Rich





More information about the ffmpeg-devel mailing list