[x264-devel] commit: Improve quantizer handling (Jason Garrett-Glaser )

git at videolan.org git at videolan.org
Wed Nov 10 10:12:34 CET 2010


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Sun Oct 31 15:51:48 2010 -0700| [d0406d4e3dc2b0953390857ac6efa0b5a9d5ba8f] | committer: Jason Garrett-Glaser 

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.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=d0406d4e3dc2b0953390857ac6efa0b5a9d5ba8f
---

 common/common.c       |    5 +++--
 common/frame.c        |    2 +-
 encoder/encoder.c     |    4 ++--
 encoder/ratecontrol.c |   10 ++++------
 x264.c                |   25 +++++++++----------------
 x264.h                |    5 +++--
 6 files changed, 22 insertions(+), 29 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=d0406d4e3dc2b0953390857ac6efa0b5a9d5ba8f


More information about the x264-devel mailing list