<div dir="ltr">Pushed to default <div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Thanks,</div><div dir="ltr"><span></span><span></span>Kalyan Goswami, PhD</div><div dir="ltr"><span style="font-size:12.8px">Video Architect @ MulticoreWare</span></div><div dir="ltr"><div><a href="http://www.multicorewareinc.com/" target="_blank">http:</a><a href="http://www.multicorewareinc.com/" style="font-size:12.8px" target="_blank">//www.multicorewareinc.com</a></div><div><span style="font-size:12.8px">+91 9884989331</span><br></div><div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 27, 2018 at 12:20 PM <<a href="mailto:pooja@multicorewareinc.com">pooja@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"># HG changeset patch<br>
# User Pooja Venkatesan <<a href="mailto:pooja@multicorewareinc.com" target="_blank">pooja@multicorewareinc.com</a>><br>
# Date 1545892012 -19800<br>
# Thu Dec 27 11:56:52 2018 +0530<br>
# Node ID 3955fddb29bcb342e4b51c57dd8dece92ad06889<br>
# Parent 1951152ff12db320a4b626e57ee1c870d84d7f14<br>
preset: Change param defaults for veryslow and slower preset<br>
<br>
This patch does the following:<br>
1)Replace slower preset with defaults used in veryslow preset.<br>
2)Change param defaults in veryslow preset as per experimental results.<br>
<br>
diff -r 1951152ff12d -r 3955fddb29bc doc/reST/presets.rst<br>
--- a/doc/reST/presets.rst Fri Dec 07 12:52:46 2018 +0530<br>
+++ b/doc/reST/presets.rst Thu Dec 27 11:56:52 2018 +0530<br>
@@ -43,33 +43,33 @@<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
| b-adapt | 0 | 0 | 0 | 0 | 0 | 2 | 2 | 2 | 2 | 2 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
-| rc-lookahead | 5 | 10 | 15 | 15 | 15 | 20 | 25 | 30 | 40 | 60 |<br>
+| rc-lookahead | 5 | 10 | 15 | 15 | 15 | 20 | 25 | 40 | 40 | 60 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
-| lookahead-slices| 8 | 8 | 8 | 8 | 8 | 8 | 4 | 4 | 1 | 1 |<br>
+| lookahead-slices| 8 | 8 | 8 | 8 | 8 | 8 | 4 | 1 | 1 | 1 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
| scenecut | 0 | 40 | 40 | 40 | 40 | 40 | 40 | 40 | 40 | 40 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
-| ref | 1 | 1 | 2 | 2 | 3 | 3 | 4 | 4 | 5 | 5 |<br>
+| ref | 1 | 1 | 2 | 2 | 3 | 3 | 4 | 5 | 5 | 5 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
-| limit-refs | 0 | 0 | 3 | 3 | 3 | 3 | 3 | 2 | 1 | 0 |<br>
+| limit-refs | 0 | 0 | 3 | 3 | 3 | 3 | 3 | 1 | 0 | 0 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
| me | dia | hex | hex | hex | hex | hex | star | star | star | star |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
| merange | 57 | 57 | 57 | 57 | 57 | 57 | 57 | 57 | 57 | 92 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
-| subme | 0 | 1 | 1 | 2 | 2 | 2 | 3 | 3 | 4 | 5 |<br>
+| subme | 0 | 1 | 1 | 2 | 2 | 2 | 3 | 4 | 4 | 5 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
| rect | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
| amp | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
-| limit-modes | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 |<br>
+| limit-modes | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
-| max-merge | 2 | 2 | 2 | 2 | 2 | 2 | 3 | 3 | 4 | 5 |<br>
+| max-merge | 2 | 2 | 2 | 2 | 2 | 2 | 3 | 4 | 5 | 5 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
| early-skip | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
-| recursion-skip | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 |<br>
+| recursion-skip | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
| fast-intra | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
@@ -91,11 +91,11 @@<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
| rdoq-level | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 2 | 2 | 2 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
-| tu-intra | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 2 | 3 | 4 |<br>
+| tu-intra | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 3 | 3 | 4 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
-| tu-inter | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 2 | 3 | 4 |<br>
+| tu-inter | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 3 | 3 | 4 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
-| limit-tu | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 4 | 0 |<br>
+| limit-tu | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 0 |<br>
+-----------------+-----+-----+-----+-----+-----+-----+------+------+------+------+<br>
<br>
.. _tunings:<br>
diff -r 1951152ff12d -r 3955fddb29bc source/common/param.cpp<br>
--- a/source/common/param.cpp Fri Dec 07 12:52:46 2018 +0530<br>
+++ b/source/common/param.cpp Thu Dec 27 11:56:52 2018 +0530<br>
@@ -423,28 +423,6 @@<br>
param->bEnableWeightedBiPred = 1;<br>
param->bEnableAMP = 1;<br>
param->bEnableRectInter = 1;<br>
- param->lookaheadDepth = 30;<br>
- param->bframes = 8;<br>
- param->tuQTMaxInterDepth = 2;<br>
- param->tuQTMaxIntraDepth = 2;<br>
- param->rdLevel = 6;<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->limitReferences = 2;<br>
- param->limitModes = 1;<br>
- param->bIntraInBFrames = 1;<br>
- param->lookaheadSlices = 4; // limit parallelism as already enough work exists<br>
- param->limitTU = 4;<br>
- }<br>
- else if (!strcmp(preset, "veryslow"))<br>
- {<br>
- param->bEnableWeightedBiPred = 1;<br>
- param->bEnableAMP = 1;<br>
- param->bEnableRectInter = 1;<br>
param->lookaheadDepth = 40;<br>
param->bframes = 8;<br>
param->tuQTMaxInterDepth = 3;<br>
@@ -462,6 +440,28 @@<br>
param->lookaheadSlices = 0; // disabled for best quality<br>
param->limitTU = 4;<br>
}<br>
+ else if (!strcmp(preset, "veryslow"))<br>
+ {<br>
+ param->bEnableWeightedBiPred = 1;<br>
+ param->bEnableAMP = 1;<br>
+ param->bEnableRectInter = 1;<br>
+ param->lookaheadDepth = 40;<br>
+ param->bframes = 8;<br>
+ param->tuQTMaxInterDepth = 3;<br>
+ param->tuQTMaxIntraDepth = 3;<br>
+ param->rdLevel = 6;<br>
+ param->rdoqLevel = 2;<br>
+ param->psyRdoq = 1.0;<br>
+ param->subpelRefine = 4;<br>
+ param->maxNumMergeCand = 5;<br>
+ param->searchMethod = X265_STAR_SEARCH;<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->bEnableWeightedBiPred = 1;<br>
_______________________________________________<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>