Changeset 1286 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
17 Jul 2015, 01:01:01 (10 years ago)
Author:
seregin
Message:

port rev 4321

Location:
branches/SHM-dev/source/Lib/TLibEncoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncEntropy.cpp

    r1260 r1286  
    217217  const UInt uiDepth = rTu.GetTransformDepthTotal();
    218218#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;
    220220  if (bDebugRQT)
    221221  {
     
    421421
    422422#if ENVIRONMENT_VARIABLE_DEBUG_AND_TEST
    423   if (bDebugPredEnabled && g_bFinalEncode)
     423  if (bDebugPredEnabled && pcCU->getSlice()->getFinalized())
    424424  {
    425425    UInt cdir=pcCU->getIntraDir(CHANNEL_TYPE_CHROMA, uiAbsPartIdx);
     
    467467{
    468468#if ENVIRONMENT_VARIABLE_DEBUG_AND_TEST
    469   const Bool bDebugPred = bDebugPredEnabled && g_bFinalEncode;
     469  const Bool bDebugPred = bDebugPredEnabled && pcCU->getSlice()->getFinalized();
    470470#endif
    471471
     
    625625{
    626626#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;
    628628#endif
    629629
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r1280 r1286  
    5858using namespace std;
    5959
    60 #if ENVIRONMENT_VARIABLE_DEBUG_AND_TEST
    61 Bool g_bFinalEncode = false;
    62 #endif
    63 
    64 
    6560//! \ingroup TLibEncoder
    6661//! \{
     
    26052600      pcSlice->setFinalized(true);
    26062601
    2607 #if ENVIRONMENT_VARIABLE_DEBUG_AND_TEST
    2608       g_bFinalEncode = true;
    2609 #endif
    2610 
    26112602      pcSlice->clearSubstreamSizes(  );
    26122603      {
     
    26152606        binCountsInNalUnits+=numBinsCoded;
    26162607      }
    2617 
    2618 #if ENVIRONMENT_VARIABLE_DEBUG_AND_TEST
    2619       g_bFinalEncode = false;
    2620 #endif
    26212608
    26222609      {
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncSbac.cpp

    r1285 r1286  
    15381538  }
    15391539#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());
    15411541#endif
    15421542
Note: See TracChangeset for help on using the changeset viewer.