vp9_ethread: move max/min partition size to mb struct
authorYunqing Wang <yunqingwang@google.com>
Thu, 20 Nov 2014 17:24:50 +0000 (09:24 -0800)
committerYunqing Wang <yunqingwang@google.com>
Thu, 20 Nov 2014 17:24:50 +0000 (09:24 -0800)
commitad7586a9e1e6d7b9f8d7289934b433581ae3882a
tree0dc7904a4b1c3ca61c02ab13dcf15fb85089ca75
parentf7168490b6e048d7b0226d8b6b519e70e0d29beb
vp9_ethread: move max/min partition size to mb struct

The max_partition_size and max_partition_size are set at the
beginning while setting speed features, and then adjusted at
SB level. Moving them to mb struct ensures there is a local
copy for each thread.

Change-Id: I7dd08dc918d9f772fcd718bbd6533e0787720ad4
vp9/encoder/vp9_block.h
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_rd.c
vp9/encoder/vp9_speed_features.c
vp9/encoder/vp9_speed_features.h