[x265] [PATCH] removed bad category test for noise reduction

praveen at multicorewareinc.com praveen at multicorewareinc.com
Tue Aug 5 09:10:59 CEST 2014


# HG changeset patch
# User Praveen Tiwari
# Date 1407222623 -19800
# Node ID d8fda87d423b698df015ad92b7c1ef733dba5be6
# Parent  08304a2980656feb93165f4c78c8047743419182
removed bad category test for noise reduction

diff -r 08304a298065 -r d8fda87d423b source/encoder/frameencoder.cpp
--- a/source/encoder/frameencoder.cpp	Mon Aug 04 16:22:46 2014 -0500
+++ b/source/encoder/frameencoder.cpp	Tue Aug 05 12:40:23 2014 +0530
@@ -900,8 +900,7 @@
     int transformSize[4] = {16, 64, 256, 1024};
     uint32_t blockCount[4] = {1 << 18, 1 << 16, 1 << 14, 1 << 12};
 
-    int isCspI444 = (m_param->internalCsp == X265_CSP_I444) ? 1 : 0;
-    for (int cat = 0; cat < 7 + isCspI444; cat++)
+    for (int cat = 0; cat < 8; cat++)
     {
         int index = cat % 4;
         int size = transformSize[index];


More information about the x265-devel mailing list