[x265] [PATCH] Disable noise reduction when vbv is enabled
aruna at multicorewareinc.com
aruna at multicorewareinc.com
Wed Jul 4 07:57:26 CEST 2018
# HG changeset patch
# User Aruna_Matheswaran
# Date 1527486192 -19800
# Mon May 28 11:13:12 2018 +0530
# Node ID b1a656f172e0e2a4faee4e5755e1be5a760d5e11
# Parent 33e50546b41f3bd157ccb83adba67704352bc5dd
Disable noise reduction when vbv is enabled
Currently, even when --nr-intra and --nr-inter are set to 0, noise reduction is
being carried out if VBV is enabled. This patch completely disables noise
reduction immaterial of VBV when --nr-intra and --nr-inter are set to 0.
diff -r 33e50546b41f -r b1a656f172e0 source/encoder/frameencoder.cpp
--- a/source/encoder/frameencoder.cpp Fri Jun 29 12:15:34 2018 +0530
+++ b/source/encoder/frameencoder.cpp Mon May 28 11:13:12 2018 +0530
@@ -179,7 +179,7 @@
ok &= m_rce.picTimingSEI && m_rce.hrdTiming;
}
- if (m_param->noiseReductionIntra || m_param->noiseReductionInter || m_param->rc.vbvBufferSize)
+ if (m_param->noiseReductionIntra || m_param->noiseReductionInter)
m_nr = X265_MALLOC(NoiseReduction, 1);
if (m_nr)
memset(m_nr, 0, sizeof(NoiseReduction));
diff -r 33e50546b41f -r b1a656f172e0 source/encoder/search.cpp
--- a/source/encoder/search.cpp Fri Jun 29 12:15:34 2018 +0530
+++ b/source/encoder/search.cpp Mon May 28 11:13:12 2018 +0530
@@ -82,7 +82,7 @@
m_me.init(param.internalCsp);
bool ok = m_quant.init(param.psyRdoq, scalingList, m_entropyCoder);
- if (m_param->noiseReductionIntra || m_param->noiseReductionInter || m_param->rc.vbvBufferSize)
+ if (m_param->noiseReductionIntra || m_param->noiseReductionInter )
ok &= m_quant.allocNoiseReduction(param);
ok &= Predict::allocBuffers(param.internalCsp); /* sets m_hChromaShift & m_vChromaShift */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265-clone.patch
Type: text/x-patch
Size: 1696 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20180704/221e5394/attachment.bin>
More information about the x265-devel
mailing list