<div dir="ltr"><div><div>Thanks.<br><br></div>param->lookaheadDepth is meaningful only when bFrameAdaptive >= 1<br>(bFrameAdaptive 0: default GOP structure described with N bframes, more details in our Eval Guide). <br>
<br></div>Hence the parameter was omitted for ultrafast and superfast.<br><div><div><div><div id="__tbSetup"></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 15, 2013 at 4:56 PM, Selur <span dir="ltr"><<a href="mailto:hybrid@selur.de" target="_blank">hybrid@selur.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA256<br>
<div class="im"><br>
param->tuQTMaxInterDepth = 1;<br>
param->tuQTMaxIntraDepth = 1;<br>
</div>can be removed from all presets since they are already default<br>
<br>
default "param->lookaheadDepth = 40"<br>
veryfast has "param->lookaheadDepth = 10"<br>
- -> seems like superfast and ultrafast should get<br>
"param->lookaheadDepth = 0" or "param->lookaheadDepth = 10"<br>
<div><div class="h5"><br>
<br>
On 15.11.2013 09:22, <a href="mailto:deepthi@multicorewareinc.com">deepthi@multicorewareinc.com</a> wrote:<br>
> # HG changeset patch # User Deepthi Nandakumar<br>
> <<a href="mailto:deepthi@multicorewareinc.com">deepthi@multicorewareinc.com</a>> # Date 1384503712 -19800 # Node ID<br>
> a85c5f4187948982e44f308174e4ac2130894c7f # Parent<br>
> a5689bb5808eb1262694f59f76d7170b918635bc presets: fix bugs, better<br>
> spread out the efficiency/speed data points.<br>
><br>
> diff -r a5689bb5808e -r a85c5f418794 source/common/common.cpp ---<br>
> a/source/common/common.cpp Fri Nov 15 13:50:42 2013 +0530 +++<br>
> b/source/common/common.cpp Fri Nov 15 13:51:52 2013 +0530 @@<br>
> -142,6 +142,10 @@ param->logLevel = X265_LOG_INFO;<br>
> param->bEnableWavefront = 1; param->frameNumThreads = 0; +<br>
> param->poolNumThreads = 0; + param->csvfn = NULL; + + /* Source<br>
> specifications */ param->inputBitDepth = 8; param->sourceCsp =<br>
> X265_CSP_I420;<br>
><br>
> @@ -154,12 +158,14 @@ param->decodingRefreshType = 1;<br>
> param->keyframeMin = 0; param->keyframeMax = 250; + param->bOpenGOP<br>
> = 0; param->bframes = 3; param->lookaheadDepth = 40;<br>
> param->bFrameAdaptive = X265_B_ADAPT_FAST; param->scenecutThreshold<br>
> = 40; /* Magic number pulled in from x264*/<br>
><br>
> /* Intra Coding Tools */ + param->bEnableConstrainedIntra = 0;<br>
> param->bEnableStrongIntraSmoothing = 1;<br>
><br>
> /* Inter Coding tools */ @@ -167,24 +173,34 @@ param->subpelRefine<br>
> = 5; param->searchRange = 60; param->maxNumMergeCand = 3; +<br>
> param->bEnableWeightedPred = 0; + param->bEnableWeightedBiPred<br>
> = 0; + param->bEnableEarlySkip = 0; +<br>
> param->bEnableCbfFastMode = 0; param->bEnableAMP = 1;<br>
> param->bEnableRectInter = 1; param->rdLevel = X265_NO_RDO_NO_RDOQ;<br>
> - param->bEnableRDO = 1; - param->bEnableRDOQ = 1; +<br>
> param->bEnableRDO = 0; + param->bEnableRDOQ = 0;<br>
> param->bEnableRDOQTS = 1; param->bEnableSignHiding = 1;<br>
> param->bEnableTransformSkip = 0; param->bEnableTSkipFast = 1;<br>
> param->maxNumReferences = 3; - + /* Loop Filter */<br>
> param->bEnableLoopFilter = 1;<br>
><br>
> /* SAO Loop Filter */ param->bEnableSAO = 1; +<br>
> param->saoLcuBoundary = 0; param->saoLcuBasedOptimization = 1;<br>
><br>
> + /* Coding Quality */ + param->cbQpOffset = 0; +<br>
> param->crQpOffset = 0; + param->rdPenalty = 0; + /* Rate<br>
> control options */ param->rc.rfConstant = 28; param->rc.bitrate =<br>
> 0; @@ -261,9 +277,8 @@ param->bframes = 4; param->tuQTMaxInterDepth<br>
> = 1; param->tuQTMaxIntraDepth = 1; - param->rdLevel = 0;<br>
> param->subpelRefine = 0; - param->maxNumMergeCand = 1;<br>
> + param->maxNumMergeCand = 2; param->searchMethod =<br>
> X265_DIA_SEARCH; param->bEnableRectInter = 0; param->bEnableAMP =<br>
> 0; @@ -273,8 +288,7 @@ param->bEnableLoopFilter = 0;<br>
> param->bEnableSAO = 0; param->bEnableSignHiding = 0; -<br>
> param->bEnableWeightedPred = 0; - param->rc.aqMode =<br>
> X265_AQ_NONE; + param->maxNumReferences = 1; } else if<br>
> (!strcmp(preset, "superfast")) { @@ -284,10 +298,9 @@<br>
> param->bframes = 4; param->tuQTMaxInterDepth = 1;<br>
> param->tuQTMaxIntraDepth = 1; - param->rdLevel = 0;<br>
> param->subpelRefine = 1; - param->maxNumMergeCand = 1;<br>
> - param->searchMethod = X265_DIA_SEARCH; + param->maxNumMergeCand =<br>
> 2; + param->searchMethod = X265_HEX_SEARCH;<br>
> param->bEnableRectInter = 0; param->bEnableAMP = 0;<br>
> param->bEnableTransformSkip = 0; @@ -295,7 +308,7 @@<br>
> param->bEnableCbfFastMode = 1; param->bEnableSAO = 0;<br>
> param->bEnableSignHiding = 0; - param->bEnableWeightedPred = 0; +<br>
> param->maxNumReferences = 1; } else if (!strcmp(preset,<br>
> "veryfast")) { @@ -303,7 +316,6 @@ param->bFrameAdaptive = 1;<br>
> param->tuQTMaxInterDepth = 1; param->tuQTMaxIntraDepth = 1; -<br>
> param->rdLevel = 0; param->subpelRefine = 1; param->searchMethod =<br>
> X265_HEX_SEARCH; param->maxNumMergeCand = 2; @@ -312,6 +324,7 @@<br>
> param->bEnableTransformSkip = 0; param->bEnableEarlySkip = 1;<br>
> param->bEnableCbfFastMode = 1; +<br>
> param->maxNumReferences = 1; } else if (!strcmp(preset, "faster"))<br>
> { @@ -319,7 +332,6 @@ param->bFrameAdaptive = 1;<br>
> param->tuQTMaxInterDepth = 1; param->tuQTMaxIntraDepth = 1; -<br>
> param->rdLevel = 0; param->subpelRefine = 2; param->searchMethod =<br>
> X265_HEX_SEARCH; param->maxNumMergeCand = 2; @@ -327,13 +339,15 @@<br>
> param->bEnableAMP = 0; param->bEnableTransformSkip = 0;<br>
> param->maxNumReferences = 2; + param->bEnableEarlySkip =<br>
> 1; + param->bEnableCbfFastMode = 1; } else if (!strcmp(preset,<br>
> "fast")) { - param->lookaheadDepth = 30; +<br>
> param->lookaheadDepth = 20; + param->bFrameAdaptive = 1;<br>
> param->tuQTMaxInterDepth = 1; param->tuQTMaxIntraDepth = 1; -<br>
> param->rdLevel = 0; param->subpelRefine = 3; param->searchMethod =<br>
> X265_HEX_SEARCH; param->maxNumMergeCand = 2; @@ -353,7 +367,7 @@<br>
> param->tuQTMaxInterDepth = 1; param->tuQTMaxIntraDepth = 1;<br>
> param->rdLevel = 1; - param->maxNumMergeCand = 3; +<br>
> param->maxNumMergeCand = 4; param->bEnableTransformSkip = 0;<br>
> param->maxNumReferences = 3; } @@ -364,7 +378,9 @@ param->bframes<br>
> = 5; param->tuQTMaxInterDepth = 2; param->tuQTMaxIntraDepth = 2; -<br>
> param->maxNumMergeCand = 4; + param->rdLevel = 2; +<br>
> param->subpelRefine = 6; + param->maxNumMergeCand = 5;<br>
> param->bEnableTransformSkip = 0; param->maxNumReferences = 3; } @@<br>
> -372,17 +388,27 @@ { param->bFrameAdaptive = 2;<br>
> param->lookaheadDepth = 60; + param->rdLevel = 2;<br>
> param->bframes = 8; + param->subpelRefine = 6;<br>
> param->maxNumReferences = 5; + param->maxNumMergeCand =<br>
> 5; + param->tuQTMaxInterDepth = 3; +<br>
> param->tuQTMaxIntraDepth = 3; } else if (!strcmp(preset,<br>
> "placebo")) { param->bFrameAdaptive = 2; param->lookaheadDepth =<br>
> 60; param->bframes = 16; + param->rdLevel = 2; +<br>
> param->subpelRefine = 7; param->maxNumReferences = 16;<br>
> param->searchRange = 124; param->bEnableTSkipFast = 0; +<br>
> param->maxNumMergeCand = 5; + param->tuQTMaxInterDepth<br>
> = 4; + param->tuQTMaxIntraDepth = 4; // TODO: optimized<br>
</div></div>> esa } else _______________________________________________<br>
> x265-devel mailing list <a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
> <a href="https://mailman.videolan.org/listinfo/x265-devel" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
><br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.22 (MingW32)<br>
<br>
iQIcBAEBCAAGBQJShgUCAAoJEJA5OiupSg933GgP/10PphfjUaq61tjJxAnr7nX7<br>
piyvy3jj0C8V1pxMjUHWP59cDv0LpDQPo9bjYASvPQmYanz/zbQMoWuYhEM/ok2+<br>
AopAHeHWJCCAqsrE1k02UmaL4t9m1JBZLm25+4s+Ch6Bx4DFgB3UgPYPiXU2WEd7<br>
OpzrNyWPZHjhpwjnEW9uAqY5Av0wgMILtjGd9j1dpdQZ6sOlOipu8J4IBytEf4tH<br>
wlW2N6KQDHVpSvF5geFy7WVKE2LhHvuRWqRDPAnUUApK/kkUkp/KxuV9KgTdDeX6<br>
+7LWaZWYSm+rE61BC+7wCkO42vaL8lhDL4MTWCec05uSNYy5d0tk71hju8PBmgUD<br>
xG1jEcWpvcwRXp0n18/z8lJjPGW67TWQ7OU/LvPR/f+bBrU4u9Oa/m7KACRdhX+W<br>
E0noC4rpiDfl8Z7Mbso3ru1IzSOfO17BE6WTECSFcawnb1LwNF9NQEnoK/m5JCqe<br>
4drHjLQ269VV7BtAOun9OUBWR0EudMpD/ijSk2HEb9GAtfONwPZksiGbHcWEz48X<br>
eyDlLyNwLAScXLEl+/AR16iiJCc4z/V1ZcXGDog4FmYzkDXeqH/X24BhpLn33jT8<br>
4Lt5MNPg2qI7ru1vD4EkZ8eJYAbliy0l582co+6ZIsdvwCFh0JaXEhfY4FvzmuIv<br>
S6a+vK8J6DZYz7FZYgwW<br>
=Dh+o<br>
-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div><br></div>