Changeset 874 in SHVCSoftware for branches/SHM-dev/source/App/TAppEncoder
- Timestamp:
- 28 Aug 2014, 00:57:07 (10 years ago)
- Location:
- branches/SHM-dev/source/App/TAppEncoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r868 r874 67 67 : m_pBitstreamFile() 68 68 #if AVC_BASE 69 #if VPS_AVC_BL_FLAG_REMOVAL 70 , m_nonHEVCBaseLayerFlag(0) 71 #else 69 72 , m_avcBaseLayerFlag(0) 73 #endif 70 74 #endif 71 75 , m_maxTidRefPresentFlag(1) … … 743 747 #endif 744 748 #if AVC_BASE 749 #if VPS_AVC_BL_FLAG_REMOVAL 750 ("NonHEVCBase,-nonhevc", m_nonHEVCBaseLayerFlag, 0, "BL is available but not internal") 751 #else 745 752 ("AvcBase,-avc", m_avcBaseLayerFlag, 0, "avc_base_layer_flag") 753 #endif 746 754 ("InputBLFile,-ibl", cfg_BLInputFile, string(""), "Base layer rec YUV input file name") 747 755 #endif … … 1216 1224 #if SVC_EXTENSION 1217 1225 #if AVC_BASE 1226 #if VPS_AVC_BL_FLAG_REMOVAL 1227 if( m_nonHEVCBaseLayerFlag ) 1228 #else 1218 1229 if( m_avcBaseLayerFlag ) 1230 #endif 1219 1231 { 1220 1232 *cfg_InputFile[0] = cfg_BLInputFile; … … 2574 2586 2575 2587 // it can be updated after AVC BL support will be added to the WD 2588 #if VPS_AVC_BL_FLAG_REMOVAL 2589 if( m_nonHEVCBaseLayerFlag ) 2590 #else 2576 2591 if( m_avcBaseLayerFlag ) 2592 #endif 2577 2593 { 2578 2594 m_crossLayerIrapAlignFlag = false; … … 3561 3577 printf("Scalable : %d\n", m_scalabilityMask[SCALABILITY_ID] ); 3562 3578 #if AVC_BASE 3579 #if VPS_AVC_BL_FLAG_REMOVAL 3580 printf("Base layer : %s\n", m_nonHEVCBaseLayerFlag ? "Non-HEVC" : "HEVC"); 3581 #else 3563 3582 printf("Base layer : %s\n", m_avcBaseLayerFlag ? "AVC" : "HEVC"); 3583 #endif 3564 3584 #endif 3565 3585 #if AUXILIARY_PICTURES -
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h
r868 r874 69 69 Int m_framesToBeEncoded; ///< number of encoded frames 70 70 #if AVC_BASE 71 #if VPS_AVC_BL_FLAG_REMOVAL 72 Int m_nonHEVCBaseLayerFlag; ///< non HEVC BL 73 #else 71 74 Int m_avcBaseLayerFlag; ///< avc_baselayer_flag 75 #endif 72 76 #endif 73 77 Bool m_maxTidRefPresentFlag; -
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r872 r874 234 234 #if REF_IDX_MFM 235 235 #if AVC_BASE 236 #if VPS_AVC_BL_FLAG_REMOVAL 237 m_acTEncTop[layer].setMFMEnabledFlag(layer == 0 ? false : ( m_nonHEVCBaseLayerFlag ? false : true ) && m_acLayerCfg[layer].getNumMotionPredRefLayers()); 238 #else 236 239 m_acTEncTop[layer].setMFMEnabledFlag(layer == 0 ? false : ( m_avcBaseLayerFlag ? false : true ) && m_acLayerCfg[layer].getNumMotionPredRefLayers()); 240 #endif 237 241 #else 238 242 m_acTEncTop[layer].setMFMEnabledFlag(layer == 0 ? false : ( m_acLayerCfg[layer].getNumMotionPredRefLayers() > 0 ) ); … … 1239 1243 UInt i = 0, dimIdLen = 0; 1240 1244 #if AVC_BASE 1245 #if VPS_AVC_BL_FLAG_REMOVAL 1246 vps->setNonHEVCBaseLayerFlag( m_nonHEVCBaseLayerFlag ); 1247 if ( m_nonHEVCBaseLayerFlag ) 1248 { 1249 vps->setBaseLayerInternalFlag (false); 1250 } 1251 #else 1241 1252 vps->setAvcBaseLayerFlag(m_avcBaseLayerFlag); 1253 #endif 1242 1254 #else 1243 1255 vps->setAvcBaseLayerFlag(false);
Note: See TracChangeset for help on using the changeset viewer.