]> git.videolan.org Git - x264.git/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)
committerJason Garrett-Glaser <jason@x264.com>
Wed, 7 Mar 2012 01:10:30 +0000 (17:10 -0800)
commit037d123cf62c4af2dc13742b8606882b6d0d3d9e
treec6e596c8e6c62cccf7d617fa4e63edda8e15d6a9
parentde5a0adca1a7d08b1233b317ec092dbf19263d2f
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