Changeset 1286 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder
- Timestamp:
- 17 Jul 2015, 01:01:01 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibEncoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncEntropy.cpp
r1260 r1286 217 217 const UInt uiDepth = rTu.GetTransformDepthTotal(); 218 218 #if ENVIRONMENT_VARIABLE_DEBUG_AND_TEST 219 const Bool bDebugRQT= g_bFinalEncode&& DebugOptionList::DebugRQT.getInt()!=0;219 const Bool bDebugRQT=pcCU->getSlice()->getFinalized() && DebugOptionList::DebugRQT.getInt()!=0; 220 220 if (bDebugRQT) 221 221 { … … 421 421 422 422 #if ENVIRONMENT_VARIABLE_DEBUG_AND_TEST 423 if (bDebugPredEnabled && g_bFinalEncode)423 if (bDebugPredEnabled && pcCU->getSlice()->getFinalized()) 424 424 { 425 425 UInt cdir=pcCU->getIntraDir(CHANNEL_TYPE_CHROMA, uiAbsPartIdx); … … 467 467 { 468 468 #if ENVIRONMENT_VARIABLE_DEBUG_AND_TEST 469 const Bool bDebugPred = bDebugPredEnabled && g_bFinalEncode;469 const Bool bDebugPred = bDebugPredEnabled && pcCU->getSlice()->getFinalized(); 470 470 #endif 471 471 … … 625 625 { 626 626 #if ENVIRONMENT_VARIABLE_DEBUG_AND_TEST 627 const Bool bDebugRQT= g_bFinalEncode&& DebugOptionList::DebugRQT.getInt()!=0;627 const Bool bDebugRQT=pcCU->getSlice()->getFinalized() && DebugOptionList::DebugRQT.getInt()!=0; 628 628 #endif 629 629 -
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1280 r1286 58 58 using namespace std; 59 59 60 #if ENVIRONMENT_VARIABLE_DEBUG_AND_TEST61 Bool g_bFinalEncode = false;62 #endif63 64 65 60 //! \ingroup TLibEncoder 66 61 //! \{ … … 2605 2600 pcSlice->setFinalized(true); 2606 2601 2607 #if ENVIRONMENT_VARIABLE_DEBUG_AND_TEST2608 g_bFinalEncode = true;2609 #endif2610 2611 2602 pcSlice->clearSubstreamSizes( ); 2612 2603 { … … 2615 2606 binCountsInNalUnits+=numBinsCoded; 2616 2607 } 2617 2618 #if ENVIRONMENT_VARIABLE_DEBUG_AND_TEST2619 g_bFinalEncode = false;2620 #endif2621 2608 2622 2609 { -
branches/SHM-dev/source/Lib/TLibEncoder/TEncSbac.cpp
r1285 r1286 1538 1538 } 1539 1539 #if ENVIRONMENT_VARIABLE_DEBUG_AND_TEST 1540 printSBACCoeffData(posLastX, posLastY, uiWidth, uiHeight, compID, uiAbsPartIdx, codingParameters.scanType, pcCoef, g_bFinalEncode);1540 printSBACCoeffData(posLastX, posLastY, uiWidth, uiHeight, compID, uiAbsPartIdx, codingParameters.scanType, pcCoef, pcCU->getSlice()->getFinalized()); 1541 1541 #endif 1542 1542
Note: See TracChangeset for help on using the changeset viewer.