Changeset 1286 in SHVCSoftware
- Timestamp:
- 17 Jul 2015, 01:01:01 (9 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1285 r1286 36 36 */ 37 37 38 #include <stdio.h> 38 39 #include <stdlib.h> 39 40 #include <cassert> -
branches/SHM-dev/source/Lib/TLibCommon/Debug.cpp
r1259 r1286 192 192 193 193 UInt g_debugCounter = 0; 194 Bool g_printDebug = false;195 Void* g_debugAddr = NULL;196 194 197 195 #ifdef DEBUG_ENCODER_SEARCH_BINS -
branches/SHM-dev/source/Lib/TLibCommon/Debug.h
r1259 r1286 120 120 //Debugging 121 121 122 extern Bool g_bFinalEncode;123 122 extern UInt g_debugCounter; 124 extern Bool g_printDebug;125 extern Void* g_debugAddr;126 123 127 124 #ifdef DEBUG_ENCODER_SEARCH_BINS -
branches/SHM-dev/source/Lib/TLibCommon/SEI.cpp
r1273 r1286 38 38 #include "CommonDef.h" 39 39 #include "SEI.h" 40 41 //Table D-7 Meaning of camera iso sensitivity indicator and exposure index rating indicator42 Int Table_exp_indicator[32] = {0, 10, 12, 16, 20, 25, 32, 40, 50, 64, 80, 100, 125, 160, 200, 250, 320, 400, 500, 640, 800, 1000, 1250, 1600, 2000, 2500, 3200, 4000, 5000, 6400, 8000, -1};43 40 44 41 SEIMessages getSeisByType(SEIMessages &seiList, SEI::PayloadType seiType) -
branches/SHM-dev/source/Lib/TLibDecoder/TDecEntropy.cpp
r1263 r1286 44 44 static const Bool bDebugRQT = DebugOptionList::DebugRQT.getInt()!=0; 45 45 static const Bool bDebugPredEnabled = DebugOptionList::DebugPred.getInt()!=0; 46 Bool g_bFinalEncode=true;47 46 #endif 48 47 -
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.