[x264-devel] [PATCH 14/29] param: Modify default qp parameters to maximum allowable

Henrik Gramner henrik at gramner.com
Fri Feb 10 22:42:49 CET 2017


On Fri, Feb 10, 2017 at 10:18 PM, Vittorio Giovara
<vittorio.giovara at gmail.com> wrote:
> -    param->rc.i_qp_constant = 23 + QP_BD_OFFSET;
> +    param->rc.i_qp_constant = INT_MAX;

This would be perhaps be better off with an invalid default (-1?) in
combination with an explicit check added in validate_parameters to
force anyone using constant qp to explicitly set a value.


More information about the x264-devel mailing list