Changeset 569 in SHVCSoftware for branches/SHM-5.0-dev/source
- Timestamp:
- 28 Jan 2014, 00:05:18 (11 years ago)
- Location:
- branches/SHM-5.0-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source/Lib/TLibCommon/TComSlice.cpp
r565 r569 475 475 { 476 476 numInterLayerRPSPics++; 477 #if DISCARDABLE_PIC_RPS 478 assert( ilpPic[i]->getSlice(0)->getDiscardableFlag() == 0 ); // Inter-layer RPS shall not contain picture with discardable_flag = 1. 479 #endif 477 480 } 478 481 } … … 1426 1429 1427 1430 } 1431 #if DISCARDABLE_PIC_RPS 1432 if( isReference ) // Current picture is in the temporal RPS 1433 { 1434 assert( rpcPic->getSlice(0)->getDiscardableFlag() == 0 ); // Temporal RPS shall not contain picture with discardable_flag equal to 1 1435 } 1436 #endif 1428 1437 // mark the picture as "unused for reference" if it is not in 1429 1438 // the Reference Picture Set -
branches/SHM-5.0-dev/source/Lib/TLibCommon/TypeDef.h
r568 r569 53 53 #define P0307_REMOVE_VPS_VUI_OFFSET 1 ///< JCTVC-P0307, remove implementation related to VPS VUI offset signalling 54 54 #define P0307_VPS_NON_VUI_EXTENSION 1 ///< JCTVC-P0307, implementation related to NON VUI VPS Extension signalling 55 56 #define DISCARDABLE_PIC_RPS 1 ///< JCTVC-P0130: Inter-layer RPS and temporal RPS should not contain picture with discardable_flag equal to 1 55 57 56 58 #define O0109_O0199_FLAGS_TO_VUI 1 ///< JCTVC-O0109, O0199: move single_layer_for_non_irap_flag and higher_layer_flag to vps_vui -
branches/SHM-5.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r568 r569 1809 1809 if(rpcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits) 1810 1810 { 1811 #if DISCARDABLE_PIC_RPS 1812 READ_FLAG(uiCode, "discardable_flag"); rpcSlice->setDiscardableFlag( uiCode ? true : false ); 1813 #else 1811 1814 READ_FLAG(uiCode, "discardable_flag"); // ignored 1815 #endif 1812 1816 iBits++; 1813 1817 }
Note: See TracChangeset for help on using the changeset viewer.