- Timestamp:
- 25 Apr 2014, 01:30:28 (11 years ago)
- Location:
- branches/SHM-6-dev/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h
r740 r741 50 50 51 51 #define Q0177_SPS_TEMP_NESTING_FIX 1 ///< JCTVC-Q0177; Fix the inference value of sps_temporal_id_nesting_flag when it is not present 52 #define Q0142_POC_LSB_NOT_PRESENT 1 ///< JCTVC-Q0142; Add constraint checking on the value of poc_reset_idc and poc_lsb_val 52 53 53 54 #define Q0200_CONFORMANCE_BL_SIZE 1 ///< JCTVC-Q0200; use conformance picture size in re-sampling processs -
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r740 r741 2440 2440 } 2441 2441 2442 #if Q0142_POC_LSB_NOT_PRESENT 2443 #if SHM_FIX7 2444 Int iPOClsb = 0; 2445 #endif 2446 #endif 2447 2442 2448 if(!rpcSlice->getDependentSliceSegmentFlag()) 2443 2449 { … … 2512 2518 } 2513 2519 #if N0065_LAYER_POC_ALIGNMENT 2520 #if !Q0142_POC_LSB_NOT_PRESENT 2514 2521 #if SHM_FIX7 2515 2522 Int iPOClsb = 0; 2523 #endif 2516 2524 #endif 2517 2525 #if O0062_POC_LSB_NOT_PRESENT_FLAG … … 3180 3188 rpcSlice->setPocResetIdc( 0 ); 3181 3189 } 3190 #if Q0142_POC_LSB_NOT_PRESENT 3191 if ( rpcSlice->getVPS()->getPocLsbNotPresentFlag(rpcSlice->getLayerId()) && iPOClsb > 0 ) 3192 { 3193 assert( rpcSlice->getPocResetIdc() != 2 ); 3194 } 3195 #endif 3182 3196 if( rpcSlice->getPocResetIdc() > 0 ) 3183 3197 { … … 3194 3208 READ_FLAG( uiCode, "full_poc_reset_flag"); rpcSlice->setFullPocResetFlag((uiCode == 1) ? true : false); 3195 3209 READ_CODE(rpcSlice->getSPS()->getBitsForPOC(), uiCode,"poc_lsb_val"); rpcSlice->setPocLsbVal(uiCode); 3210 #if Q0142_POC_LSB_NOT_PRESENT 3211 if ( rpcSlice->getVPS()->getPocLsbNotPresentFlag(rpcSlice->getLayerId()) && rpcSlice->getFullPocResetFlag() ) 3212 { 3213 assert( rpcSlice->getPocLsbVal() == 0 ); 3214 } 3215 #endif 3196 3216 } 3197 3217
Note: See TracChangeset for help on using the changeset viewer.