Changeset 1373 in 3DVCSoftware


Ignore:
Timestamp:
6 Nov 2015, 16:18:36 (8 years ago)
Author:
tech
Message:

Macro fixes.

Location:
branches/HTM-15.2-dev
Files:
2 added
51 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-15.2-dev/cfg/MV-HEVC/seqCfg_Balloons.cfg

    r608 r1373  
    55FrameRate                 : 30                                     # frame rate in frames per second
    66FramesToBeEncoded         : 300                                    # number of frames to be coded
    7 #BaseViewCameraNumbers     : 3 1 5                                  # camera numbers of coded views (in coding order)
     7BaseViewCameraNumbers     : 3 1 5                                  # camera numbers of coded views (in coding order)
    88
  • branches/HTM-15.2-dev/cfg/MV-HEVC/seqCfg_GhostTownFly.cfg

    r608 r1373  
    55FrameRate                 : 25                                     # frame rate in frames per second
    66FramesToBeEncoded         : 250                                    # number of frames to be coded
    7 #BaseViewCameraNumbers     : 5 9 1                                  # camera numbers of coded views (in coding order)
     7BaseViewCameraNumbers     : 5 9 1                                  # camera numbers of coded views (in coding order)
    88
  • branches/HTM-15.2-dev/cfg/MV-HEVC/seqCfg_Kendo.cfg

    r608 r1373  
    55FrameRate                 : 30                                     # frame rate in frames per second
    66FramesToBeEncoded         : 300                                    # number of frames to be coded
    7 #BaseViewCameraNumbers     : 3 1 5                                  # camera numbers of coded views (in coding order)
     7BaseViewCameraNumbers     : 3 1 5                                  # camera numbers of coded views (in coding order)
    88
  • branches/HTM-15.2-dev/cfg/MV-HEVC/seqCfg_Newspaper.cfg

    r608 r1373  
    55FrameRate                 : 30                                     # frame rate in frames per second
    66FramesToBeEncoded         : 300                                    # number of frames to be coded
    7 #BaseViewCameraNumbers     : 4 2 6                                  # camera numbers of coded views (in coding order)
     7BaseViewCameraNumbers     : 4 2 6                                  # camera numbers of coded views (in coding order)
    88
  • branches/HTM-15.2-dev/cfg/MV-HEVC/seqCfg_PoznanHall2.cfg

    r608 r1373  
    55FrameRate                 : 25                                     # frame rate in frames per second
    66FramesToBeEncoded         : 200                                    # number of frames to be coded
    7 #BaseViewCameraNumbers     : 6 7 5                                  # camera numbers of coded views (in coding order)
     7BaseViewCameraNumbers     : 6 7 5                                  # camera numbers of coded views (in coding order)
    88
  • branches/HTM-15.2-dev/cfg/MV-HEVC/seqCfg_PoznanStreet.cfg

    r608 r1373  
    55FrameRate                 : 25                                     # frame rate in frames per second
    66FramesToBeEncoded         : 250                                    # number of frames to be coded
    7 #BaseViewCameraNumbers     : 4 5 3                                  # camera numbers of coded views (in coding order)
     7BaseViewCameraNumbers     : 4 5 3                                  # camera numbers of coded views (in coding order)
    88
  • branches/HTM-15.2-dev/cfg/MV-HEVC/seqCfg_Shark.cfg

    r608 r1373  
    55FrameRate                 : 30                                     # frame rate in frames per second
    66FramesToBeEncoded         : 300                                    # number of frames to be coded
    7 #BaseViewCameraNumbers    : 5 9 1                                  # camera numbers of coded views (in coding order)
     7BaseViewCameraNumbers    : 5 9 1                                  # camera numbers of coded views (in coding order)
    88
  • branches/HTM-15.2-dev/cfg/MV-HEVC/seqCfg_UndoDancer.cfg

    r608 r1373  
    55FrameRate                 : 25                                     # frame rate in frames per second
    66FramesToBeEncoded         : 250                                    # number of frames to be coded
    7 #BaseViewCameraNumbers     : 5 1 9                                  # camera numbers of coded views (in coding order)
     7BaseViewCameraNumbers     : 5 1 9                                  # camera numbers of coded views (in coding order)
    88
  • branches/HTM-15.2-dev/source/App/TAppDecoder/TAppDecCfg.cpp

    r1370 r1373  
    9090  ("OutputColourSpaceConvert",  outputColourSpaceConvert,              string(""), "Colour space conversion to apply to input 444 video. Permitted values are (empty string=UNCHANGED) " + getListOfColourSpaceConverts(false))
    9191#if NH_MV
    92   ("TargetOptLayerSetIdx,x",    m_targetOptLayerSetIdx,                -1,        "Target output layer set index. (default: -1, determine automatically to be equal to highest layer set index") // Should actually equal to 0 as default. However, this would cause only the base layer to be decoded. 
     92  ("TargetOptLayerSetIdx,x", m_targetOptLayerSetInd, std::vector<Int>(1,-1), "Target output layer set index. (default: -1, determine automatically to be equal to highest layer set index") // Should actually equal to 0 as default. However, this would cause only the base layer to be decoded. 
    9393#endif
    9494  ("MaxTemporalLayer,t",        m_iMaxTemporalLayer,                   -1,         "Maximum Temporal Layer to be decoded. -1 to decode all layers")
  • branches/HTM-15.2-dev/source/App/TAppDecoder/TAppDecCfg.h

    r1360 r1373  
    8181  std::vector<TChar*> m_pchReconFiles;                ///< array of output reconstruction file name create from output reconstruction file name
    8282
    83   Int           m_targetOptLayerSetIdx;               ///< target output layer set index
     83  std::vector<Int> m_targetOptLayerSetInd;            ///< target output layer set indices (multiple decoding when more than one element, e.g. for additional layer sets)
     84  Int           m_targetOptLayerSetIdx;               ///< current target output layer set index
     85
    8486  Int           m_targetDecLayerSetIdx;
    8587  Int           m_baseLayerOutputFlag;
     
    138140
    139141  Bool  parseCfg        ( Int argc, TChar* argv[] );   ///< initialize option class from configuration
     142#if NH_MV
     143  Int   getNumDecodings ( ) { return (Int) m_targetOptLayerSetInd.size();  };
     144#endif
    140145};
    141146
  • branches/HTM-15.2-dev/source/App/TAppDecoder/TAppDecTop.cpp

    r1360 r1373  
    152152 .
    153153 */
    154 
    155154#if NH_MV
    156 Void TAppDecTop::decode()
    157 {
     155Void TAppDecTop::decode( Int num )
     156{
     157  m_targetOptLayerSetIdx = m_targetOptLayerSetInd[ num ];
    158158  // create & initialize internal classes
    159159  xInitFileIO  ();
     
    213213
    214214#if !NH_MV
    215 Void TAppDecTop::decode()
     215Void TAppDecTop::decode( )
    216216{
    217217  Int                 poc;
     
    10921092    m_newVpsActivatedbyCurAu  = true; //TBD
    10931093    m_newVpsActivatedbyCurPic = true;
    1094 #if NH_3D
     1094#if NH_3D_VSO
    10951095    m_dpb.setVPS( m_vps );
    10961096#endif
     
    12561256  }
    12571257
    1258   if ( m_printVpsInfo  && ( m_decProcCvsg == ANNEX_F ) )
     1258  if ( m_printVpsInfo  && ( m_decProcCvsg == ANNEX_F ) && ( m_targetOptLayerSetIdx == m_targetOptLayerSetInd[ 0 ] ) )
    12591259  {
    12601260    m_vps->printScalabilityId();
     
    20032003      // - After all slices of the current picture have been decoded, the decoding process for ending the decoding of a
    20042004      //   coded picture with nuh_layer_id greater than 0 specified in clause F.8.1.6 is invoked.
    2005       xF816decProcEndDecOfCodPicLIdGrtZero( );
     2005      xF816decProcEndDecOfCodPicLIdGrtZero( );     
    20062006    }
    20072007
  • branches/HTM-15.2-dev/source/App/TAppDecoder/TAppDecTop.h

    r1360 r1373  
    137137  Void  create            (); ///< create internal members
    138138  Void  destroy           (); ///< destroy internal members
    139   Void  decode            (); ///< main decoding function
     139 
    140140#if NH_MV
     141  Void  decode            ( Int i ); ///< main decoding function
    141142  UInt  getNumberOfChecksumErrorsDetected( ) const;
    142143  UInt  getNumberOfChecksumErrorsDetected( Int decIdx ) const { return m_tDecTop[decIdx]->getNumberOfChecksumErrorsDetected(); }
    143144#else
     145  Void  decode            ( ); ///< main decoding function
    144146  UInt  getNumberOfChecksumErrorsDetected() const { return m_cTDecTop.getNumberOfChecksumErrorsDetected(); }
    145147#endif
  • branches/HTM-15.2-dev/source/App/TAppDecoder/decmain.cpp

    r1313 r1373  
    5151{
    5252  Int returnCode = EXIT_SUCCESS;
     53#if !NH_MV
    5354  TAppDecTop  cTAppDecTop;
    54 
     55#endif
    5556  // print information
    5657  fprintf( stdout, "\n" );
     
    6566  fprintf( stdout, "\n" );
    6667
    67   // create application decoder class
    68   cTAppDecTop.create();
     68#if NH_MV
     69  Int numDecodings = 1;
     70  Int curDecoding  = 0;
     71  Double dResult = 0;
     72  do {
     73    TAppDecTop  cTAppDecTop;
     74#endif
     75    // create application decoder class
     76    cTAppDecTop.create();
    6977
    70   // parse configuration
    71   if(!cTAppDecTop.parseCfg( argc, argv ))
    72   {
    73     cTAppDecTop.destroy();
    74     returnCode = EXIT_FAILURE;
    75     return returnCode;
    76   }
     78    // parse configuration
     79    if(!cTAppDecTop.parseCfg( argc, argv ))
     80    {
     81      cTAppDecTop.destroy();
     82      returnCode = EXIT_FAILURE;
     83      return returnCode;
     84    }
     85#if NH_MV
     86    numDecodings = cTAppDecTop.getNumDecodings();
     87#endif
    7788
    78   // starting time
     89    // starting time   
     90#if !NH_MV
    7991  Double dResult;
    80   clock_t lBefore = clock();
     92#endif
     93    clock_t lBefore = clock();
    8194
    82   // call decoding function
    83   cTAppDecTop.decode();
     95    // call decoding function
     96#if NH_MV
     97    cTAppDecTop.decode( curDecoding );
     98#else
     99    cTAppDecTop.decode();
     100#endif
    84101
    85   if (cTAppDecTop.getNumberOfChecksumErrorsDetected() != 0)
    86   {
    87     printf("\n\n***ERROR*** A decoding mismatch occured: signalled md5sum does not match\n");
    88     returnCode = EXIT_FAILURE;
    89   }
     102    if (cTAppDecTop.getNumberOfChecksumErrorsDetected() != 0)
     103    {
     104      printf("\n\n***ERROR*** A decoding mismatch occured: signalled md5sum does not match\n");
     105      returnCode = EXIT_FAILURE;
     106    }
    90107
    91   // ending time
     108    // ending time
     109#if NH_MV
     110    dResult += (double)(clock()-lBefore) / CLOCKS_PER_SEC;
     111#else
    92112  dResult = (Double)(clock()-lBefore) / CLOCKS_PER_SEC;
    93113  printf("\n Total Time: %12.3f sec.\n", dResult);
     114#endif
    94115
    95   // destroy application decoder class
    96   cTAppDecTop.destroy();
     116    // destroy application decoder class
     117    cTAppDecTop.destroy();
     118#if NH_MV
     119    curDecoding++;
     120  }
     121  while ( curDecoding < numDecodings );
    97122
     123  printf("\n Total Time: %12.3f sec.\n", dResult);
     124#endif
    98125  return returnCode;
    99126}
  • branches/HTM-15.2-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r1362 r1373  
    177177    }
    178178  }
    179 #endif
    180 
    181 #if NH_3D
     179
     180  if ( m_pchBaseViewCameraNumbers != NULL )
     181  {
     182    free ( m_pchBaseViewCameraNumbers );
     183  }
     184#endif
    182185#if NH_3D_VSO
    183186  if (  m_pchVSOConfig != NULL)
     
    185188    free (  m_pchVSOConfig );
    186189  }
    187 #endif
     190 
    188191  if ( m_pchCameraParameterFile != NULL )
    189192  {
    190193    free ( m_pchCameraParameterFile );
    191   }
    192 
    193   if ( m_pchBaseViewCameraNumbers != NULL )
    194   {
    195     free ( m_pchBaseViewCameraNumbers );
    196194  }
    197195#endif
     
    818816  ("ViewId",                         m_viewId                      , IntAry1d(1,0),                                 "View Id per View Order Index")
    819817  ("AuxId",                          m_auxId                       , IntAry1d(1,0),                                 "AuxId per layer")
    820 #if NH_3D
     818#if NH_3D_VSO
    821819  ("DepthFlag",                      m_depthFlag                   , IntAry1d(1,0),                                 "Depth Flag")
    822820#endif
     
    11071105// A lot of this stuff could should actually be derived by the encoder.
    11081106  // VPS VUI
    1109   ("VpsVuiPresentFlag"           , m_vpsVuiPresentFlag           , false                                           , "VpsVuiPresentFlag           ")
    1110   ("CrossLayerPicTypeAlignedFlag", m_crossLayerPicTypeAlignedFlag, false                                           , "CrossLayerPicTypeAlignedFlag")  // Could actually be derived by the encoder
    1111   ("CrossLayerIrapAlignedFlag"   , m_crossLayerIrapAlignedFlag   , false                                           , "CrossLayerIrapAlignedFlag   ")  // Could actually be derived by the encoder
    1112   ("AllLayersIdrAlignedFlag"     , m_allLayersIdrAlignedFlag     , false                                           , "CrossLayerIrapAlignedFlag   ")  // Could actually be derived by the encoder
    1113   ("BitRatePresentVpsFlag"       , m_bitRatePresentVpsFlag       , false                                           , "BitRatePresentVpsFlag       ")
    1114   ("PicRatePresentVpsFlag"       , m_picRatePresentVpsFlag       , false                                           , "PicRatePresentVpsFlag       ")
    1115   ("BitRatePresentFlag"          , m_bitRatePresentFlag          , BoolAry1d(1,0)  ,MAX_VPS_OP_SETS_PLUS1, "BitRatePresentFlag per sub layer for the N-th layer set")
    1116   ("PicRatePresentFlag"          , m_picRatePresentFlag          , BoolAry1d(1,0)  ,MAX_VPS_OP_SETS_PLUS1, "PicRatePresentFlag per sub layer for the N-th layer set")
    1117   ("AvgBitRate"                  , m_avgBitRate                   , IntAry1d (1,0), MAX_VPS_OP_SETS_PLUS1, "AvgBitRate         per sub layer for the N-th layer set")
    1118   ("MaxBitRate"                  , m_maxBitRate                   , IntAry1d (1,0), MAX_VPS_OP_SETS_PLUS1, "MaxBitRate         per sub layer for the N-th layer set")
    1119   ("ConstantPicRateIdc"          , m_constantPicRateIdc           , IntAry1d (1,0), MAX_VPS_OP_SETS_PLUS1, "ConstantPicRateIdc per sub layer for the N-th layer set")
    1120   ("AvgPicRate"                  , m_avgPicRate                   , IntAry1d (1,0), MAX_VPS_OP_SETS_PLUS1, "AvgPicRate         per sub layer for the N-th layer set")
    1121   ("TilesNotInUseFlag"            , m_tilesNotInUseFlag            , true                                          , "TilesNotInUseFlag            ")
     1107  ("VpsVuiPresentFlag"            , m_vpsVuiPresentFlag            , false                                , "VpsVuiPresentFlag           ")
     1108  ("CrossLayerPicTypeAlignedFlag" , m_crossLayerPicTypeAlignedFlag , false                                , "CrossLayerPicTypeAlignedFlag")  // Could actually be derived by the encoder
     1109  ("CrossLayerIrapAlignedFlag"    , m_crossLayerIrapAlignedFlag    , false                                , "CrossLayerIrapAlignedFlag   ")  // Could actually be derived by the encoder
     1110  ("AllLayersIdrAlignedFlag"      , m_allLayersIdrAlignedFlag      , false                                , "CrossLayerIrapAlignedFlag   ")  // Could actually be derived by the encoder
     1111  ("BitRatePresentVpsFlag"        , m_bitRatePresentVpsFlag        , false                                , "BitRatePresentVpsFlag       ")
     1112  ("PicRatePresentVpsFlag"        , m_picRatePresentVpsFlag        , false                                , "PicRatePresentVpsFlag       ")
     1113  ("BitRatePresentFlag"           , m_bitRatePresentFlag           , BoolAry1d(1,0), MAX_VPS_OP_SETS_PLUS1, "BitRatePresentFlag per sub layer for the N-th layer set")
     1114  ("PicRatePresentFlag"           , m_picRatePresentFlag           , BoolAry1d(1,0), MAX_VPS_OP_SETS_PLUS1, "PicRatePresentFlag per sub layer for the N-th layer set")
     1115  ("AvgBitRate"                   , m_avgBitRate                   , IntAry1d (1,0), MAX_VPS_OP_SETS_PLUS1, "AvgBitRate         per sub layer for the N-th layer set")
     1116  ("MaxBitRate"                   , m_maxBitRate                   , IntAry1d (1,0), MAX_VPS_OP_SETS_PLUS1, "MaxBitRate         per sub layer for the N-th layer set")
     1117  ("ConstantPicRateIdc"           , m_constantPicRateIdc           , IntAry1d (1,0), MAX_VPS_OP_SETS_PLUS1, "ConstantPicRateIdc per sub layer for the N-th layer set")
     1118  ("AvgPicRate"                   , m_avgPicRate                   , IntAry1d (1,0), MAX_VPS_OP_SETS_PLUS1, "AvgPicRate         per sub layer for the N-th layer set")
     1119  ("TilesNotInUseFlag"            , m_tilesNotInUseFlag            , true                                 , "TilesNotInUseFlag            ")
    11221120  ("TilesInUseFlag"               , m_tilesInUseFlag               , BoolAry1d(1,false)                   , "TilesInUseFlag               ")
    1123   ("LoopFilterNotAcrossTilesFlag" , m_loopFilterNotAcrossTilesFlag , BoolAry1d(1,false)                  , "LoopFilterNotAcrossTilesFlag ")
    1124   ("WppNotInUseFlag"              , m_wppNotInUseFlag              , true                                          , "WppNotInUseFlag              ")
    1125   ("WppInUseFlag"                 , m_wppInUseFlag                 , BoolAry1d(1,0)                      , "WppInUseFlag                 ")
    1126   ("TileBoundariesAlignedFlag"   , m_tileBoundariesAlignedFlag   , BoolAry1d(1,0)  ,MAX_NUM_LAYERS       , "TileBoundariesAlignedFlag    per direct reference for the N-th layer")
    1127   ("IlpRestrictedRefLayersFlag"  , m_ilpRestrictedRefLayersFlag  , false                                           , "IlpRestrictedRefLayersFlag")
    1128   ("MinSpatialSegmentOffsetPlus1", m_minSpatialSegmentOffsetPlus1 , IntAry1d (1,0), MAX_NUM_LAYERS       , "MinSpatialSegmentOffsetPlus1 per direct reference for the N-th layer")
    1129   ("CtuBasedOffsetEnabledFlag"   , m_ctuBasedOffsetEnabledFlag   , BoolAry1d(1,0)  ,MAX_NUM_LAYERS       , "CtuBasedOffsetEnabledFlag    per direct reference for the N-th layer")
    1130   ("MinHorizontalCtuOffsetPlus1" , m_minHorizontalCtuOffsetPlus1  , IntAry1d (1,0), MAX_NUM_LAYERS       , "MinHorizontalCtuOffsetPlus1  per direct reference for the N-th layer")
    1131   ("SingleLayerForNonIrapFlag", m_singleLayerForNonIrapFlag, false                                          , "SingleLayerForNonIrapFlag")
    1132   ("HigherLayerIrapSkipFlag"  , m_higherLayerIrapSkipFlag  , false                                          , "HigherLayerIrapSkipFlag  ")
     1121  ("LoopFilterNotAcrossTilesFlag" , m_loopFilterNotAcrossTilesFlag , BoolAry1d(1,false)                   , "LoopFilterNotAcrossTilesFlag ")
     1122  ("WppNotInUseFlag"              , m_wppNotInUseFlag              , true                                 , "WppNotInUseFlag              ")
     1123  ("WppInUseFlag"                 , m_wppInUseFlag                 , BoolAry1d(1,0)                       , "WppInUseFlag                 ")
     1124  ("TileBoundariesAlignedFlag"    , m_tileBoundariesAlignedFlag    , BoolAry1d(1,0)  ,MAX_NUM_LAYERS      , "TileBoundariesAlignedFlag    per direct reference for the N-th layer")
     1125  ("IlpRestrictedRefLayersFlag"   , m_ilpRestrictedRefLayersFlag   , false                                , "IlpRestrictedRefLayersFlag")
     1126  ("MinSpatialSegmentOffsetPlus1" , m_minSpatialSegmentOffsetPlus1 , IntAry1d (1,0), MAX_NUM_LAYERS       , "MinSpatialSegmentOffsetPlus1 per direct reference for the N-th layer")
     1127  ("CtuBasedOffsetEnabledFlag"    , m_ctuBasedOffsetEnabledFlag    , BoolAry1d(1,0)  ,MAX_NUM_LAYERS      , "CtuBasedOffsetEnabledFlag    per direct reference for the N-th layer")
     1128  ("MinHorizontalCtuOffsetPlus1"  , m_minHorizontalCtuOffsetPlus1  , IntAry1d (1,0), MAX_NUM_LAYERS       , "MinHorizontalCtuOffsetPlus1  per direct reference for the N-th layer")
     1129  ("SingleLayerForNonIrapFlag"    , m_singleLayerForNonIrapFlag    , false                                , "SingleLayerForNonIrapFlag")
     1130  ("HigherLayerIrapSkipFlag"      , m_higherLayerIrapSkipFlag      , false                                , "HigherLayerIrapSkipFlag  ")
    11331131#endif
    11341132
     
    12901288#endif
    12911289  ("OutputVpsInfo",                                   m_outputVpsInfo,                false                     ,"Output information about the layer dependencies and layer sets")
     1290
     1291/* Camera parameters */   
     1292  ("BaseViewCameraNumbers",                           m_pchBaseViewCameraNumbers,   (TChar *) 0                 , "Numbers of base views")
    12921293#endif
    12931294#if NH_3D
    1294 /* Camera parameters */ 
    12951295  ("Depth420OutputFlag",                              m_depth420OutputFlag,           true                     , "Output depth layers in 4:2:0 ")
     1296#endif
     1297#if NH_3D_VSO 
    12961298  ("CameraParameterFile,cpf",                         m_pchCameraParameterFile,    (TChar *) 0                 , "Camera Parameter File Name")
    1297   ("BaseViewCameraNumbers",                           m_pchBaseViewCameraNumbers,  (TChar *) 0                 , "Numbers of base views")
    12981299  ("CodedCamParsPrecision",                           m_iCodedCamParPrecision,      STD_CAM_PARAMETERS_PRECISION, "precision for coding of camera parameters (in units of 2^(-x) luma samples)" )
    12991300
    1300 #if NH_3D_VSO
    13011301  /* View Synthesis Optimization */
    13021302  ("VSOConfig",                                       m_pchVSOConfig            , (TChar *) 0                   ,"VSO configuration")
     
    13171317#endif //HHI_VSO
    13181318/* 3D- HEVC Tools */                                                           
     1319#if NH_3D_QTL
    13191320  ("QTL"                   ,                          m_bUseQTL                 , true                          , "Use depth quad tree limitation (encoder only)" )
     1321#endif
     1322#if NH_3D
     1323
    13201324  ("IvMvPredFlag"          ,                          m_ivMvPredFlag            , BoolAry1d(2,true)             , "Inter-view motion prediction"              )
    13211325  ("IvMvScalingFlag"       ,                          m_ivMvScalingFlag         , BoolAry1d(2,true)             , "Inter-view motion vector scaling"          )
     
    18131817  xResizeVector( m_auxId );
    18141818
    1815 #if NH_3D
     1819#if NH_3D_VSO
    18161820  xResizeVector( m_depthFlag );
    18171821#endif
     
    20222026  }
    20232027
    2024 #if NH_3D
     2028
    20252029#if NH_3D_VSO
    20262030  // Table base optimization
     
    20392043    for (Int layer = 0; layer < m_numberOfLayers; layer++ )
    20402044    {
    2041       if ( m_depthFlag[ layer ])
     2045      if ( m_depthFlag[ layer ]  || m_auxId[ layer ] == 2 )
    20422046      {
    20432047        firstDepthLayer = layer;
     
    20762080      LOG2_DISP_PREC_LUT );
    20772081  }
     2082#if NH_3D
    20782083  else
    20792084  {
     
    20892094      LOG2_DISP_PREC_LUT );
    20902095  }
    2091 #else
    2092   m_cCameraData     .init     ( ((UInt) m_iNumberOfViews ),
    2093     m_internalBitDepth[ CHANNEL_TYPE_LUMA],
    2094     (UInt) m_iCodedCamParPrecision,
    2095     m_FrameSkip,
    2096     (UInt) m_framesToBeEncoded,
    2097     m_pchCameraParameterFile,
    2098     m_pchBaseViewCameraNumbers,
    2099     NULL,
    2100     NULL,
    2101     LOG2_DISP_PREC_LUT );
    2102 #endif
    21032096  m_cCameraData.check( false, true );
     2097#endif
    21042098#endif
    21052099
     
    22862280#endif
    22872281
    2288 #if NH_3D
     2282#if NH_3D_VSO
    22892283  if ( m_scalabilityMask & ( 1 << DEPTH_ID ) )
    22902284  {
     
    26452639  }
    26462640
    2647 #if NH_3D
     2641#if NH_3D_VSO
    26482642  xConfirmPara( m_pchCameraParameterFile    == 0                ,   "CameraParameterFile must be given");
    26492643  xConfirmPara( m_pchBaseViewCameraNumbers  == 0                ,   "BaseViewCameraNumbers must be given" );
    26502644  xConfirmPara( m_iNumberOfViews != m_cCameraData.getBaseViewNumbers().size() ,   "Number of Views in BaseViewCameraNumbers must be equal to NumberOfViews" );
    26512645  xConfirmPara    ( m_iCodedCamParPrecision < 0 || m_iCodedCamParPrecision > 5,       "CodedCamParsPrecision must be in range of 0..5" );
    2652 #if NH_3D_VSO
    26532646    if( m_bUseVSO )
    26542647    {
     
    26562649      xConfirmPara( m_uiVSOMode > 4 ,                                                "VSO Mode must be less than 5");
    26572650    }
    2658 #endif
    26592651#endif
    26602652  // max CU width and height should be power of 2
     
    34303422  xPrintParaVector( "AuxId", m_auxId );
    34313423#endif
    3432 #if NH_3D
     3424#if NH_3D_VSO
    34333425  xPrintParaVector( "DepthLayerFlag", m_depthFlag );
    34343426  printf("Coded Camera Param. Precision     : %d\n", m_iCodedCamParPrecision); 
     
    36323624
    36333625  printf("Max Num Merge Candidates          : %d\n", m_maxNumMergeCand);
    3634 #if NH_3D
     3626#if NH_3D_VSO
    36353627  printf("BaseViewCameraNumbers             : %s\n", m_pchBaseViewCameraNumbers );
    36363628  printf("Coded Camera Param. Precision     : %d\n", m_iCodedCamParPrecision);
    3637 #if NH_3D_VSO
    36383629  printf("Force use of Lambda Scale         : %d\n", m_bForceLambdaScaleVSO );
    36393630
     
    36533644  }
    36543645#endif //HHI_VSO
    3655 #endif //NH_3D
    36563646  printf("\n");
    36573647#if NH_MV
     
    37203710  printf("WVSO:%d ", m_bUseWVSO ); 
    37213711#endif
     3712#if NH_3D_QTL
     3713  printf( "QTL:%d "                  , m_bUseQTL);
     3714#endif
    37223715#if NH_3D
    3723   printf( "QTL:%d "                  , m_bUseQTL);
    37243716  printf( "IlluCompEnable:%d "       , m_abUseIC);
    37253717  printf( "IlluCompLowLatencyEnc:%d ",  m_bUseLowLatencyICEnc);
  • branches/HTM-15.2-dev/source/App/TAppEncoder/TAppEncCfg.h

    r1362 r1373  
    8080  IntAry1d               m_viewOrderIndex;                    ///< view order index 
    8181  IntAry1d               m_auxId;                             ///< auxiliary id
    82 #if NH_3D
     82#if NH_3D_VSO
    8383  IntAry1d               m_depthFlag;                         ///< depth flag
    8484#endif
     
    533533#endif
    534534  Bool              m_outputVpsInfo;
    535 #endif
     535  TChar*            m_pchBaseViewCameraNumbers;
     536#endif
     537
    536538#if NH_3D
    537539  // Output Format
    538540  Bool      m_depth420OutputFlag;                             ///< Output depth layers in 4:2:0 format
    539   // Camera parameters
     541#endif
     542    // Camera parameters
     543#if NH_3D_VSO
    540544  TChar*    m_pchCameraParameterFile;                         ///< camera parameter file
    541   TChar*    m_pchBaseViewCameraNumbers;
    542545  TAppComCamPara m_cCameraData;
    543546  Int       m_iCodedCamParPrecision;                          ///< precision for coding of camera parameters
    544 #if NH_3D_VSO
    545547  TChar*    m_pchVSOConfig;
    546548  Bool      m_bUseVSO;                                        ///< flag for using View Synthesis Optimization
     
    566568  TRenModSetupStrParser       m_cRenModStrParser;
    567569#endif
    568 
     570#if NH_3D
    569571  Bool       m_useDLT;                                        ///< flag for using DLT
     572#endif
     573#if NH_3D_QTL
    570574  Bool       m_bUseQTL;                                        ///< flag for using depth QuadTree Limitation
     575#endif
     576#if NH_3D
    571577  BoolAry1d  m_ivMvPredFlag;
    572578  BoolAry1d  m_ivMvScalingFlag;
  • branches/HTM-15.2-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1360 r1373  
    147147#if NH_3D
    148148  xSetCamPara              ( vps );
     149#endif
     150#if NH_3D_VSO
    149151  m_ivPicLists.setVPS      ( &vps );
    150152#endif
     
    276278    m_cTEncTop.setViewId                       ( vps.getViewId      (  layerId ) );
    277279    m_cTEncTop.setViewIndex                    ( vps.getViewIndex   (  layerId ) );
    278 #if NH_3D
    279     Bool isDepth = ( vps.getDepthId     ( layerId ) != 0 ) ;
    280     m_cTEncTop.setIsDepth                      ( isDepth );
     280#if NH_3D_VSO
     281    Bool isDepth    = ( vps.getDepthId     ( layerId ) != 0  ) ;
     282    Bool isAuxDepth = ( vps.getAuxId       ( layerId ) ==  2 ) ; // TBD: define 2 as AUX_DEPTH
     283    m_cTEncTop.setIsDepth                  ( isDepth    );
     284    m_cTEncTop.setIsAuxDepth               ( isAuxDepth );
    281285    //====== Camera Parameters =========
    282286    m_cTEncTop.setCameraParameters             ( &m_cCameraData );     
    283 #if NH_3D_VSO
    284287    //====== VSO =========
    285288    m_cTEncTop.setRenderModelParameters        ( &m_cRenModStrParser );
    286     m_cTEncTop.setForceLambdaScaleVSO          ( isDepth ? m_bForceLambdaScaleVSO : false );
    287     m_cTEncTop.setLambdaScaleVSO               ( isDepth ? m_dLambdaScaleVSO      : 1     );
    288     m_cTEncTop.setVSOMode                      ( isDepth ? m_uiVSOMode            : 0     );
    289 
    290     m_cTEncTop.setAllowNegDist                 ( isDepth ? m_bAllowNegDist        : false );
     289    m_cTEncTop.setForceLambdaScaleVSO          ( isDepth || isAuxDepth ? m_bForceLambdaScaleVSO : false );
     290    m_cTEncTop.setLambdaScaleVSO               ( isDepth || isAuxDepth ? m_dLambdaScaleVSO      : 1     );
     291    m_cTEncTop.setVSOMode                      ( isDepth || isAuxDepth ? m_uiVSOMode            : 0     );
     292
     293    m_cTEncTop.setAllowNegDist                 ( isDepth || isAuxDepth ? m_bAllowNegDist        : false );
    291294
    292295    // SAIT_VSO_EST_A0033
    293     m_cTEncTop.setUseEstimatedVSD              ( isDepth ? m_bUseEstimatedVSD     : false );
     296    m_cTEncTop.setUseEstimatedVSD              ( isDepth || isAuxDepth ? m_bUseEstimatedVSD     : false );
    294297
    295298    // LGE_WVSO_A0119
    296     m_cTEncTop.setUseWVSO                      ( isDepth ? m_bUseWVSO             : false );   
    297     m_cTEncTop.setVSOWeight                    ( isDepth ? m_iVSOWeight           : 0     );
    298     m_cTEncTop.setVSDWeight                    ( isDepth ? m_iVSDWeight           : 0     );
    299     m_cTEncTop.setDWeight                      ( isDepth ? m_iDWeight             : 0     );
     299    m_cTEncTop.setUseWVSO                      ( isDepth || isAuxDepth ? m_bUseWVSO             : false );   
     300    m_cTEncTop.setVSOWeight                    ( isDepth || isAuxDepth ? m_iVSOWeight           : 0     );
     301    m_cTEncTop.setVSDWeight                    ( isDepth || isAuxDepth ? m_iVSDWeight           : 0     );
     302    m_cTEncTop.setDWeight                      ( isDepth || isAuxDepth ? m_iDWeight             : 0     );
    300303#endif // H_3D_VSO
     304#if NH_3D
    301305#if NH_3D_IC
    302306    m_cTEncTop.setUseIC                        ( vps.getViewIndex( layerId ) == 0 || isDepth ? false : m_abUseIC );
     
    308312    m_cTEncTop.setUseSDC                       ( isDepth ? m_intraSdcFlag     : false );
    309313    m_cTEncTop.setUseDLT                       ( isDepth ? m_useDLT   : false );
    310     m_cTEncTop.setUseQTL                       ( isDepth ? m_bUseQTL  : false );
     314#endif
     315#if NH_3D_QTL
     316    m_cTEncTop.setUseQTL                       ( isDepth || isAuxDepth ? m_bUseQTL  : false );
     317#endif
     318#if NH_3D
    311319    m_cTEncTop.setSps3dExtension               ( m_sps3dExtension );
    312320#endif // NH_3D
     
    811819        TEncTop* pcEncTop =  m_acTEncTopList[ layer ];
    812820        Int iViewNum      = pcEncTop->getViewIndex();
    813         Int iContent      = pcEncTop->getIsDepth() ? 1 : 0;
     821        Int iContent      = pcEncTop->getIsDepth() || pcEncTop->getIsAuxDepth() ? 1 : 0;
    814822        Int iNumOfModels  = m_cRenModStrParser.getNumOfModelsForView(iViewNum, iContent);
    815823
     
    10431051    for ( Int gopId=0; gopId < gopSize; gopId++ )
    10441052    {
    1045 #if NH_3D
     1053#if NH_3D_VSO
    10461054      UInt iNextPoc = m_acTEncTopList[0] -> getFrameId( gopId );
    10471055      if ( iNextPoc < m_framesToBeEncoded )
     
    16851693          if( m_depthFlag[ curLayerIdInVps ] && ( m_mpiFlag|| m_qtPredFlag || m_intraContourFlag ) )
    16861694          {         
    1687             Int nuhLayerIdTex = vps.getLayerIdInNuh( vps.getViewIndex( curLayerIdInNuh ), false );
     1695            Int nuhLayerIdTex = vps.getLayerIdInNuh( vps.getViewIndex( curLayerIdInNuh ), false, 0 );
    16881696            if ( nuhLayerIdTex == refLayerIdInNuh )
    16891697            {
     
    17111719                for (Int j = 0; j < geCur.m_numActiveRefLayerPics; j++ )
    17121720                {
    1713                   Int nuhLayerIdDep = vps.getLayerIdInNuh( vps.getViewIndex( vps.getIdRefListLayer( curLayerIdInNuh, geCur.m_interLayerPredLayerIdc[j] ) ), true );
     1721                  Int nuhLayerIdDep = vps.getLayerIdInNuh( vps.getViewIndex( vps.getIdRefListLayer( curLayerIdInNuh, geCur.m_interLayerPredLayerIdc[j] ) ), true, 0 );
    17141722                  if ( nuhLayerIdDep == refLayerIdInNuh )
    17151723                  {
  • branches/HTM-15.2-dev/source/App/TAppEncoder/TAppEncTop.h

    r1313 r1373  
    4646#include "TLibCommon/AccessUnit.h"
    4747#include "TAppEncCfg.h"
    48 #if NH_3D
     48#if NH_3D_VSO
    4949#include "../../Lib/TLibRenderer/TRenTop.h"
    5050#endif
  • branches/HTM-15.2-dev/source/App/TAppRenderer/RendererMain.cpp

    r1313 r1373  
    3535#include <time.h>
    3636#include "../../Lib/TLibCommon/CommonDef.h"
    37 #if NH_3D
     37#if NH_3D_VSO
    3838#include "TAppRendererTop.h"
    3939// ====================================================================================================================
  • branches/HTM-15.2-dev/source/App/TAppRenderer/TAppRendererCfg.cpp

    r1360 r1373  
    4444#include "../../Lib/TAppCommon/program_options_lite.h"
    4545
    46 #if NH_3D
     46#if NH_3D_VSO
    4747
    4848using namespace std;
  • branches/HTM-15.2-dev/source/App/TAppRenderer/TAppRendererCfg.h

    r1360 r1373  
    4747#include <vector>
    4848
    49 #if NH_3D
     49#if NH_3D_VSO
    5050
    5151// ====================================================================================================================
  • branches/HTM-15.2-dev/source/App/TAppRenderer/TAppRendererTop.cpp

    r1313 r1373  
    4141#include "TAppRendererTop.h"
    4242
    43 #if NH_3D
     43#if NH_3D_VSO
    4444
    4545// ====================================================================================================================
  • branches/HTM-15.2-dev/source/App/TAppRenderer/TAppRendererTop.h

    r1313 r1373  
    4040#define __TAppRendererTOP__
    4141#include "../../Lib/TLibCommon/CommonDef.h"
    42 #if NH_3D
     42#if NH_3D_VSO
    4343#include "../../Lib/TLibRenderer/TRenTop.h"
    4444#include "../../Lib/TLibVideoIO/TVideoIOYuv.h"
  • branches/HTM-15.2-dev/source/Lib/TAppCommon/TAppComCamPara.cpp

    r1360 r1373  
    4949#include <functional>
    5050#include <string>
    51 #if NH_3D
     51#if NH_3D_VSO
    5252
    5353
     
    194194TAppComCamPara::xReadCameraParameterFile( TChar* pchCfgFileName )
    195195{
     196  assert( pchCfgFileName != NULL );
     197
    196198  std::ifstream cCfgStream( pchCfgFileName, std::ifstream::in );
    197199  if( !cCfgStream )
  • branches/HTM-15.2-dev/source/Lib/TLibCommon/CommonDef.h

    r1362 r1373  
    446446#endif
    447447
    448 #if NH_3D
     448#if NH_3D_VSO
    449449//PICYUV
    450450#define PICYUV_PAD         16
  • branches/HTM-15.2-dev/source/Lib/TLibCommon/TComPic.cpp

    r1321 r1373  
    6060, m_viewId                                (0)
    6161, m_bPicOutputFlag                        (false)
    62 #if NH_3D
     62#if NH_3D_VSO
    6363, m_viewIndex                             (0)
    6464, m_isDepth                               (false)
     
    993993}
    994994
    995 #if NH_3D
    996 TComPicYuv* TComPicLists::getPicYuv( Int viewIndex, Bool depthFlag, Int poc, Bool recon )
     995#if NH_3D_VSO
     996TComPicYuv* TComPicLists::getPicYuv( Int viewIndex, Bool depthFlag, Int auxId, Int poc, Bool recon )
    997997
    998   Int layerIdInNuh = m_vps->getLayerIdInNuh( viewIndex, depthFlag );
     998  Int layerIdInNuh = m_vps->getLayerIdInNuh( viewIndex, depthFlag, auxId );
    999999  return getPicYuv( layerIdInNuh, poc, recon );
    10001000}
    10011001
    1002 TComPic* TComPicLists::getPic( Int viewIndex, Bool depthFlag, Int poc )
    1003 {
    1004   return getPic   ( m_vps->getLayerIdInNuh( viewIndex, depthFlag ), poc );
     1002TComPic* TComPicLists::getPic( Int viewIndex, Bool depthFlag, Int auxId, Int poc )
     1003{
     1004  return getPic   ( m_vps->getLayerIdInNuh( viewIndex, depthFlag, auxId ), poc );
    10051005}
    10061006
  • branches/HTM-15.2-dev/source/Lib/TLibCommon/TComPic.h

    r1360 r1373  
    154154  TComDecodedRps        m_decodedRps;
    155155#endif
    156 #if NH_3D
     156#if NH_3D_VSO
    157157  Int                   m_viewIndex;
    158158  Bool                  m_isDepth;
     
    311311   Void          print( Int outputLevel );
    312312
    313 #if NH_3D
     313#if NH_3D_VSO
    314314   Void          setViewIndex          ( Int viewIndex )  { m_viewIndex = viewIndex;   }
    315315   Int           getViewIndex          () const           { return m_viewIndex;     }
     
    404404  TComList<TComSubDpb*>       m_subDpbs;
    405405  Bool                        m_printPicOutput;
    406 #if NH_3D                     
     406#if NH_3D_VSO
    407407  const TComVPS*              m_vps;
    408408#endif
     
    448448  Void                   print();
    449449
    450 #if NH_3D                                   
     450#if NH_3D_VSO
    451451  Void                   setVPS                        ( const TComVPS* vps ) { m_vps = vps;  };
    452   TComPic*               getPic                        ( Int viewIndex, Bool depthFlag, Int poc );
    453   TComPicYuv*            getPicYuv                     ( Int viewIndex, Bool depthFlag, Int poc, Bool recon );
     452  TComPic*               getPic                        ( Int viewIndex, Bool depthFlag, Int auxId, Int poc );
     453  TComPicYuv*            getPicYuv                     ( Int viewIndex, Bool depthFlag, Int auxId, Int poc, Bool recon );
    454454#endif 
    455455
  • branches/HTM-15.2-dev/source/Lib/TLibCommon/TComPicYuv.h

    r1360 r1373  
    183183  Bool          getBorderExtension( )     { return m_bIsBorderExtended; }
    184184#endif
    185 #if NH_3D
     185#if NH_3D_VSO
    186186  // Set Function
    187187  Void  setLumaTo    ( Pel pVal ); 
    188188  Void  setChromaTo  ( Pel pVal ); 
     189#endif
     190#if NH_3D
    189191#if NH_3D_IV_MERGE
    190192  // sample to block and block to sample conversion
  • branches/HTM-15.2-dev/source/Lib/TLibCommon/TComRdCost.cpp

    r1364 r1373  
    4141#include "TComRom.h"
    4242#include "TComRdCost.h"
    43 #if NH_3D
     43#if NH_3D_VSO
    4444#include "TComDataCU.h"
    4545#include "TComRectangle.h"
     
    503503
    504504  cDtParam.bitDepth   = bitDepth;
    505 
     505#if NH_3D
    506506  cDtParam.bUseIC       = false;
     507#endif
    507508#if NH_3D_SDC_INTER
    508509  cDtParam.bUseSDCMRSAD = false;
  • branches/HTM-15.2-dev/source/Lib/TLibCommon/TComRdCost.h

    r1370 r1373  
    4646#include "TComSlice.h"
    4747#include "TComRdCostWeightPrediction.h"
    48 #if NH_3D
     48#if NH_3D_VSO
    4949#include "../TLibRenderer/TRenModel.h"
    5050#include "TComYuv.h"
     
    5757class DistParam;
    5858class TComPattern;
    59 #if NH_3D
     59#if NH_3D_VSO
    6060class TComRdCost;
    6161#endif
     
    6868typedef Distortion (*FpDistFunc) (DistParam*); // TODO: can this pointer be replaced with a reference? - there are no NULL checks on pointer.
    6969
    70 #if NH_3D
     70
    7171#if NH_3D_VSO
    7272typedef Dist (TComRdCost::*FpDistFuncVSO) ( Int, Int, Pel*, Int, Pel*, Int, UInt, UInt, Bool );
    73 #endif
    7473#endif
    7574// ====================================================================================================================
  • branches/HTM-15.2-dev/source/Lib/TLibCommon/TComSlice.cpp

    r1360 r1373  
    118118, m_viewId                        (0)
    119119, m_viewIndex                     (0)
    120 #if NH_3D
     120#if NH_3D_VSO
    121121, m_isDepth                       (false)
    122122#endif
     
    21822182}
    21832183
    2184 #if NH_3D
    2185 Int TComVPS::getLayerIdInNuh( Int viewIndex, Bool depthFlag ) const
     2184#if NH_3D_VSO
     2185Int TComVPS::getLayerIdInNuh( Int viewIndex, Bool depthFlag, Int auxId ) const
    21862186{
    21872187  Int foundLayerIdinNuh = -1;
     
    21902190  {
    21912191    Int layerIdInNuh = getLayerIdInNuh( layerIdInVps );
     2192#if !NH_3D
     2193    if( ( getViewIndex( layerIdInNuh ) == viewIndex ) && ( getAuxId( layerIdInNuh ) == ( depthFlag ? 2 : 0 ) )  )
     2194#else
    21922195    if( ( getViewIndex( layerIdInNuh ) == viewIndex ) && ( getDepthId( layerIdInNuh ) == ( depthFlag ? 1 : 0 ) )  )
     2196#endif
    21932197    {
    21942198      foundLayerIdinNuh = layerIdInNuh;
     
    21982202  return foundLayerIdinNuh;
    21992203}
    2200 
     2204#endif
     2205#if NH_3D
    22012206Void TComVPS::createCamPars(Int iNumViews)
    22022207{
     
    38573862}
    38583863#endif
    3859 #if NH_3D
     3864#if NH_3D_QTL
    38603865Void TComSlice::setIvPicLists( TComPicLists* m_ivPicLists )
    38613866
     
    38643869    for ( Int depthId = 0; depthId < 2; depthId++ )
    38653870    {
    3866       m_ivPicsCurrPoc[ depthId ][ i ] = ( i <= m_viewIndex ) ? m_ivPicLists->getPic( i, ( depthId == 1) , getPOC() ) : NULL;
     3871      m_ivPicsCurrPoc[ depthId ][ i ] = ( i <= m_viewIndex ) ? m_ivPicLists->getPic( i, ( depthId == 1) , 0, getPOC() ) : NULL;
    38673872    }       
    38683873  } 
    38693874}
     3875#endif
     3876#if NH_3D
    38703877Void TComSlice::setDepthToDisparityLUTs()
    38713878{
  • branches/HTM-15.2-dev/source/Lib/TLibCommon/TComSlice.h

    r1364 r1373  
    13841384  /// VPS EXTENSION 2 SYNTAX ELEMENTS
    13851385  Int     getDepthId                   ( Int layerIdInNuh)             const    { return getScalabilityId( getLayerIdInVps(layerIdInNuh), DEPTH_ID ); }
    1386 #if NH_3D                                                             
     1386#if NH_3D_VSO                                                             
    13871387  Bool    getVpsDepthFlag              ( Int layerIdInNuh)             const    { return (getDepthId( layerIdInNuh ) > 0);  }
    1388   Int     getLayerIdInNuh              ( Int viewIndex, Bool depthFlag ) const;   
    1389          
     1388  Int     getLayerIdInNuh              ( Int viewIndex, Bool depthFlag, Int auxId ) const;   
     1389#endif
     1390#if NH_3D
    13901391  Void    createCamPars                ( Int iNumViews ); 
    13911392  Void    initCamParaVPS               ( Int vOIdxInVps, Int numCp, Bool cpInSliceSegmentHeaderFlag, Int* cpRefVoi, Int** aaiScale, Int** aaiOffset );                                               
     
    27002701  Int        m_viewId;
    27012702  Int        m_viewIndex;
    2702 #if NH_3D
     2703#if NH_3D_VSO
    27032704  Bool       m_isDepth;
    27042705#endif
     
    27522753  Bool       m_cpAvailableFlag;
    27532754  Int        m_numViews;
     2755#endif
     2756#if NH_3D_QTL
    27542757  TComPic*   m_ivPicsCurrPoc [2][MAX_NUM_LAYERS]; 
     2758#endif
     2759#if NH_3D
    27552760  Int**      m_depthToDisparityB;
    27562761  Int**      m_depthToDisparityF;
     
    28502855  Int                         getNumCurCmpLIds( )                      const         { return (Int) m_inCmpRefViewIdcs.size();                       }
    28512856  TComPic*                    getIvPic( Bool depthFlag, Int viewIndex) const         { return  m_ivPicsCurrPoc[ depthFlag ? 1 : 0 ][ viewIndex ];    }
     2857#endif
     2858#if NH_3D_QTL
    28522859  TComPic*                    getTexturePic       ()                                 { return  m_ivPicsCurrPoc[0][ m_viewIndex ];                    }
     2860
    28532861#endif                           
    28542862#if NH_3D_IC                                                                                                                                         
     
    31553163  Int                         getFirstTRefIdx        ( RefPicList e )                { return  m_aiFirstTRefIdx[e];                                  }
    31563164  Void                        setFirstTRefIdx        ( RefPicList e, Int i )         { m_aiFirstTRefIdx[e]    = i;                                   }
    3157   Bool                        getArpRefPicAvailable  ( RefPicList e, Int viewIdx)    { return m_arpRefPicAvailable[e][getVPS()->getLayerIdInNuh(viewIdx, 0)]; }
     3165
     3166  Bool                        getArpRefPicAvailable  ( RefPicList e, Int viewIdx)    { return m_arpRefPicAvailable[e][getVPS()->getLayerIdInNuh(viewIdx, false, 0 )]; }
    31583167  IntAry1d                    getPocsInCurrRPSs()                                    { return m_pocsInCurrRPSs;                                      }
    3159 #endif                                                                                                                                               
     3168#endif                       
     3169#endif
     3170#if NH_3D_VSO
    31603171  Void                        setIsDepth            ( Bool isDepth )                 { m_isDepth = isDepth;                                          }
    31613172  Bool                        getIsDepth            () const                         { return m_isDepth;                                             }
     3173#endif
     3174#if NH_3D
    31623175  Void                        setCamparaSlice       ( Int** aaiScale = 0, Int** aaiOffset = 0 );     
    31633176
     
    31793192  Int                         getCpInvOff( Int j )                                   { return m_aaiCodedOffset[1][j];                                }
    31803193                                                                                                                                                       
     3194#endif
     3195#if NH_3D_QTL
    31813196  Void                        setIvPicLists( TComPicLists* m_ivPicLists );                                                                             
     3197#endif
     3198#if NH_3D
    31823199  Void                        setDepthToDisparityLUTs();                                                                                               
    31833200                                                                                                                                                       
  • branches/HTM-15.2-dev/source/Lib/TLibCommon/TComYuv.h

    r1313 r1373  
    204204  UInt         getComponentScaleX         (const ComponentID id) const { return ::getComponentScaleX(id, m_chromaFormatIDC); }
    205205  UInt         getComponentScaleY         (const ComponentID id) const { return ::getComponentScaleY(id, m_chromaFormatIDC); }
     206#if NH_3D_VSO
     207  Void         addClipPartLuma( Int bitDepth, TComYuv* pcYuvSrc0, TComYuv* pcYuvSrc1, UInt uiTrUnitIdx, UInt uiPartSize );
     208#endif
    206209#if NH_3D
    207   Void         addClipPartLuma( Int bitDepth, TComYuv* pcYuvSrc0, TComYuv* pcYuvSrc1, UInt uiTrUnitIdx, UInt uiPartSize );
    208210#if NH_3D_ARP
    209211  Void         addARP                     ( TComYuv* pcYuvSrc0, TComYuv* pcYuvSrc1, UInt uiAbsPartIdx, UInt uiWidth , UInt uiHeight , Bool bClip, const BitDepths &clipBitDepths );
  • branches/HTM-15.2-dev/source/Lib/TLibCommon/TypeDef.h

    r1372 r1373  
    105105                                             // SEC_ARP_VIEW_REF_CHECK_J0037    Signaling iv_res_pred_weight_idx when the current slice has both view and temporal reference picture(s), JCT3V-J0037 item1
    106106                                             // SEC_ARP_REM_ENC_RESTRICT_K0035    Removal of encoder restriction of ARP, JCT3V-K0035
     107#define NH_3D_QTL                          1
    107108#define NH_3D_QTLPC                        1   // OL_QTLIMIT_PREDCODING_B0068 //JCT3V-B0068
    108109                                              // HHI_QTLPC_RAU_OFF_C0160 JCT3V-C0160 change 2: quadtree limitation and predictive coding switched off in random access units
     
    496497typedef std::vector< std::string > StringAry1d;
    497498typedef std::vector< StringAry1d > StringAry2d;
     499typedef std::vector< std::string > StringAry1d;
     500typedef std::vector< StringAry1d > StringAry2d;
    498501typedef std::vector< Int >        IntAry1d;
    499502typedef std::vector< IntAry1d >   IntAry2d;
     
    10031006};
    10041007#endif
    1005 #if NH_3D
     1008#if NH_3D_VSO
    10061009// Renderer
    10071010enum BlenMod
  • branches/HTM-15.2-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1356 r1373  
    17711771        xG813DecProcForInterLayerRefPicSet();
    17721772      }
     1773      else
     1774      {
     1775#if NH_MV_FIX_INIT_NUM_ACTIVE_REF_LAYER_PICS
     1776        TComDecodedRps* decRps = m_pcPic->getDecodedRps();
     1777        decRps->m_numActiveRefLayerPics0 = 0;
     1778        decRps->m_numActiveRefLayerPics1 = 0;     
     1779#endif
     1780      }
    17731781    }
    17741782  }
  • branches/HTM-15.2-dev/source/Lib/TLibEncoder/TEncCfg.h

    r1360 r1373  
    4646#include "TLibCommon/TComSlice.h"
    4747#include <assert.h>
    48 #if NH_3D
     48#if NH_3D_VSO
    4949#include "TAppCommon/TAppComCamPara.h"
    5050#include "TLibRenderer/TRenModSetupStrParser.h"
     
    469469#endif
    470470
    471 #if NH_3D
     471#if NH_3D_VSO
    472472  Bool      m_isDepth;
     473  Bool      m_isAuxDepth;
    473474
    474475  //====== Camera Parameters ======
    475476  TAppComCamPara* m_cameraParameters;
    476477 
    477 #if NH_3D_VSO
    478478  //====== View Synthesis Optimization ======
    479479  TRenModSetupStrParser* m_renderModelParameters;
     
    492492  Double    m_dDispCoeff;
    493493#endif
     494#if NH_3D
    494495
    495496  Bool      m_bUseIC;
     
    498499  Bool      m_useSDC;
    499500  Bool      m_useDLT;
     501#endif
     502#if NH_3D_QTL
    500503  Bool      m_bUseQTL;
     504#endif
     505#if NH_3D
    501506  Int       m_profileIdc;
    502 
    503507#endif
    504508public:
     
    511515  , m_viewId(-1)
    512516  , m_viewIndex(-1)
     517#if NH_3D_VSO
     518  , m_isDepth(false)
     519  , m_isAuxDepth(false)
     520  , m_bUseVSO(false)
     521#endif
    513522#if NH_3D
    514   , m_isDepth(false)
    515 #if NH_3D_VSO
    516   , m_bUseVSO(false)
    517 #endif
    518523  , m_profileIdc( -1 )
    519524#endif
     
    561566  Void      setViewIndex                     ( Int viewIndex  )   { m_viewIndex  = viewIndex;  }
    562567  Int       getViewIndex                     ()                   { return m_viewIndex;    }
    563 #if NH_3D
     568#if NH_3D_VSO
    564569  Void      setIsDepth                       ( Bool isDepth )   { m_isDepth = isDepth; }
    565570  Bool      getIsDepth                       ()                 { return m_isDepth; }
     571  Void      setIsAuxDepth                    ( Bool isAuxDepth ) { m_isAuxDepth = isAuxDepth; }
     572  Bool      getIsAuxDepth                       ()               { return m_isAuxDepth; }
     573
     574
    566575#endif
    567576#endif
     
    11881197  UInt      getSummaryVerboseness( ) const                           { return m_summaryVerboseness; }
    11891198
    1190 #if NH_3D
     1199#if NH_3D_VSO
    11911200  // Only flags that are not in the SPS3dExtension should go here.
    11921201  /// 3D Tools
     
    11941203 //==== CAMERA PARAMETERS  ==========
    11951204  Void      setCameraParameters             ( TAppComCamPara* c) { m_cameraParameters   = c; }
    1196 
    1197 #if NH_3D_VSO
    11981205 //==== VSO  ==========
    11991206  Void      setRenderModelParameters ( TRenModSetupStrParser* c ) { m_renderModelParameters = c; }
     
    12251232  Void      setDispCoeff                    ( Double  d )   { m_dDispCoeff  = d; }
    12261233#endif // NH_3D_VSO
    1227 
     1234#if NH_3D
    12281235  Bool      getUseDMM                       ()        { return m_useDMM; }
    12291236  Void      setUseDMM                       ( Bool b) { m_useDMM = b;    }
     
    12331240  Bool      getUseDLT                       ()        { return m_useDLT; }
    12341241  Void      setUseDLT                       ( Bool b) { m_useDLT = b;    }
    1235 
     1242#endif
     1243
     1244#if NH_3D_QTL
    12361245  Void      setUseQTL                       ( Bool b ) { m_bUseQTL = b;    }
    12371246  Bool      getUseQTL                       ()         { return m_bUseQTL; }
     1247#endif
     1248#if NH_3D
    12381249
    12391250  Void      setProfileIdc( Int a )    { assert( a == 1 || a == 6 || a == 8 ); m_profileIdc = a;  }
  • branches/HTM-15.2-dev/source/Lib/TLibEncoder/TEncCu.cpp

    r1360 r1373  
    420420  const UInt fastDeltaQPCuMaxSize    = Clip3(sps.getMaxCUHeight()>>sps.getLog2DiffMaxMinCodingBlockSize(), sps.getMaxCUHeight(), 32u);
    421421
    422 
     422#if NH_3D_QTL
    423423#if NH_3D_QTLPC
    424424  Bool  bLimQtPredFalg    = pcPic->getSlice(0)->getQtPredFlag();
     425#else
     426  Bool  bLimQtPredFalg    = false;
     427#endif
    425428  TComPic *pcTexture      = rpcBestCU->getSlice()->getTexturePic();
    426429
     
    437440  m_ppcOrigYuv[uiDepth]->copyFromPicYuv( pcPic->getPicYuvOrg(), rpcBestCU->getCtuRsAddr(), rpcBestCU->getZorderIdxInCtu() );
    438441
    439 #if NH_3D_QTLPC 
     442#if NH_3D_QTL 
    440443  Bool    bTrySplit     = true;
    441444  Bool    bTrySplitDQP  = true;
     
    534537      }
    535538
    536 #if NH_3D_QTLPC
     539#if NH_3D_QTL
    537540      bTrySplit    = true;
    538541#endif
     
    552555
    553556      rpcTempCU->initEstData( uiDepth, iQP, bIsLosslessMode );
    554 #if NH_3D_QTLPC
     557#if NH_3D_QTL
    555558      //logic for setting bTrySplit using the partition information that is stored of the texture colocated CU
    556559#if H_3D_FCO
     
    734737#endif
    735738      }
    736 #if NH_3D_QTLPC     
     739#if NH_3D_QTL
    737740      if(depthMapDetect && !bIntraSliceDetect && !rapPic && ( m_pcEncCfg->getUseQTL() || bLimQtPredFalg ))
    738741      {
     
    789792          {
    790793            if( uiDepth == sps.getLog2DiffMaxMinCodingBlockSize() && doNotBlockPu
    791 #if NH_3D_QTLPC
     794#if NH_3D_QTL
    792795                && bTrySplit
    793796#endif
     
    809812
    810813          if(doNotBlockPu
    811 #if NH_3D_QTLPC
     814#if NH_3D_QTL
    812815            && bTryNx2N
    813816#endif
     
    830833          }
    831834          if(doNotBlockPu
    832 #if NH_3D_QTLPC
     835#if NH_3D_QTL
    833836            && bTry2NxN
    834837#endif
     
    871874            {
    872875              if(doNotBlockPu
    873 #if NH_3D_QTLPC
     876#if NH_3D_QTL
    874877                && bTry2NxN
    875878#endif
     
    891894              }
    892895              if(doNotBlockPu
    893 #if NH_3D_QTLPC
     896#if NH_3D_QTL
    894897                && bTry2NxN
    895898#endif
     
    917920            {
    918921              if(doNotBlockPu
    919 #if NH_3D_QTLPC
     922#if NH_3D_QTL
    920923                && bTry2NxN
    921924#endif
     
    939942              }
    940943              if(doNotBlockPu
    941 #if NH_3D_QTLPC
     944#if NH_3D_QTL
    942945                && bTry2NxN
    943946#endif
     
    966969            {
    967970              if(doNotBlockPu
    968 #if NH_3D_QTLPC
     971#if NH_3D_QTL
    969972                && bTryNx2N
    970973#endif
     
    987990              }
    988991              if(doNotBlockPu
    989 #if NH_3D_QTLPC
     992#if NH_3D_QTL
    990993                && bTryNx2N
    991994#endif
     
    10071010            {
    10081011              if(doNotBlockPu
    1009 #if NH_3D_QTLPC
     1012#if NH_3D_QTL
    10101013                && bTryNx2N
    10111014#endif
     
    10271030              }
    10281031              if(doNotBlockPu
    1029 #if NH_3D_QTLPC
     1032#if NH_3D_QTL
    10301033                && bTryNx2N
    10311034#endif
     
    10481051
    10491052#else
    1050 #if NH_3D_QTLPC
     1053#if NH_3D_QTL
    10511054            if (bTry2NxN)
    10521055            {
     
    10631066            rpcTempCU->setDvInfoSubParts(DvInfo, 0, uiDepth);
    10641067#endif
    1065 #if NH_3D_QTLPC
     1068#if NH_3D_QTL
    10661069            }
    10671070            if (bTryNx2N)
     
    10781081            rpcTempCU->setDvInfoSubParts(DvInfo, 0, uiDepth);
    10791082#endif
    1080 #if NH_3D_QTLPC
     1083#if NH_3D_QTL
    10811084            }
    10821085#endif
     
    11341137          if( uiDepth == sps.getLog2DiffMaxMinCodingBlockSize() )
    11351138          {
    1136 #if NH_3D_QTLPC //Try IntraNxN
     1139#if NH_3D_QTL //Try IntraNxN
    11371140              if(bTrySplit)
    11381141              {
     
    11501153              rpcTempCU->initEstData( uiDepth, iQP, bIsLosslessMode );
    11511154            }
    1152 #if NH_3D_QTLPC
     1155#if NH_3D_QTL
    11531156              }
    11541157#endif
     
    12521255  const Bool bSubBranch = bBoundary || !( m_pcEncCfg->getUseEarlyCU() && rpcBestCU->getTotalCost()!=MAX_DOUBLE && rpcBestCU->isSkipped(0) );
    12531256#endif
    1254 #if NH_3D_QTLPC
     1257#if NH_3D_QTL
    12551258  if( bSubBranch && uiDepth < sps.getLog2DiffMaxMinCodingBlockSize() && (!getFastDeltaQp() || uiWidth > fastDeltaQPCuMaxSize || bBoundary) && bTrySplitDQP )
    12561259#else
  • branches/HTM-15.2-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r1368 r1373  
    14341434    Int numDirectRefLayers = vps    ->getNumDirectRefLayers( getLayerId() );
    14351435#endif
     1436#if NH_3D_QTL
     1437    pcSlice->setIvPicLists( m_ivPicLists );
     1438#endif
    14361439#if NH_3D
    1437     pcSlice->setIvPicLists( m_ivPicLists );
     1440
    14381441
    14391442    Int gopNum = (pcSlice->getRapPicFlag() && getLayerId() > 0) ? MAX_GOP : iGOPid;
     
    16541657    pcRdCost->setVideoRecPicYuv( m_pcEncTop->getIvPicLists()->getPicYuv( pcSlice->getViewIndex(), false, pcSlice->getPOC(), flagRec ) );
    16551658    pcRdCost->setDepthPicYuv   ( m_pcEncTop->getIvPicLists()->getPicYuv( pcSlice->getViewIndex(), true, pcSlice->getPOC(), false ) );
    1656 #else
    1657     pcRdCost->setVideoRecPicYuv( m_pcEncTop->getIvPicLists()->getPicYuv( pcSlice->getViewIndex(), false , pcSlice->getPOC(), true ) );
    1658     pcRdCost->setDepthPicYuv   ( m_pcEncTop->getIvPicLists()->getPicYuv( pcSlice->getViewIndex(), true  , pcSlice->getPOC(), false ) );
    1659 #endif
    1660 
     1659#else   
     1660    Int curAuxId     = pcSlice->getVPS()->getAuxId( getLayerId() );
     1661    Int curDepthFlag = pcSlice->getIsDepth();
     1662    assert( curAuxId == 2 || curDepthFlag  );
     1663    pcRdCost->setVideoRecPicYuv( m_pcEncTop->getIvPicLists()->getPicYuv( pcSlice->getViewIndex(), false       , 0       , pcSlice->getPOC(), true ) );
     1664    pcRdCost->setDepthPicYuv   ( m_pcEncTop->getIvPicLists()->getPicYuv( pcSlice->getViewIndex(), curDepthFlag, curAuxId, pcSlice->getPOC(), false ) );
     1665#endif
    16611666    // LGE_WVSO_A0119
    16621667    Bool bUseWVSO  = m_pcEncTop->getUseWVSO();
  • branches/HTM-15.2-dev/source/Lib/TLibEncoder/TEncSlice.cpp

    r1368 r1373  
    461461
    462462#if NH_3D_VSO
    463   m_pcRdCost->setUseLambdaScaleVSO  ( (m_pcCfg->getUseVSO() ||  m_pcCfg->getForceLambdaScaleVSO()) && m_pcCfg->getIsDepth() );
     463  m_pcRdCost->setUseLambdaScaleVSO  ( (m_pcCfg->getUseVSO() ||  m_pcCfg->getForceLambdaScaleVSO()) && ( m_pcCfg->getIsDepth()  | m_pcCfg->getIsAuxDepth() ) );
    464464  m_pcRdCost->setLambdaVSO          ( dLambda * m_pcCfg->getLambdaScaleVSO() );
    465465
     
    470470
    471471  // LGE_WVSO_A0119
    472   if( m_pcCfg->getUseWVSO() && m_pcCfg->getIsDepth() )
     472  if( m_pcCfg->getUseWVSO() && ( m_pcCfg->getIsDepth() || m_pcCfg->getIsAuxDepth() ) )
    473473  {
    474474    m_pcRdCost->setDWeight  ( m_pcCfg->getDWeight()   );
     
    713713
    714714    // compute RD cost and choose the best
    715 #if NH_3D
     715#if NH_3D_VSO
    716716    Double dPicRdCost = m_pcRdCost->calcRdCost( (Double)m_uiPicTotalBits, uiPicDist, DF_SSE_FRAME);
    717717#else
     
    899899        iLastPosY = iCurPosY;         
    900900        TEncTop* pcEncTop = (TEncTop*) m_pcCfg; // Fix this later.
    901         pcEncTop->setupRenModel( pcSlice->getPOC() , pcSlice->getViewIndex(), pcSlice->getIsDepth() ? 1 : 0, iCurPosY, pcSlice->getSPS()->getMaxCUHeight() );
     901        pcEncTop->setupRenModel( pcSlice->getPOC() , pcSlice->getViewIndex(), pcSlice->getIsDepth() || pcSlice->getVPS()->getAuxId( pcSlice->getLayerId()  ) ? 1 : 0, iCurPosY, pcSlice->getSPS()->getMaxCUHeight() );
    902902      }
    903903    }
  • branches/HTM-15.2-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r1360 r1373  
    15651565    Int iBaseViewIdx = m_cameraParameters->getBaseSortedId2Id()[ iBaseViewSIdx ];
    15661566
    1567     TComPicYuv* pcPicYuvVideoRec  = m_ivPicLists->getPicYuv( iBaseViewIdx, false, iPoc, true  );
    1568     TComPicYuv* pcPicYuvDepthRec  = m_ivPicLists->getPicYuv( iBaseViewIdx, true , iPoc, true  );
    1569     TComPicYuv* pcPicYuvVideoOrg  = m_ivPicLists->getPicYuv( iBaseViewIdx, false, iPoc, false );
    1570     TComPicYuv* pcPicYuvDepthOrg  = m_ivPicLists->getPicYuv( iBaseViewIdx, true , iPoc, false );   
     1567    Int  auxId     =   getVPS()->getAuxId  ( getLayerId() );     
     1568    Bool depthFlag = ( getVPS()->getDepthId( getLayerId() ) == 1 );
     1569
     1570    if( auxId == 0 && !depthFlag  )
     1571    {
     1572      // Defaults for texture layers
     1573#if NH_3D
     1574      depthFlag = true;
     1575      auxId     = 0;
     1576#else
     1577      depthFlag = false;
     1578      auxId     = 2;
     1579#endif
     1580    }
     1581
     1582    TComPicYuv* pcPicYuvVideoRec  = m_ivPicLists->getPicYuv( iBaseViewIdx, false    , 0    , iPoc, true  );
     1583    TComPicYuv* pcPicYuvDepthRec  = m_ivPicLists->getPicYuv( iBaseViewIdx, depthFlag, auxId, iPoc, true  );
     1584    TComPicYuv* pcPicYuvVideoOrg  = m_ivPicLists->getPicYuv( iBaseViewIdx, false,     0    , iPoc, false );
     1585    TComPicYuv* pcPicYuvDepthOrg  = m_ivPicLists->getPicYuv( iBaseViewIdx, depthFlag, auxId, iPoc, false );   
    15711586
    15721587    TComPicYuv* pcPicYuvVideoRef  = ( iVideoDistMode == 2 ) ? pcPicYuvVideoOrg  : NULL;
     
    16331648    if ( iOrgRefBaseViewSIdx != -1 )
    16341649    {
    1635       pcPicYuvOrgRef = m_ivPicLists->getPicYuv(  m_cameraParameters->getBaseSortedId2Id()[ iOrgRefBaseViewSIdx ] , false, iPoc, false );
     1650      pcPicYuvOrgRef = m_ivPicLists->getPicYuv(  m_cameraParameters->getBaseSortedId2Id()[ iOrgRefBaseViewSIdx ] , false, 0, iPoc, false );
    16361651      AOF ( pcPicYuvOrgRef );
    16371652    }
  • branches/HTM-15.2-dev/source/Lib/TLibRenderer/TRenFilter.cpp

    r1313 r1373  
    3636#include "TRenFilter.h"
    3737#include "TRenInterpFilter.h"
    38 #if NH_3D
     38#if NH_3D_VSO
    3939
    4040///// COMMON /////
  • branches/HTM-15.2-dev/source/Lib/TLibRenderer/TRenFilter.h

    r1313 r1373  
    3939#include "TRenImage.h"
    4040#include "TRenInterpFilter.h"
    41 #if NH_3D
     41#if NH_3D_VSO
    4242
    4343typedef Int (TRenInterpFilter<REN_BIT_DEPTH>::*FpChromaIntFilt) ( Pel*, Int );
  • branches/HTM-15.2-dev/source/Lib/TLibRenderer/TRenImage.cpp

    r1313 r1373  
    3737#include "TRenFilter.h"
    3838#include "assert.h"
    39 #if NH_3D
     39#if NH_3D_VSO
    4040
    4141
  • branches/HTM-15.2-dev/source/Lib/TLibRenderer/TRenImage.h

    r1313 r1373  
    3939#include "../TLibCommon/TComPicYuv.h"
    4040#include "TRenImagePlane.h"
    41 #if NH_3D
     41#if NH_3D_VSO
    4242
    4343
  • branches/HTM-15.2-dev/source/Lib/TLibRenderer/TRenImagePlane.cpp

    r1313 r1373  
    3636#include "TRenFilter.h"
    3737#include <string.h>
    38 #if NH_3D
     38#if NH_3D_VSO
    3939
    4040/////// TRenImagePlane ///////
  • branches/HTM-15.2-dev/source/Lib/TLibRenderer/TRenImagePlane.h

    r1313 r1373  
    3939#include "../TLibCommon/TComPicYuv.h"
    4040
    41 #if NH_3D
     41#if NH_3D_VSO
    4242#define PelImagePlane     TRenImagePlane<Pel>
    4343#define DoubleImagePlane  TRenImagePlane<Double>
  • branches/HTM-15.2-dev/source/Lib/TLibRenderer/TRenInterpFilter.cpp

    r1313 r1373  
    3939
    4040#include "TRenInterpFilter.h"
    41 #if NH_3D
     41#if NH_3D_VSO
    4242
    4343// ====================================================================================================================
  • branches/HTM-15.2-dev/source/Lib/TLibRenderer/TRenInterpFilter.h

    r1313 r1373  
    4444#include "TLibCommon/CommonDef.h"
    4545#include "assert.h"
    46 #if NH_3D
     46#if NH_3D_VSO
    4747
    4848// ====================================================================================================================
  • branches/HTM-15.2-dev/source/Lib/TLibRenderer/TRenModSetupStrParser.cpp

    r1360 r1373  
    3737#include "TRenModSetupStrParser.h"
    3838
    39 #if NH_3D
     39#if NH_3D_VSO
    4040Int
    4141TRenModSetupStrParser::getNumOfModels()
  • branches/HTM-15.2-dev/source/Lib/TLibRenderer/TRenModSetupStrParser.h

    r1360 r1373  
    3939#include "../TLibCommon/TypeDef.h"
    4040#include "../TAppCommon/TAppComCamPara.h"
    41 #if NH_3D
     41#if NH_3D_VSO
    4242
    4343
  • branches/HTM-15.2-dev/source/Lib/TLibRenderer/TRenTop.cpp

    r1313 r1373  
    4040#include <math.h>
    4141#include "../TLibCommon/CommonDef.h"
    42 #if NH_3D
     42#if NH_3D_VSO
    4343
    4444
  • branches/HTM-15.2-dev/source/Lib/TLibRenderer/TRenTop.h

    r1313 r1373  
    3939#include "../TLibCommon/TComPicYuv.h"
    4040
    41 #if NH_3D
     41#if NH_3D_VSO
    4242#include <list>
    4343#include <vector>
Note: See TracChangeset for help on using the changeset viewer.