Changeset 1412 in 3DVCSoftware for branches/HTM-16.2-dev/source/Lib/TLibCommon/TComTrQuant.cpp
- Timestamp:
- 12 Apr 2018, 11:12:21 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-16.2-dev/source/Lib/TLibCommon/TComTrQuant.cpp
r1405 r1412 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 6, ITU/ISO/IEC6 * Copyright (c) 2010-2017, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 1153 1153 if ( useRDOQ && (isLuma(compID) || RDOQ_CHROMA) ) 1154 1154 { 1155 #if T0196_SELECTIVE_RDOQ1156 1155 if ( !m_useSelectiveRDOQ || xNeedRDOQ( rTu, piCoef, compID, cQP ) ) 1157 1156 { 1158 #endif1159 1157 #if ADAPTIVE_QP_SELECTION 1160 1158 xRateDistOptQuant( rTu, piCoef, pDes, pArlDes, uiAbsSum, compID, cQP ); … … 1162 1160 xRateDistOptQuant( rTu, piCoef, pDes, uiAbsSum, compID, cQP ); 1163 1161 #endif 1164 #if T0196_SELECTIVE_RDOQ1165 1162 } 1166 1163 else … … 1169 1166 uiAbsSum = 0; 1170 1167 } 1171 #endif1172 1168 } 1173 1169 else … … 1243 1239 } // for n 1244 1240 1245 if( pcCU->getSlice()->getPPS()->getSign HideFlag() )1241 if( pcCU->getSlice()->getPPS()->getSignDataHidingEnabledFlag() ) 1246 1242 { 1247 1243 if(uiAbsSum >= 2) //this prevents TUs with only one coefficient of value 1 from being tested … … 1254 1250 } 1255 1251 1256 #if T0196_SELECTIVE_RDOQ1257 1252 Bool TComTrQuant::xNeedRDOQ( TComTU &rTu, TCoeff * pSrc, const ComponentID compID, const QpParam &cQP ) 1258 1253 { … … 1310 1305 return false; 1311 1306 } 1312 #endif1313 1307 1314 1308 Void TComTrQuant::xDeQuant( TComTU &rTu, … … 1434 1428 Bool bUseRDOQ, 1435 1429 Bool bUseRDOQTS, 1436 #if T0196_SELECTIVE_RDOQ1437 1430 Bool useSelectiveRDOQ, 1438 #endif1439 1431 Bool bEnc, 1440 1432 Bool useTransformSkipFast … … 1448 1440 m_useRDOQ = bUseRDOQ; 1449 1441 m_useRDOQTS = bUseRDOQTS; 1450 #if T0196_SELECTIVE_RDOQ1451 1442 m_useSelectiveRDOQ = useSelectiveRDOQ; 1452 #endif1453 1443 #if ADAPTIVE_QP_SELECTION 1454 1444 m_bUseAdaptQpSelect = bUseAdaptQpSelect; … … 2538 2528 2539 2529 2540 if( pcCU->getSlice()->getPPS()->getSign HideFlag() && uiAbsSum>=2)2530 if( pcCU->getSlice()->getPPS()->getSignDataHidingEnabledFlag() && uiAbsSum>=2) 2541 2531 { 2542 2532 const Double inverseQuantScale = Double(g_invQuantScales[cQP.rem]);
Note: See TracChangeset for help on using the changeset viewer.