[x265] [PATCH] use fixed stride/size on m_qtTempTComYuv, to reduce number of calcRecon() parameters
Min Chen
chenm003 at 163.com
Mon Nov 11 14:59:31 CET 2013
# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1384178362 -28800
# Node ID b24424693acd527d663ee68b4681b045ed0b46aa
# Parent b9f74f0f49b3020eac49edd87c4f20778e466fe5
use fixed stride/size on m_qtTempTComYuv, to reduce number of calcRecon() parameters
diff -r b9f74f0f49b3 -r b24424693acd source/Lib/TLibEncoder/TEncSearch.cpp
--- a/source/Lib/TLibEncoder/TEncSearch.cpp Mon Nov 11 20:51:58 2013 +0800
+++ b/source/Lib/TLibEncoder/TEncSearch.cpp Mon Nov 11 21:59:22 2013 +0800
@@ -176,7 +176,7 @@
m_qtTempCoeffCb[i] = new TCoeff[(g_maxCUWidth >> m_hChromaShift) * (g_maxCUHeight >> m_vChromaShift)];
m_qtTempCoeffCr[i] = new TCoeff[(g_maxCUWidth >> m_hChromaShift) * (g_maxCUHeight >> m_vChromaShift)];
- m_qtTempTComYuv[i].create(g_maxCUWidth, g_maxCUHeight, cfg->getColorFormat());
+ m_qtTempTComYuv[i].create(MAX_CU_SIZE, MAX_CU_SIZE, cfg->getColorFormat());
}
m_sharedPredTransformSkip[0] = new Pel[MAX_TS_WIDTH * MAX_TS_HEIGHT];
More information about the x265-devel
mailing list