From 8d0f7a01e6727253df0d3c8625568bc39e83b6f4 Mon Sep 17 00:00:00 2001 From: "Timothy B. Terriberry" Date: Mon, 11 Oct 2010 14:37:27 -0700 Subject: 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 | 1 + 1 file changed, 1 insertion(+) (limited to 'vp8/encoder/block.h') diff --git a/vp8/encoder/block.h b/vp8/encoder/block.h index ffb88904e..fc6561829 100644 --- a/vp8/encoder/block.h +++ b/vp8/encoder/block.h @@ -81,6 +81,7 @@ typedef struct int errthresh; int rddiv; int rdmult; + INT64 activity_sum; int mvcosts[2][MVvals+1]; int *mvcost[2]; -- cgit v1.2.3