vp8: Fix to multi-res-encoder for skipping streams.
authorMarco <marpan@google.com>
Tue, 16 Jan 2018 19:37:40 +0000 (11:37 -0800)
committerMarco <marpan@google.com>
Thu, 18 Jan 2018 19:56:42 +0000 (11:56 -0800)
commit9debbc2ec7e6ff004dba4d66d2780e216ca50b1a
tree7d214458802c2eaa67b7b195521c8cdb5d3f4373
parent373e08f921e5bfd5a96963fabbbbe16ec793d44e
vp8: Fix to multi-res-encoder for skipping streams.

For the vp8 simulcast/multi-res-encoder:

Add flags to keep track of the disabling/skipping of
streams for the multi-res-encoder. And if the lower spatial
stream is skipped for a given stream, disable the motion
vector reuse for that stream.

Also remove the condition of forcing same frame type
across all streams.

This fix allows for the skipping/disabling of the base
or middle layer streams.

Change-Id: Idfa94b32b6d2256932f6602cde19579b8e50a8bd
vp8/common/blockd.h
vp8/encoder/onyx_if.c
vp8/vp8_cx_iface.c