]> git.sesse.net Git - x264/commit
Improved 2pass bitrate predictor. No real change most of the time, but allows correct...
authorLoren Merritt <pengvado@videolan.org>
Thu, 17 Feb 2005 19:31:15 +0000 (19:31 +0000)
committerLoren Merritt <pengvado@videolan.org>
Thu, 17 Feb 2005 19:31:15 +0000 (19:31 +0000)
commit0606b3ac325a3cb3fd1fe648d9a6468ab731f7d5
treeabb14da99d7dfa1ca2af9b2c27fa353025b43bb5
parent3b2116cdd0aceff59036a17c6f9aa32592de4851
Improved 2pass bitrate predictor. No real change most of the time, but allows correct ratecontrol on some pathological videos that used to diverge completely. Also improves prediction when 2nd pass bitrate is very different from 1st pass.
The new qscale2bits() has no simple inverse, so I also had to change rc_eq to output qscale instead of bits.

git-svn-id: svn://svn.videolan.org/x264/trunk@129 df754926-b1dd-0310-bc7b-ec298dee348c
common/common.c
encoder/ratecontrol.c
x264.h