Changeset 571 in SHVCSoftware
- Timestamp:
- 28 Jan 2014, 05:40:30 (11 years ago)
- Location:
- branches/SHM-5.0-dev/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source/Lib/TLibCommon/TypeDef.h
r570 r571 162 162 #define VPS_TSLAYERS 1 ///< JCTVC-O0120 signal max temporal sub-layers for each layer 163 163 #define TSLAYERS_IL_RPS 1 ///< JCTVC-O0120 IL RPS based on max temporal sub-layers 164 #define P0079_DERIVE_NUMACTIVE_REF_PICS 1 ///< JCTVC-P0079 Modification of derivation of variable NumActiveRefLayerPics 164 165 #if REF_IDX_MFM 165 166 #define N0139_POSITION_ROUNDING_OFFSET 1 ///< JCTVC-N0139: offset for collocated block in motion mapping -
branches/SHM-5.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r570 r571 2131 2131 else 2132 2132 { 2133 #if P0079_DERIVE_NUMACTIVE_REF_PICS 2134 Int numRefLayerPics = 0; 2135 Int i = 0; 2136 Int refLayerPicIdc [MAX_VPS_LAYER_ID_PLUS1]; 2137 for(i = 0, numRefLayerPics = 0; i < rpcSlice->getNumILRRefIdx(); i++ ) 2138 { 2139 if(rpcSlice->getVPS()->getMaxTidIlRefPicsPlus1(rpcSlice->getVPS()->getLayerIdInVps(i),rpcSlice->getLayerId()) > rpcSlice->getTLayer() && 2140 (rpcSlice->getVPS()->getMaxTSLayersMinus1(rpcSlice->getVPS()->getLayerIdInVps(i)) >= rpcSlice->getTLayer()) ) 2141 { 2142 refLayerPicIdc[ numRefLayerPics++ ] = i; 2143 } 2144 } 2145 if (numRefLayerPics) 2146 rpcSlice->setActiveNumILRRefIdx(1); 2147 #else 2133 2148 rpcSlice->setActiveNumILRRefIdx(1); 2149 #endif 2134 2150 } 2135 2151 #if ILP_NUM_REF_CHK
Note: See TracChangeset for help on using the changeset viewer.