Support a constant quality mode in VP9
authorDeb Mukherjee <debargha@google.com>
Thu, 29 Aug 2013 23:21:44 +0000 (16:21 -0700)
committerDeb Mukherjee <debargha@google.com>
Fri, 6 Sep 2013 17:30:53 +0000 (10:30 -0700)
commite378a89bd662ded5ae6f550f820070db93f50a39
tree1da5ee3ee05b0de0abbf7b671bdc4673ea61433e
parente4e864586c6e020d7ed028cc5c1e93de4fd8ee10
Support a constant quality mode in VP9

Adds a new end-usage option for constant quality encoding in vpx. This
first version implemented for VP9, encodes all regular inter frames
using the quality specified in the --cq-level= option, while encoding
all key frames and golden/altref frames at a quality better than that.

The current performance on derfraw300 is +0.910% up from bitrate control,
but achieved without multiple recode loops per frame.

The decision for qp for each altref/golden/key frame will be improved
in subsequent patches based on better use of stats from the first pass.
Further, the qp for regular inter frames may also be varied around the
provided cq-level.

Change-Id: I6c4a2a68563679d60e0616ebcb11698578615fb3
vp8/common/onyx.h
vp8/vp8_cx_iface.c
vp9/common/vp9_onyx.h
vp9/encoder/vp9_firstpass.c
vp9/encoder/vp9_onyx_if.c
vp9/vp9_cx_iface.c
vpx/vpx_encoder.h
vpxenc.c