Changeset 1193 in SHVCSoftware
- Timestamp:
- 8 Jul 2015, 19:31:16 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1192 r1193 53 53 #define Q0108_TSA_STSA 1 ///< JCTVC-Q0108, Remove cross-layer alignment constraints of TSA and STSA pictures, enable to have different prediction structures in different layers 54 54 #define Q0177_EOS_CHECKS 1 ///< JCTVC-Q0177; Put checks on handling EOS 55 #define Q0142_POC_LSB_NOT_PRESENT 1 ///< JCTVC-Q0142; Add constraint checking on the value of poc_reset_idc and poc_lsb_val56 55 #define P0130_EOB 1 ///< JCTVC-P0130, set layer Id of EOB NALU to be fixed to 0 57 56 #define DISCARDABLE_PIC_RPS 1 ///< JCTVC-P0130: Inter-layer RPS and temporal RPS should not contain picture with discardable_flag equal to 1 -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1192 r1193 1214 1214 } 1215 1215 1216 #if Q0142_POC_LSB_NOT_PRESENT1216 #if SVC_EXTENSION 1217 1217 Int iPOClsb = 0; 1218 1218 #endif … … 1276 1276 pcSlice->setRPS(rps); 1277 1277 } 1278 1278 1279 #if SVC_EXTENSION 1279 1280 #if O0062_POC_LSB_NOT_PRESENT_FLAG … … 1945 1946 pcSlice->setPocResetIdc( 0 ); 1946 1947 } 1947 #if Q0142_POC_LSB_NOT_PRESENT 1948 if 1948 1949 if( pcSlice->getVPS()->getPocLsbNotPresentFlag( pcSlice->getVPS()->getLayerIdxInVps(pcSlice->getLayerId()) ) && iPOClsb > 0 ) 1949 1950 { 1950 1951 assert( pcSlice->getPocResetIdc() != 2 ); 1951 1952 } 1952 #endif 1953 1953 1954 if( pcSlice->getPocResetIdc() > 0 ) 1954 1955 { … … 1961 1962 } 1962 1963 1963 if (pcSlice->getPocResetIdc() == 3)1964 if( pcSlice->getPocResetIdc() == 3 ) 1964 1965 { 1965 1966 READ_FLAG( uiCode, "full_poc_reset_flag"); pcSlice->setFullPocResetFlag((uiCode == 1) ? true : false); 1966 1967 READ_CODE(pcSlice->getSPS()->getBitsForPOC(), uiCode,"poc_lsb_val"); pcSlice->setPocLsbVal(uiCode); 1967 #if Q0142_POC_LSB_NOT_PRESENT 1968 if 1968 1969 if( pcSlice->getVPS()->getPocLsbNotPresentFlag( pcSlice->getVPS()->getLayerIdxInVps(pcSlice->getLayerId()) ) && pcSlice->getFullPocResetFlag() ) 1969 1970 { 1970 1971 assert( pcSlice->getPocLsbVal() == 0 ); 1971 1972 } 1972 #endif1973 1973 } 1974 1974
Note: See TracChangeset for help on using the changeset viewer.