Changeset 1286 in SHVCSoftware


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

port rev 4321

Location:
branches/SHM-dev/source
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r1285 r1286  
    3636*/
    3737
     38#include <stdio.h>
    3839#include <stdlib.h>
    3940#include <cassert>
  • branches/SHM-dev/source/Lib/TLibCommon/Debug.cpp

    r1259 r1286  
    192192
    193193UInt  g_debugCounter  = 0;
    194 Bool  g_printDebug    = false;
    195 Void* g_debugAddr     = NULL;
    196194
    197195#ifdef DEBUG_ENCODER_SEARCH_BINS
  • branches/SHM-dev/source/Lib/TLibCommon/Debug.h

    r1259 r1286  
    120120//Debugging
    121121
    122 extern Bool g_bFinalEncode;
    123122extern UInt g_debugCounter;
    124 extern Bool g_printDebug;
    125 extern Void* g_debugAddr;
    126123
    127124#ifdef DEBUG_ENCODER_SEARCH_BINS
  • branches/SHM-dev/source/Lib/TLibCommon/SEI.cpp

    r1273 r1286  
    3838#include "CommonDef.h"
    3939#include "SEI.h"
    40 
    41 //Table D-7 Meaning of camera iso sensitivity indicator and exposure index rating indicator
    42 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};
    4340
    4441SEIMessages getSeisByType(SEIMessages &seiList, SEI::PayloadType seiType)
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecEntropy.cpp

    r1263 r1286  
    4444static const Bool bDebugRQT = DebugOptionList::DebugRQT.getInt()!=0;
    4545static const Bool bDebugPredEnabled = DebugOptionList::DebugPred.getInt()!=0;
    46 Bool g_bFinalEncode=true;
    4746#endif
    4847
  • 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.