Makes all global data in entropy.c const
authorAttila Nagy <attilanagy@google.com>
Mon, 16 Apr 2012 07:23:57 +0000 (10:23 +0300)
committerAttila Nagy <attilanagy@google.com>
Tue, 17 Apr 2012 09:12:58 +0000 (12:12 +0300)
commita91b42f0229ad9b9809b8245a92155154d6164f8
tree6dea44f97267424ca829ff47a3b7cfe046086557
parentb5b61c179d8de1eab379d8e89d7b3bdca9d6c189
Makes all global data in entropy.c const

Removes all runtime initialization of global data in entropy.c.
Precalculated values are used for initializing all entropy related
tabels.

First patch in a series to make sure code is reentrant.

Change-Id: I9aac91a2a26f96d73c6470d772a343df63bfe633
vp8/common/alloccommon.c
vp8/common/entropy.c
vp8/common/entropy.h
vp8/encoder/bitstream.c
vp8/encoder/bitstream.h
vp8/encoder/tokenize.c
vp8/encoder/x86/vp8_enc_stubs_mmx.c