]> git.videolan.org Git - x264.git/commitdiff
Change qpmin default to 0
authorJason Garrett-Glaser <darkshikari@gmail.com>
Sun, 21 Nov 2010 07:30:42 +0000 (23:30 -0800)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Thu, 25 Nov 2010 21:46:09 +0000 (13:46 -0800)
There's probably no real reason to keep it at 10 anymore, and lowering it allows AQ to pick lower quantizers in really flat areas.
Might help on gradients at high quality levels.
The previous value of 10 was arbitrary anyways.

common/common.c

index 6c88556d32aca0353c2316d185d64c8d73bd9d22..1f99e9e7eaa60b89e7e139df3c3c09a1fa974507 100644 (file)
@@ -98,7 +98,7 @@ void x264_param_default( x264_param_t *param )
     param->rc.f_vbv_buffer_init = 0.9;
     param->rc.i_qp_constant = 23 + QP_BD_OFFSET;
     param->rc.f_rf_constant = 23;
-    param->rc.i_qp_min = 10;
+    param->rc.i_qp_min = 0;
     param->rc.i_qp_max = QP_MAX;
     param->rc.i_qp_step = 4;
     param->rc.f_ip_factor = 1.4;