Changeset 874 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder
- Timestamp:
- 28 Aug 2014, 00:57:07 (11 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibEncoder
- Files:
-
- 2 edited
-
TEncCavlc.cpp (modified) (1 diff)
-
TEncGOP.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r872 r874 931 931 #if VPS_EXTN_MASK_AND_DIM_INFO 932 932 UInt i = 0, j = 0; 933 933 #if !VPS_AVC_BL_FLAG_REMOVAL 934 934 WRITE_FLAG( vps->getAvcBaseLayerFlag(), "avc_base_layer_flag" ); 935 #endif 935 936 #if !P0307_REMOVE_VPS_VUI_OFFSET 936 937 #if O0109_MOVE_VPS_VUI_FLAG -
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r873 r874 993 993 // inferring of the scaling list can be moved to the config file 994 994 UInt refLayerId = 0; 995 #if VPS_AVC_BL_FLAG_REMOVAL 996 if( m_layerId > 0 && !m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() && m_pcEncTop->getVPS()->getRecursiveRefLayerFlag( m_layerId, refLayerId ) ) 997 #else 995 998 if( m_layerId > 0 && !m_pcEncTop->getVPS()->getAvcBaseLayerFlag() && m_pcEncTop->getVPS()->getRecursiveRefLayerFlag( m_layerId, refLayerId ) ) 999 #endif 996 1000 { 997 1001 m_pcEncTop->getSPS()->setInferScalingListFlag( true ); … … 1023 1027 // inferring of the scaling list can be moved to the config file 1024 1028 UInt refLayerId = 0; 1029 #if VPS_AVC_BL_FLAG_REMOVAL 1030 if( m_layerId > 0 && !m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() && m_pcEncTop->getVPS()->getRecursiveRefLayerFlag( m_layerId, refLayerId ) ) 1031 #else 1025 1032 if( m_layerId > 0 && !m_pcEncTop->getVPS()->getAvcBaseLayerFlag() && m_pcEncTop->getVPS()->getRecursiveRefLayerFlag( m_layerId, refLayerId ) ) 1033 #endif 1026 1034 { 1027 1035 m_pcEncTop->getSPS()->setInferScalingListFlag( true ); … … 2110 2118 startCUAddrSliceSegmentIdx++; 2111 2119 #if AVC_BASE 2120 #if VPS_AVC_BL_FLAG_REMOVAL 2121 if( m_layerId == 0 && m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() ) 2122 #else 2112 2123 if( m_layerId == 0 && m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) 2124 #endif 2113 2125 { 2114 2126 pcPic->getPicYuvOrg()->copyToPic( pcPic->getPicYuvRec() ); … … 2223 2235 OutputNALUnit nalu( NAL_UNIT_VPS, 0, 0 ); // The value of nuh_layer_id of VPS NAL unit shall be equal to 0. 2224 2236 #if AVC_BASE 2237 #if VPS_AVC_BL_FLAG_REMOVAL 2238 if( ( m_layerId == 1 && m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() ) || ( m_layerId == 0 && !m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() ) ) 2239 #else 2225 2240 if( ( m_layerId == 1 && m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) || ( m_layerId == 0 && !m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) ) 2241 #endif 2226 2242 #else 2227 2243 if( m_layerId == 0 )
Note: See TracChangeset for help on using the changeset viewer.