Changeset 784 in SHVCSoftware
- Timestamp:
- 6 Jun 2014, 19:17:05 (11 years ago)
- Location:
- branches/SHM-6-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h
r783 r784 132 132 #define POC_RESET_RPS 1 ///< JCTVC-O0117 Modification to the decoding process for rps 133 133 #endif 134 135 #define ILP_NUM_REF_CHK 1 ///< JCTVC-N0195 proposal 1, JCTVC-N0081, JCTVC-N0154, JCTVC-N0217: a condition on signaling inter_layer_pred_layer_idc[ i ], to avoid sending when NumDirectRefLayers equals NumActiveRefLayerPics, and instead infer values136 134 137 135 #define VPS_RENAME 1 ///< Rename variables max_layer_id and num_layer_sets_minus1 in VPS -
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r783 r784 2861 2861 #endif 2862 2862 } 2863 #if ILP_NUM_REF_CHK 2863 2864 2864 if( rpcSlice->getActiveNumILRRefIdx() == rpcSlice->getNumILRRefIdx() ) 2865 2865 { … … 2871 2871 else 2872 2872 { 2873 #endif 2874 for(Int i = 0; i < rpcSlice->getActiveNumILRRefIdx(); i++ )2875 {2876 READ_CODE( numBits,uiCode,"inter_layer_pred_layer_idc[i]");2877 rpcSlice->setInterLayerPredLayerIdc(uiCode,i);2873 for(Int i = 0; i < rpcSlice->getActiveNumILRRefIdx(); i++ ) 2874 { 2875 READ_CODE( numBits,uiCode,"inter_layer_pred_layer_idc[i]" ); 2876 rpcSlice->setInterLayerPredLayerIdc(uiCode,i); 2877 } 2878 2878 } 2879 #if ILP_NUM_REF_CHK2880 }2881 #endif2882 2879 } 2883 2880 else -
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r783 r784 1982 1982 WRITE_CODE(pcSlice->getActiveNumILRRefIdx() - 1, numBits,"num_inter_layer_ref_pics_minus1"); 1983 1983 } 1984 #if ILP_NUM_REF_CHK 1984 1985 1985 if( pcSlice->getNumILRRefIdx() != pcSlice->getActiveNumILRRefIdx() ) 1986 1986 { 1987 #endif 1988 for(Int i = 0; i < pcSlice->getActiveNumILRRefIdx(); i++ )1989 {1990 WRITE_CODE(pcSlice->getInterLayerPredLayerIdc(i),numBits,"inter_layer_pred_layer_idc[i]");1987 for(Int i = 0; i < pcSlice->getActiveNumILRRefIdx(); i++ ) 1988 { 1989 WRITE_CODE(pcSlice->getInterLayerPredLayerIdc(i),numBits,"inter_layer_pred_layer_idc[i]"); 1990 } 1991 1991 } 1992 #if ILP_NUM_REF_CHK1993 }1994 #endif1995 1992 } 1996 1993 }
Note: See TracChangeset for help on using the changeset viewer.