<div dir="ltr"><div># HG changeset patch</div><div># User Deepthi Nandakumar <<a href="mailto:deepthi@multicorewareinc.com">deepthi@multicorewareinc.com</a>></div><div># Date 1456928545 -19800</div><div># Wed Mar 02 19:52:25 2016 +0530</div><div># Node ID d8ab542232eb047bbd7f6bcbabf482d50e2393fc</div><div># Parent 7f7fe82ad6784c2773e0123f746ff37c66632d06</div><div>reconfigure: revise reconfigurable parameters </div><div><br></div><div>SAO, TU sizes, temporal MVP are encoded in the SPS and cannot be changed. NR structs</div><div>are allocated during initialisation.</div><div><br></div><div>diff -r 7f7fe82ad678 -r d8ab542232eb source/encoder/encoder.cpp</div><div>--- a/source/encoder/encoder.cpp<span class="" style="white-space:pre"> </span>Mon Mar 07 10:38:19 2016 +0530</div><div>+++ b/source/encoder/encoder.cpp<span class="" style="white-space:pre"> </span>Wed Mar 02 19:52:25 2016 +0530</div><div>@@ -905,28 +905,24 @@</div><div> int Encoder::reconfigureParam(x265_param* encParam, x265_param* param)</div><div> {</div><div> encParam->maxNumReferences = param->maxNumReferences; // never uses more refs than specified in stream headers</div><div>- encParam->bEnableLoopFilter = param->bEnableLoopFilter;</div><div>- encParam->deblockingFilterTCOffset = param->deblockingFilterTCOffset;</div><div>- encParam->deblockingFilterBetaOffset = param->deblockingFilterBetaOffset;</div><div> encParam->bEnableFastIntra = param->bEnableFastIntra;</div><div> encParam->bEnableEarlySkip = param->bEnableEarlySkip;</div><div>- encParam->bEnableTemporalMvp = param->bEnableTemporalMvp;</div><div>- /* Scratch buffer prevents me_range from being increased for esa/tesa</div><div>- if (param->searchMethod < X265_FULL_SEARCH || param->searchMethod < encParam->searchRange)</div><div>- encParam->searchRange = param->searchRange; */</div><div>- encParam->noiseReductionInter = param->noiseReductionInter;</div><div>- encParam->noiseReductionIntra = param->noiseReductionIntra;</div><div>+ encParam->searchMethod = param->searchMethod;</div><div>+ /* Scratch buffer prevents me_range from being increased for esa/tesa */</div><div>+ if (param->searchRange < encParam->searchRange)</div><div>+ encParam->searchRange = param->searchRange;</div><div> /* We can't switch out of subme=0 during encoding. */</div><div> if (encParam->subpelRefine)</div><div> encParam->subpelRefine = param->subpelRefine;</div><div> encParam->rdoqLevel = param->rdoqLevel;</div><div> encParam->rdLevel = param->rdLevel;</div><div>- encParam->bEnableTSkipFast = param->bEnableTSkipFast;</div><div>- encParam->psyRd = param->psyRd;</div><div>- encParam->psyRdoq = param->psyRdoq;</div><div>- encParam->bEnableSignHiding = param->bEnableSignHiding;</div><div>- encParam->bEnableFastIntra = param->bEnableFastIntra;</div><div>- encParam->maxTUSize = param->maxTUSize;</div><div>+ encParam->bEnableRectInter = param->bEnableRectInter;</div><div>+ encParam->maxNumMergeCand = param->maxNumMergeCand;</div><div>+ encParam->bIntraInBFrames = param->bIntraInBFrames;</div><div>+ encParam->rc.aqMode = param->rc.aqMode;</div><div>+ encParam->rc.cuTree = param->rc.cuTree;</div><div>+ /* To add: Loop Filter/deblocking controls, transform skip, signhide require PPS to be resent */</div><div>+ /* To add: SAO, temporal MVP, AMP, TU depths require SPS to be resent, at every CVS boundary */</div><div> return x265_check_params(encParam);</div><div> }</div><div> </div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div>Deepthi Nandakumar<br></div>Engineering Manager, x265<br></div>Multicoreware, Inc<br></div></div>
</div>