Changeset 1117 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
7 Jul 2015, 01:35:39 (11 years ago)
Author:
seregin
Message:

macro cleanup: R0156_CONF_WINDOW_IN_REP_FORMAT

Location:
branches/SHM-dev/source/Lib/TLibDecoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1116 r1117  
    36293629#endif
    36303630
    3631 #if R0156_CONF_WINDOW_IN_REP_FORMAT
    36323631  READ_FLAG( uiCode, "conformance_window_vps_flag" );
    36333632  if( uiCode != 0)
     
    36393638    READ_UVLC( uiCode, "conf_win_vps_bottom_offset" );       conf.setWindowBottomOffset( uiCode );
    36403639  }
    3641 #endif
    3642 }
    3643 #endif
     3640}
     3641#endif //REPN_FORMAT_IN_VPS
    36443642#if VPS_DPB_SIZE_TABLE
    36453643Void TDecCavlc::parseVpsDpbSizeTable( TComVPS *vps )
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1116 r1117  
    240240{
    241241  Int  numReorderPics[MAX_TLAYER];
    242 #if R0156_CONF_WINDOW_IN_REP_FORMAT
     242#if SVC_EXTENSION
    243243  Window &conformanceWindow = pcSlice->getConformanceWindow();
    244244#else
     
    562562
    563563      Int  numReorderPics[MAX_TLAYER];
    564 #if !R0156_CONF_WINDOW_IN_REP_FORMAT
    565       Window conformanceWindow;
    566 #endif
    567564      Window defaultDisplayWindow;
    568565
    569 #if R0156_CONF_WINDOW_IN_REP_FORMAT
    570566#if AUXILIARY_PICTURES
    571567      pBLPic->create( repFormat->getPicWidthVpsInLumaSamples(), repFormat->getPicHeightVpsInLumaSamples(), repFormat->getChromaFormatVpsIdc(), activeSPS->getMaxCUWidth(), activeSPS->getMaxCUHeight(), activeSPS->getMaxCUDepth(), repFormat->getConformanceWindowVps(), defaultDisplayWindow, numReorderPics, NULL, true);
    572568#else
    573569      pBLPic->create( repFormat->getPicWidthVpsInLumaSamples(), repFormat->getPicHeightVpsInLumaSamples(), activeSPS->getMaxCUWidth(), activeSPS->getMaxCUHeight(), activeSPS->getMaxCUDepth(), repFormat->getConformanceWindowVps(), defaultDisplayWindow, numReorderPics, NULL, true);
    574 #endif
    575 #else
    576 #if AUXILIARY_PICTURES
    577       pBLPic->create( repFormat->getPicWidthVpsInLumaSamples(), repFormat->getPicHeightVpsInLumaSamples(), repFormat->getChromaFormatVpsIdc(), activeSPS->getMaxCUWidth(), activeSPS->getMaxCUHeight(), activeSPS->getMaxCUDepth(), conformanceWindow, defaultDisplayWindow, numReorderPics, NULL, true);
    578 #else
    579       pBLPic->create( repFormat->getPicWidthVpsInLumaSamples(), repFormat->getPicHeightVpsInLumaSamples(), activeSPS->getMaxCUWidth(), activeSPS->getMaxCUHeight(), activeSPS->getMaxCUDepth(), conformanceWindow, defaultDisplayWindow, numReorderPics, NULL, true);
    580 #endif
    581570#endif
    582571      // it is needed where the VPS is accessed through the slice
     
    24892478
    24902479    Int  numReorderPics[MAX_TLAYER];
    2491 #if R0156_CONF_WINDOW_IN_REP_FORMAT
    24922480    Window &conformanceWindow = slice->getConformanceWindow();
    2493 #else
    2494     Window &conformanceWindow = pcSPS->getConformanceWindow();
    2495 #endif
    24962481    Window defaultDisplayWindow = pcSPS->getVuiParametersPresentFlag() ? pcSPS->getVuiParameters()->getDefaultDisplayWindow() : Window();
    24972482
Note: See TracChangeset for help on using the changeset viewer.