[x265] [PATCH 3 of 4] framepp: loopfilter and sao need same control value
Min Chen
chenm003 at 163.com
Thu Aug 15 19:35:51 CEST 2013
# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1376588075 -28800
# Node ID 9db59d007cfb45248d0515681335482616671acf
# Parent f83b638aad70805ffc8646618bc43370bc802448
framepp: loopfilter and sao need same control value
diff -r f83b638aad70 -r 9db59d007cfb source/x265.cpp
--- a/source/x265.cpp Fri Aug 16 01:33:41 2013 +0800
+++ b/source/x265.cpp Fri Aug 16 01:34:35 2013 +0800
@@ -389,6 +389,11 @@
this->input->setDimensions(param->sourceWidth, param->sourceHeight);
this->input->setBitDepth(inputBitDepth);
}
+ if (param->bEnableLoopFilter ^ param->bEnableSAO)
+ {
+ log(X265_LOG_ERROR, "Loopfilter and SAO must be same value\n");
+ return true;
+ }
/* rules for input, output and internal bitdepths as per help text */
if (!param->internalBitDepth) { param->internalBitDepth = inputBitDepth; }
More information about the x265-devel
mailing list