]> git.sesse.net Git - x264/commit
Add an small per-MB cost penalty for lowres
authorAnton Mitrofanov <Bugmaster@narod.ru>
Thu, 9 Feb 2012 23:27:53 +0000 (15:27 -0800)
committerFiona Glaser <fiona@x264.com>
Wed, 7 Mar 2012 01:10:30 +0000 (17:10 -0800)
commit48e8e52e740fdc7ddca792d4afe240a213f66df5
tree9078f56738159c9e75853caa730e923fb6f41dad
parent1b31a10c7c3210d5eb14d522aaa0cfbe0e7a25e8
Add an small per-MB cost penalty for lowres
Helps avoid VBV predictors going nuts with very low-cost MBs.
One particular case this fixes is zero-cost MBs: adaptive quantization decreases the QP a lot, but (before this patch), no cost penalty gets factored in for this, because anything times zero is zero.
encoder/slicetype.c