Changeset 1374 in 3DVCSoftware for branches/HTM-15.2-dev/source/App


Ignore:
Timestamp:
9 Nov 2015, 21:13:05 (9 years ago)
Author:
tech
Message:

Macro cleanups.

Location:
branches/HTM-15.2-dev/source/App
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-15.2-dev/source/App/TAppDecoder/TAppDecCfg.cpp

    r1373 r1374  
    109109  ("ForceDecodeBitDepth",       m_forceDecodeBitDepth,                 0U,         "Force the decoder to operate at a particular bit-depth (best effort decoding)")
    110110#endif
    111 #if NH_MV_SEI
     111#if NH_MV
    112112  ("OutputDecodedSEIMessagesFilename,m",  m_outputDecodedSEIMessagesFilename,    string(""), "When non empty, output decoded SEI messages to the indicated file. If file is '-', then output to stdout\n")
    113113#else
  • branches/HTM-15.2-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r1373 r1374  
    205205
    206206
    207 #if NH_MV_SEI
     207#if NH_MV
    208208Void TAppEncCfg::xParseSeiCfg()
    209209{
     
    12761276  ("SEIMasteringDisplayWhitePoint",                   cfg_DisplayWhitePointCode,     cfg_DisplayWhitePointCode, "Mastering display white point CIE xy coordinates in normalised increments of 1/50000 (e.g. 0.333 = 16667)")
    12771277#if NH_MV
    1278 #if !NH_MV_SEI
    1279   ("SubBitstreamPropSEIEnabled",                      m_subBistreamPropSEIEnabled,    false                     ,"Enable signaling of sub-bitstream property SEI message")
    1280   ("SEISubBitstreamNumAdditionalSubStreams",          m_sbPropNumAdditionalSubStreams,0                         ,"Number of substreams for which additional information is signalled")
    1281   ("SEISubBitstreamSubBitstreamMode",                 m_sbPropSubBitstreamMode,       IntAry1d (1,0)            ,"Specifies mode of generation of the i-th sub-bitstream (0 or 1)")
    1282   ("SEISubBitstreamOutputLayerSetIdxToVps",           m_sbPropOutputLayerSetIdxToVps, IntAry1d (1,0)            ,"Specifies output layer set index of the i-th sub-bitstream ")
    1283   ("SEISubBitstreamHighestSublayerId",                m_sbPropHighestSublayerId,      IntAry1d (1,0)            ,"Specifies highest TemporalId of the i-th sub-bitstream")
    1284   ("SEISubBitstreamAvgBitRate",                       m_sbPropAvgBitRate,             IntAry1d (1,0)            ,"Specifies average bit rate of the i-th sub-bitstream")
    1285   ("SEISubBitstreamMaxBitRate",                       m_sbPropMaxBitRate,             IntAry1d (1,0)            ,"Specifies maximum bit rate of the i-th sub-bitstream")
    1286 #else
    12871278  ("SeiCfgFileName_%d",                               m_seiCfgFileNames,             (TChar *) 0 ,MAX_NUM_SEIS , "SEI cfg file name %d")
    1288 #endif
    12891279  ("OutputVpsInfo",                                   m_outputVpsInfo,                false                     ,"Output information about the layer dependencies and layer sets")
    12901280
     
    19421932  }
    19431933
    1944 #if NH_MV_SEI
     1934#if NH_MV
    19451935  xParseSeiCfg();
    19461936#endif
     
    33293319  }
    33303320  }
    3331 #if !NH_MV_SEI
    3332   // Check input parameters for Sub-bitstream property SEI message
    3333   if( m_subBistreamPropSEIEnabled )
    3334   {
    3335     xConfirmPara(
    3336       (this->m_sbPropNumAdditionalSubStreams != m_sbPropAvgBitRate.size() )
    3337       || (this->m_sbPropNumAdditionalSubStreams != m_sbPropHighestSublayerId.size() )
    3338       || (this->m_sbPropNumAdditionalSubStreams != m_sbPropMaxBitRate.size() )
    3339       || (this->m_sbPropNumAdditionalSubStreams != m_sbPropOutputLayerSetIdxToVps.size() )
    3340       || (this->m_sbPropNumAdditionalSubStreams != m_sbPropSubBitstreamMode.size()), "Some parameters of some sub-bitstream not defined");
    3341 
    3342     for( Int i = 0; i < m_sbPropNumAdditionalSubStreams; i++ )
    3343     {
    3344       xConfirmPara( m_sbPropSubBitstreamMode[i] < 0 || m_sbPropSubBitstreamMode[i] > 1, "Mode value should be 0 or 1" );
    3345       xConfirmPara( m_sbPropHighestSublayerId[i] < 0 || m_sbPropHighestSublayerId[i] > MAX_TLAYER-1, "Maximum sub-layer ID out of range" );
    3346       xConfirmPara( m_sbPropOutputLayerSetIdxToVps[i] < 0 || m_sbPropOutputLayerSetIdxToVps[i] >= MAX_VPS_OUTPUTLAYER_SETS, "OutputLayerSetIdxToVps should be within allowed range" );
    3347     }
    3348   }
    3349 #endif
    33503321#endif
    33513322
  • branches/HTM-15.2-dev/source/App/TAppEncoder/TAppEncCfg.h

    r1373 r1374  
    258258#endif
    259259  TComSEIMasteringDisplay m_masteringDisplay;
    260 #if NH_MV_SEI
     260#if NH_MV
    261261  std::vector<char*>     m_seiCfgFileNames;               ///< SEI message files.
    262262  SEIMessages            m_seiMessages;                       ///< Buffer for SEI messages.
     
    523523  UInt        m_summaryVerboseness;                           ///< Specifies the level of the verboseness of the text output.
    524524#if NH_MV
    525 #if !NH_MV_SEI
    526   Bool              m_subBistreamPropSEIEnabled;
    527   Int               m_sbPropNumAdditionalSubStreams;
    528   IntAry1d          m_sbPropSubBitstreamMode;
    529   IntAry1d          m_sbPropOutputLayerSetIdxToVps;
    530   IntAry1d          m_sbPropHighestSublayerId;
    531   IntAry1d          m_sbPropAvgBitRate;
    532   IntAry1d          m_sbPropMaxBitRate;
    533 #endif
    534525  Bool              m_outputVpsInfo;
    535526  TChar*            m_pchBaseViewCameraNumbers;
     
    676667  Void xPrintVectorElem( Double elem ) { printf(" %5.2f", elem            );}; 
    677668  Void xPrintVectorElem( Bool   elem ) { printf(" %d"   , ( elem ? 1 : 0 ));};
    678 #if NH_MV_SEI
    679669  Void xParseSeiCfg();
    680 #endif
    681 #endif
    682 #if NH_MV
     670
    683671  Int   getGOPSize() { return m_iGOPSize; }
    684672#endif
  • branches/HTM-15.2-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1373 r1374  
    606606  m_cTEncTop.setSOPDescriptionSEIEnabled                          ( m_SOPDescriptionSEIEnabled );
    607607  m_cTEncTop.setScalableNestingSEIEnabled                         ( m_scalableNestingSEIEnabled );
    608 #if NH_MV
    609 #if !NH_MV_SEI
    610   m_cTEncTop.setSubBitstreamPropSEIEnabled                        ( m_subBistreamPropSEIEnabled );
    611   if( m_subBistreamPropSEIEnabled )                               
    612   {                                                               
    613     m_cTEncTop.setNumAdditionalSubStreams                         ( m_sbPropNumAdditionalSubStreams );
    614     m_cTEncTop.setSubBitstreamMode                                ( m_sbPropSubBitstreamMode );
    615     m_cTEncTop.setOutputLayerSetIdxToVps                          ( m_sbPropOutputLayerSetIdxToVps );
    616     m_cTEncTop.setHighestSublayerId                               ( m_sbPropHighestSublayerId );
    617     m_cTEncTop.setAvgBitRate                                      ( m_sbPropAvgBitRate );
    618     m_cTEncTop.setMaxBitRate                                      ( m_sbPropMaxBitRate );
    619   }
    620 #endif
    621 #endif
    622 
    623608  m_cTEncTop.setTMCTSSEIEnabled                                   ( m_tmctsSEIEnabled );
    624609  m_cTEncTop.setTimeCodeSEIEnabled                                ( m_timeCodeSEIEnabled );
     
    642627  m_cTEncTop.setMasteringDisplaySEI                               ( m_masteringDisplay );
    643628
    644 #if NH_MV_SEI
     629#if NH_MV
    645630  m_cTEncTop.setSeiMessages                                       ( &m_seiMessages );
    646631#endif
     
    11731158  printRateSummary();
    11741159
    1175 #if H_3D_REN_MAX_DEV_OUT
     1160#if NH_3D_REN_MAX_DEV_OUT
    11761161  Double dMaxDispDiff = m_cCameraData.getMaxShiftDeviation();
    11771162
  • branches/HTM-15.2-dev/source/App/TAppRenderer/TAppRendererTop.cpp

    r1373 r1374  
    488488  }
    489489
    490 #if H_3D_REN_MAX_DEV_OUT
     490#if NH_3D_REN_MAX_DEV_OUT
    491491  Double dMaxDispDiff = m_cCameraData.getMaxShiftDeviation();
    492492
Note: See TracChangeset for help on using the changeset viewer.