Remove mi_grid_* structures.
authorhkuang <hkuang@google.com>
Thu, 11 Sep 2014 22:37:08 +0000 (15:37 -0700)
committerhkuang <hkuang@google.com>
Sat, 20 Sep 2014 04:27:11 +0000 (21:27 -0700)
commitc70cea97acd577f17f88394da2c76f693ee67c75
tree3b20e1dc07f8b4c7b1746efa880c949360af937d
parent77caad4ff1cd9099efe6adb2f0fa6867cfca0c80
Remove mi_grid_* structures.

mi_grid_* are arrays of pointer to pointer. They save the pointers that point
to the MIs in cm->mi. But they are unnecessary and complicated. The original
goal was to remove MODE_INFO_t copy. But with an extra MODE_INFO_t pointer
inside MODE_INFO_t, same goal could be achieved.

This commit totally removes the mi_grid_* structures. But there are still
many dummy MODE_INFO_t inside cm->mi which are a waste of memory. Next commit
will do on-demand MODE_INFO_t allocation in order to save these memories.

Change-Id: I3a05cf1610679fed26e0b2eadd315a9ae91afdd6
31 files changed:
vp9/common/vp9_alloccommon.c
vp9/common/vp9_blockd.c
vp9/common/vp9_blockd.h
vp9/common/vp9_debugmodes.c
vp9/common/vp9_entropy.h
vp9/common/vp9_loopfilter.c
vp9/common/vp9_loopfilter.h
vp9/common/vp9_mvref_common.c
vp9/common/vp9_onyxc_int.h
vp9/common/vp9_pred_common.c
vp9/common/vp9_pred_common.h
vp9/common/vp9_reconinter.c
vp9/decoder/vp9_decodeframe.c
vp9/decoder/vp9_decodemv.c
vp9/decoder/vp9_detokenize.c
vp9/decoder/vp9_dthread.c
vp9/encoder/vp9_bitstream.c
vp9/encoder/vp9_denoiser.c
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_encodemb.c
vp9/encoder/vp9_encodemv.c
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_firstpass.c
vp9/encoder/vp9_mbgraph.c
vp9/encoder/vp9_pickmode.c
vp9/encoder/vp9_quantize.c
vp9/encoder/vp9_rd.c
vp9/encoder/vp9_rdopt.c
vp9/encoder/vp9_segmentation.c
vp9/encoder/vp9_temporal_filter.c
vp9/encoder/vp9_tokenize.c