Make global data const
authorAttila Nagy <attilanagy@google.com>
Mon, 16 Apr 2012 07:23:57 +0000 (10:23 +0300)
committerJohn Koleszar <jkoleszar@google.com>
Fri, 4 May 2012 17:42:21 +0000 (10:42 -0700)
commitf039a85fd820f9f010d32dd45fc82dddc3263783
treea6ae381975c009c8e1d0dabca1a6664bab319c09
parent9f9cc8fe71429fe64603d5bc60f5b6097e68baaf
Make global data const

Removes all runtime initialization of global data. This commit is a
squashed version of the following series cherry-picked from master.
This is necessary because of a change that was merged to the tester
that depends on the scaler being moved to the RTCD framework, which
is a worthwhile thing to include in Eider anyway.

  - a91b42f02 Makes all global data in entropy.c const
  - b35a0db0e Makes all global data in tokenize.c const
  - 441cac8ea Makes all mode token tables const
  - 5948a0210 Ports vpx_xcaler to new RTCD method
  - 317d4244c Makes all mode token tables const part 2

Change-Id: Ifeaea24df2b731e7c509fa6c6ef6891a374afc26
36 files changed:
vp8/common/alloccommon.c
vp8/common/entropy.c
vp8/common/entropy.h
vp8/common/entropymode.c
vp8/common/entropymode.h
vp8/common/modecontext.c [deleted file]
vp8/common/onyxc_int.h
vp8/common/postproc.c
vp8/common/rtcd_defs.sh
vp8/common/vp8_entropymodedata.h [new file with mode: 0755]
vp8/decoder/decodframe.c
vp8/decoder/onyxd_if.c
vp8/encoder/bitstream.c
vp8/encoder/bitstream.h
vp8/encoder/dct_value_cost.h [new file with mode: 0644]
vp8/encoder/dct_value_tokens.h [new file with mode: 0644]
vp8/encoder/firstpass.c
vp8/encoder/onyx_if.c
vp8/encoder/picklpf.c
vp8/encoder/temporal_filter.c
vp8/encoder/tokenize.c
vp8/encoder/tokenize.h
vp8/encoder/x86/vp8_enc_stubs_mmx.c
vp8/vp8_common.mk
vp8/vp8_cx_iface.c
vp8/vp8_dx_iface.c
vp8/vp8cx.mk
vpx_scale/arm/scalesystemdependent.c [deleted file]
vpx_scale/arm/yv12extend_arm.h [deleted file]
vpx_scale/generic/gen_scalers.c
vpx_scale/generic/scalesystemdependent.c [deleted file]
vpx_scale/generic/vpxscale.c
vpx_scale/generic/yv12extend.c
vpx_scale/vpx_scale.mk
vpx_scale/vpxscale.h
vpx_scale/yv12extend.h [deleted file]