<div dir="ltr"><div><div><div><div><div>Since the default preset is medium, shouldnt x265_param_default apply medium settings only? So that the if (!strcmp(preset, "medium")) block here is empty?? <br></div>In that case, the preset (if specified) will change only the ones which are different from medium? <br>
<br></div>Also, there are a few params here that<br></div>1. arent used and arent initialised properly (eg, constrainedIntra, weightedBipred) lets remove them and add them back when the feature exists. <br></div>2. that are dependent on other param fields, like EnableRdo, EnabledRDOQ depends on RDLevel. This particular case is handled safely inside encoder::configure, but not sure about all such cases. <br>
<br></div>Just thought this is a good time for springcleaning. <br></div>