[FFmpeg-devel] [PATCH] qdm2: Allow hard-coding VLC tables.

compn tempn at mi.rr.com
Sat Nov 22 17:59:39 CET 2014


On Sat, 22 Nov 2014 14:17:09 +0100
Reimar Döffinger <Reimar.Doeffinger at gmx.de> wrote:

> On Sun, Sep 07, 2014 at 02:12:34PM +0200, Reimar Döffinger wrote:
> > Also adds a lot of infrastructure necessary for it.
> > Some of it is a bit ugly though.
> > Increases binary size for hardcoded tables by about 12 kB,
> > which is about 15 kB from qdm2_table minus data and code
> > saved that was only used for creating it.
> 
> Are there any opinions on this?
> The reason I want to have VLC support for hardcoded tables
> is that it is one of the few big steps to avoid the need
> for global mutable codec state.
> So people who are afraid of our constructs there could just
> switch to hardcoded tables and have much less to worry about.

i remember lots of complaints about globals before, although i have no
clue if patch good or not.

done any speed benchmarks on it ? 

-compn


More information about the ffmpeg-devel mailing list