]> granicus.if.org Git - libvpx/commit
Add variance restriction to AQ2.
authorPaul Wilkins <paulwilkins@google.com>
Fri, 7 Nov 2014 16:32:50 +0000 (16:32 +0000)
committerPaul Wilkins <paulwilkins@google.com>
Fri, 21 Nov 2014 00:23:35 +0000 (16:23 -0800)
commitd0312379991b81f2aec5a1fa4a50406ca764cdee
treec9c4838405f185adde18b7777b113bcd727627ff
parent3d1e8c9a85d0bb16049cb1622f1d2d9a034c5379
Add variance restriction to AQ2.

Add an additional restriction to bit/complexity based
segmentation based on spatial variance.

Only lower Q when both the number of bits spent
in the initial encoding pass and the spatial complexity are
below a threshold. This will prevent the low Q segments
being used just because there is a surfeit of bits.

Small metrics gains especially opsnr.
derf ~0.2% std-hd ~0.3%

Change-Id: I6a8496d466d673f9b0e2b2ca6304ea7b6d8e1cce
vp9/encoder/vp9_aq_complexity.c
vp9/encoder/vp9_aq_complexity.h
vp9/encoder/vp9_aq_variance.c
vp9/encoder/vp9_aq_variance.h
vp9/encoder/vp9_encodeframe.c