Re: [PATCH] codec-cfg: Optimize built-in codecs format.

Reimar Döffinger <[email protected]>
Newsgroups gmane.comp.video.mplayer.devel
Message-ID <[email protected]>
On Sat, Feb 13, 2016 at 10:00:36PM +0100, Reimar Döffinger wrote:
> Lookup strings via index in an array instead of
> using direct pointers.
> The two main advantages are
> 1) No data relocations that pointers would otherwise cause
> 2) Smaller size on 64 bit systems

Note that if you are interested I have a plan to
use a similar lookup system for e.g. the fourccs.
They use huge arrays that most codecs only use
1 or 2 entries of, so this might reduce binary size
by maybe 100 kB.
It also means that we won't have an issue
with adding more fourccs to a codec for example.
_______________________________________________
MPlayer-dev-eng mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.