<div dir="ltr">Pushed to Release_3.1.<div><br></div><div>Thanks,</div><div>Aruna</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 14, 2019 at 5:46 PM Praveen Kumar Karadugattu <<a href="mailto:praveenkumar@multicorewareinc.com">praveenkumar@multicorewareinc.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div># HG changeset patch<br># User praveen_karadugattu <<a href="mailto:praveenkumar@multicorewareinc.com" target="_blank">praveenkumar@multicorewareinc.com</a>><br># Date 1560507248 -19800<br>#      Fri Jun 14 15:44:08 2019 +0530<br># Node ID 6766973bc652a7a2a550f539f03248ee54e3b312<br># Parent  a46ded2c14116af1cafacdc1fb98be43259dc7d6<br>Decoupled the non-"medium" presets from the effect of new default parameters committed under commit-id 4583000db964.</div><div>diff -r a46ded2c1411 -r 6766973bc652 source/common/param.cpp<br>--- a/source/common/param.cpp Tue May 28 14:01:54 2019 +0800<br>+++ b/source/common/param.cpp Fri Jun 14 15:44:08 2019 +0530<br>@@ -361,6 +361,8 @@<br> <br>         if (!strcmp(preset, "ultrafast"))<br>         {<br>+            param->maxNumMergeCand = 2;<br>+            param->bIntraInBFrames = 0;<br>             param->lookaheadDepth = 5;<br>             param->scenecutThreshold = 0; // disable lookahead<br>             param->maxCUSize = 32;<br>@@ -369,7 +371,6 @@<br>             param->bFrameAdaptive = 0;<br>             param->subpelRefine = 0;<br>             param->searchMethod = X265_DIA_SEARCH;<br>-            param->bEnableEarlySkip = 1;<br>             param->bEnableSAO = 0;<br>             param->bEnableSignHiding = 0;<br>             param->bEnableWeightedPred = 0;<br>@@ -384,12 +385,13 @@<br>         }<br>         else if (!strcmp(preset, "superfast"))<br>         {<br>+            param->maxNumMergeCand = 2;<br>+            param->bIntraInBFrames = 0;<br>             param->lookaheadDepth = 10;<br>             param->maxCUSize = 32;<br>             param->bframes = 3;<br>             param->bFrameAdaptive = 0;<br>             param->subpelRefine = 1;<br>-            param->bEnableEarlySkip = 1;<br>             param->bEnableWeightedPred = 0;<br>             param->rdLevel = 2;<br>             param->maxNumReferences = 1;<br>@@ -403,10 +405,12 @@<br>         }<br>         else if (!strcmp(preset, "veryfast"))<br>         {<br>+            param->maxNumMergeCand = 2;<br>+            param->limitReferences = 3;<br>+            param->bIntraInBFrames = 0;<br>             param->lookaheadDepth = 15;<br>             param->bFrameAdaptive = 0;<br>             param->subpelRefine = 1;<br>-            param->bEnableEarlySkip = 1;<br>             param->rdLevel = 2;<br>             param->maxNumReferences = 2;<br>             param->rc.qgSize = 32;<br>@@ -414,15 +418,21 @@<br>         }<br>         else if (!strcmp(preset, "faster"))<br>         {<br>+            param->maxNumMergeCand = 2;<br>+            param->limitReferences = 3;<br>+            param->bIntraInBFrames = 0;<br>             param->lookaheadDepth = 15;<br>             param->bFrameAdaptive = 0;<br>-            param->bEnableEarlySkip = 1;<br>             param->rdLevel = 2;<br>             param->maxNumReferences = 2;<br>             param->bEnableFastIntra = 1;<br>         }<br>         else if (!strcmp(preset, "fast"))<br>         {<br>+            param->maxNumMergeCand = 2;<br>+            param->limitReferences = 3;<br>+            param->bEnableEarlySkip = 0;<br>+            param->bIntraInBFrames = 0;<br>             param->lookaheadDepth = 15;<br>             param->bFrameAdaptive = 0;<br>             param->rdLevel = 2;<br>@@ -435,13 +445,15 @@<br>         }<br>         else if (!strcmp(preset, "slow"))<br>         {<br>+            param->limitReferences = 3;<br>+            param->bEnableEarlySkip = 0;<br>+            param->bIntraInBFrames = 0;<br>             param->bEnableRectInter = 1;<br>             param->lookaheadDepth = 25;<br>             param->rdLevel = 4;<br>             param->rdoqLevel = 2;<br>             param->psyRdoq = 1.0;<br>             param->subpelRefine = 3;<br>-            param->maxNumMergeCand = 3;<br>             param->searchMethod = X265_STAR_SEARCH;<br>             param->maxNumReferences = 4;<br>             param->limitModes = 1;<br>@@ -449,6 +461,7 @@<br>         }<br>         else if (!strcmp(preset, "slower"))<br>         {<br>+            param->bEnableEarlySkip = 0;<br>             param->bEnableWeightedBiPred = 1;<br>             param->bEnableAMP = 1;<br>             param->bEnableRectInter = 1;<br>@@ -463,14 +476,13 @@<br>             param->maxNumMergeCand = 4;<br>             param->searchMethod = X265_STAR_SEARCH;<br>             param->maxNumReferences = 5;<br>-            param->limitReferences = 1;<br>             param->limitModes = 1;<br>-            param->bIntraInBFrames = 1;<br>             param->lookaheadSlices = 0; // disabled for best quality<br>             param->limitTU = 4;<br>         }<br>         else if (!strcmp(preset, "veryslow"))<br>         {<br>+            param->bEnableEarlySkip = 0;<br>             param->bEnableWeightedBiPred = 1;<br>             param->bEnableAMP = 1;<br>             param->bEnableRectInter = 1;<br>@@ -487,12 +499,12 @@<br>             param->maxNumReferences = 5;<br>             param->limitReferences = 0;<br>             param->limitModes = 0;<br>-            param->bIntraInBFrames = 1;<br>             param->lookaheadSlices = 0; // disabled for best quality<br>             param->limitTU = 0;<br>         }<br>         else if (!strcmp(preset, "placebo"))<br>         {<br>+            param->bEnableEarlySkip = 0;<br>             param->bEnableWeightedBiPred = 1;<br>             param->bEnableAMP = 1;<br>             param->bEnableRectInter = 1;<br>@@ -511,7 +523,6 @@<br>             param->bEnableRecursionSkip = 0;<br>             param->maxNumReferences = 5;<br>             param->limitReferences = 0;<br>-            param->bIntraInBFrames = 1;<br>             param->lookaheadSlices = 0; // disabled for best quality<br>             // TODO: optimized esa<br>         }<br></div></div></div>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div>