]> granicus.if.org Git - libvpx/commit
Rate control on static scenes plus Y2dc delta Q fix.
authorPaul Wilkins <paulwilkins@google.com>
Wed, 11 Jan 2012 14:05:57 +0000 (14:05 +0000)
committerPaul Wilkins <paulwilkins@google.com>
Tue, 17 Jan 2012 17:42:46 +0000 (17:42 +0000)
commitcf561bad1d027da0b28b4cd75036942e97d4fef7
treebb0463901124f79e6b1c42a712432faeb4baed62
parent483b262bab7cae4387dae4d07d126fb9915cc6c8
Rate control on static scenes plus Y2dc delta Q fix.

A problem can arise on static clips with force key frames where
attempts to avoid popping lead to a progressive reduction in key
frame Q that ultimately may lead to unexpected overspend against
the  rate target.

The changes in this patch help to insure that in such clips the
quality of the key frames across the clip is more uniform (rather
than starting bad and getting better - especially at low target rates).

This patch also includes a fix that removes a delta on the Y2DC
when the baseline q index < 4 as this is no longer needed.

There is also a fix to try and prevent repeat single step Q adjustment in
the recode loop leading to lots of recodes, especially where the use
of forced skips as part of segmentation has made the impact of Q on
the number of bits generated much smaller.

Patch 2: Amend "last_boosted_qindex" calculation for arf overlay frames.

Change-Id: Ia1feeb79ed8ed014e4239994fcf5e58e68fd9459
vp8/encoder/firstpass.c
vp8/encoder/mbgraph.c
vp8/encoder/onyx_if.c
vp8/encoder/onyx_int.h
vp8/encoder/quantize.c
vp8/encoder/ratectrl.c