[x265] [PATCH 5 of 7] encoder: clean up

aarthi at multicorewareinc.com aarthi at multicorewareinc.com
Tue May 5 17:51:44 CEST 2015


# HG changeset patch
# User Aarthi Thirumalai
# Date 1427363122 -19800
#      Thu Mar 26 15:15:22 2015 +0530
# Node ID 8c77520681ab0bc1124b79e18299d3cbc12616a1
# Parent  0c09d2320a9283c1a940043132415d82d4976f3f
encoder: clean up

diff -r 0c09d2320a92 -r 8c77520681ab source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp	Wed Mar 25 10:03:09 2015 +0530
+++ b/source/encoder/encoder.cpp	Thu Mar 26 15:15:22 2015 +0530
@@ -737,7 +737,6 @@
 
 int Encoder::reconfigureParam(x265_param* encParam, x265_param* param)
 {
-    int width = 0, height = 0;
     encParam->maxNumReferences = param->maxNumReferences; // but never uses more refs than initially specified
     encParam->bEnableLoopFilter = param->bEnableLoopFilter;
     encParam->deblockingFilterTCOffset = param->deblockingFilterTCOffset;
@@ -753,7 +752,7 @@
     /* We can't switch out of subme=0 during encoding. */
     if (encParam->subpelRefine)
         encParam->subpelRefine = param->subpelRefine;
-    encParam->rdoqLevel = param->psyRdoq;
+    encParam->rdoqLevel = param->rdoqLevel;
     encParam->rdLevel = param->rdLevel;
     encParam->bEnableTSkipFast = param->bEnableTSkipFast;
     encParam->psyRd = param->psyRd;


More information about the x265-devel mailing list