vp9_ethread: create enough threads while using SVC
authorYunqing Wang <yunqingwang@google.com>
Sat, 13 Jun 2015 00:10:30 +0000 (17:10 -0700)
committerYunqing Wang <yunqingwang@google.com>
Mon, 15 Jun 2015 21:30:54 +0000 (14:30 -0700)
commitc98273c9e7a0d06572a11ad754b7f33b0666921c
tree1d5b124d52218450bb476d2ff058263bf0f2f791
parenta4bb5f2a29fc925f0fd033490c1c8ecb54e502c3
vp9_ethread: create enough threads while using SVC

This patch modified the thread creating code. When use_svc is true,
the number of threads created is decided by the highest resolution.
This resolved WebM issue 1018.

Change-Id: I367227b14d1f8b08bbdad3635b232a3a37bbba26
examples/vp9_spatial_svc_encoder.c
vp9/encoder/vp9_ethread.c