Allocate tile data adaptively to accommodate the frame size increase
authorYunqing Wang <yunqingwang@google.com>
Thu, 11 Jun 2015 18:30:18 +0000 (11:30 -0700)
committerYunqing Wang <yunqingwang@google.com>
Thu, 11 Jun 2015 18:30:18 +0000 (11:30 -0700)
commit2c838ede68b423424acf8576a65c64b880b670db
tree91e96b75a41ffe201e96c2f1569dbc6235214bed
parent61c5c96ae1dcfbe30c00d5afbe22091102d70cfd
Allocate tile data adaptively to accommodate the frame size increase

If the frame size increases, the tile data buffer needs to be
re-allocated according to the number of tiles existing in current
frame. This patch makes the multi-tile encoding work in spatial
SVC usage case, and partially solved WebM issue 1018.

Change-Id: I1ad6f33058cf5ce6f60ed5024455a709ca80c5ad
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_encoder.h