Changeset 1198 in SHVCSoftware
- Timestamp:
- 8 Jul 2015, 19:43:28 (9 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1185 r1198 1565 1565 1566 1566 vps->setMaxOneActiveRefLayerFlag(maxDirectRefLayers > 1 ? false : true); 1567 #if O0062_POC_LSB_NOT_PRESENT_FLAG 1567 1568 // POC LSB not present flag 1568 1569 for( i = 1; i< vps->getMaxLayers(); i++ ) 1569 1570 { … … 1574 1575 } 1575 1576 } 1576 #endif 1577 1577 1578 vps->setCrossLayerPictureTypeAlignFlag( m_crossLayerPictureTypeAlignFlag ); 1578 1579 vps->setCrossLayerAlignedIdrOnlyFlag( m_crossLayerAlignedIdrOnlyFlag ); -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1197 r1198 1981 1981 1982 1982 m_maxOneActiveRefLayerFlag = true; 1983 #if O0062_POC_LSB_NOT_PRESENT_FLAG1984 1983 ::memset(m_pocLsbNotPresentFlag, 0, sizeof(m_pocLsbNotPresentFlag)); 1985 #endif1986 1984 m_crossLayerPictureTypeAlignFlag = true; 1987 1985 m_crossLayerIrapAlignFlag = true; -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1195 r1198 640 640 std::vector< std::vector<Int> > m_profileLevelTierIdx; 641 641 Bool m_maxOneActiveRefLayerFlag; 642 #if O0062_POC_LSB_NOT_PRESENT_FLAG643 642 Bool m_pocLsbNotPresentFlag[MAX_VPS_LAYER_IDX_PLUS1]; 644 #endif645 643 Bool m_crossLayerPictureTypeAlignFlag; 646 644 Bool m_crossLayerIrapAlignFlag; … … 942 940 Bool getMaxOneActiveRefLayerFlag() { return m_maxOneActiveRefLayerFlag; } 943 941 Void setMaxOneActiveRefLayerFlag(Bool x) { m_maxOneActiveRefLayerFlag = x; } 944 #if O0062_POC_LSB_NOT_PRESENT_FLAG945 942 UInt getPocLsbNotPresentFlag(Int i) { return m_pocLsbNotPresentFlag[i]; } 946 943 Void setPocLsbNotPresentFlag(Int i, Bool x) { m_pocLsbNotPresentFlag[i] = x; } 947 #endif948 944 #if P0297_VPS_POC_LSB_ALIGNED_FLAG 949 945 Bool getVpsPocLsbAlignedFlag() { return m_vpsPocLsbAlignedFlag; } -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1197 r1198 92 92 #define AUXILIARY_PICTURES 1 ///< JCTVC-O0041: auxiliary picture layers 93 93 #define R0062_AUX_PSEUDO_MONOCHROME 1 ///> JCVVC-R0063: pseudo monochrome for auxiliary pictures 94 #define O0062_POC_LSB_NOT_PRESENT_FLAG 1 ///< JCTVC-O0062: signal poc_lsb_not_present_flag for each layer in VPS extension95 94 #define VPS_DPB_SIZE_TABLE 1 ///< JCTVC-O0217: DPB operations: signaling DPB-related parameters 96 95 #define NO_CLRAS_OUTPUT_FLAG 1 -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1194 r1198 1278 1278 1279 1279 #if SVC_EXTENSION 1280 #if O0062_POC_LSB_NOT_PRESENT_FLAG1281 1280 if( ( pcSlice->getLayerId() > 0 && !pcSlice->getVPS()->getPocLsbNotPresentFlag( pcSlice->getVPS()->getLayerIdxInVps(pcSlice->getLayerId())) ) || !pcSlice->getIdrPicFlag() ) 1282 #else1283 if( pcSlice->getLayerId() > 0 || !pcSlice->getIdrPicFlag() )1284 #endif1285 1281 #else 1286 1282 else … … 3034 3030 vps->setVpsPocLsbAlignedFlag(uiCode); 3035 3031 #endif 3036 #if O0062_POC_LSB_NOT_PRESENT_FLAG 3032 3037 3033 for(i = 1; i< vps->getMaxLayers(); i++) 3038 3034 { … … 3043 3039 } 3044 3040 } 3045 #endif3046 3041 3047 3042 #if VPS_DPB_SIZE_TABLE … … 3186 3181 #endif 3187 3182 3188 #if O0062_POC_LSB_NOT_PRESENT_FLAG3189 3183 // When not present, poc_lsb_not_present_flag[ i ] is inferred to be equal to 0. 3190 for( i = 1; i< vps->getMaxLayers(); i++)3184 for( i = 1; i< vps->getMaxLayers(); i++ ) 3191 3185 { 3192 3186 vps->setPocLsbNotPresentFlag(i, 0); 3193 3187 } 3194 #endif3195 3188 3196 3189 // set default values for VPS VUI -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1191 r1198 980 980 981 981 #if SVC_EXTENSION 982 #if O0062_POC_LSB_NOT_PRESENT_FLAG983 982 if( (pcSlice->getLayerId() > 0 && !pcSlice->getVPS()->getPocLsbNotPresentFlag( pcSlice->getVPS()->getLayerIdxInVps(pcSlice->getLayerId())) ) || !pcSlice->getIdrPicFlag()) 984 #else985 if( pcSlice->getLayerId() > 0 || !pcSlice->getIdrPicFlag() )986 #endif987 983 #else 988 984 if( !pcSlice->getIdrPicFlag() ) … … 2196 2192 WRITE_FLAG(vps->getVpsPocLsbAlignedFlag(), "vps_poc_lsb_aligned_flag"); 2197 2193 #endif 2198 #if O0062_POC_LSB_NOT_PRESENT_FLAG 2199 for( i = 1; i< vps->getMaxLayers(); i++)2194 2195 for( i = 1; i< vps->getMaxLayers(); i++ ) 2200 2196 { 2201 2197 if( vps->getNumDirectRefLayers( vps->getLayerIdInNuh(i) ) == 0 ) … … 2204 2200 } 2205 2201 } 2206 #endif2207 2202 2208 2203 #if VPS_DPB_SIZE_TABLE
Note: See TracChangeset for help on using the changeset viewer.