]> git.sesse.net Git - x264/commit
Improve quantizer handling
authorFiona Glaser <fiona@x264.com>
Sun, 31 Oct 2010 22:51:48 +0000 (15:51 -0700)
committerFiona Glaser <fiona@x264.com>
Wed, 10 Nov 2010 08:16:23 +0000 (00:16 -0800)
commit2f2ab0fa6c873c32363d7c3115f483fafdbe326f
treefbb9bf56247434a11b62b90c25ded229de242f5d
parentd50a5bfd0b457c211a0ed2868b3e13be28dfa764
Improve quantizer handling
The default value for i_qpplus1 in x264_picture_t is now X264_QP_AUTO.  This is currently 0, but may change in the future.
qpfiles no longer use -1 to indicate "auto"; QP is just omitted.  The old method should still work though.

CRF values now make sense in high bit depth mode.
--qp should be used for lossless mode, not --crf.
--crf 0 will still work as expected in 8-bit mode, but won't be lossless with higher bit depths.
Add bit depth to statsfiles.

These changes are required to make the QP interface sensible in combination with high bit depth.
common/common.c
common/frame.c
encoder/encoder.c
encoder/ratecontrol.c
x264.c
x264.h