Add simple version of activity masking.
authorTimothy B. Terriberry <tterribe@xiph.org>
Mon, 11 Oct 2010 21:37:27 +0000 (14:37 -0700)
committerJohn Koleszar <jkoleszar@google.com>
Tue, 12 Oct 2010 12:41:03 +0000 (08:41 -0400)
commit8d0f7a01e6727253df0d3c8625568bc39e83b6f4
tree9aaa5b72daa0ccc08c27c80efa7af24e6e11ef7a
parentf4a8594492b7edd854ede663eb23be97efd56b6b
Add simple version of activity masking.

This uses MB variance to change the RDO weight for mode decision
 and quantization.
Activity is normalized against the average for the frame, which is
 currently tracked using feed-forward statistics.
This could also be used to adjust the quantizer for the entire
 frame, but that requires more extensive rate control changes.
This does not yet attempt to adapt the quantizer within the frame,
 but the signaling cost means that will likely only be useful at
 very high rates.

Change-Id: I26cd7c755cac3ff33cfe0688b1da50b2b87b9c93
vp8/encoder/block.h
vp8/encoder/encodeframe.c
vp8/encoder/encodeintra.c
vp8/encoder/encodemb.c
vp8/encoder/ethreading.c
vp8/encoder/onyx_if.c
vp8/encoder/onyx_int.h