Changeset 531 in SHVCSoftware for branches/SHM-4.1-dev/source/Lib/TLibCommon
- Timestamp:
- 31 Dec 2013, 16:50:03 (11 years ago)
- Location:
- branches/SHM-4.1-dev/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.1-dev/source/Lib/TLibCommon/TComSlice.cpp
r530 r531 114 114 #endif 115 115 , m_bDiscardableFlag ( false ) 116 #if O0149_CROSS_LAYER_BLA_FLAG 117 , m_bCrossLayerBLAFlag ( false ) 118 #endif 116 119 #endif //SVC_EXTENSION 117 120 { … … 1052 1055 * If the current picture has a nal_ref_idc that is not 0, it will remain marked as "used for reference". 1053 1056 */ 1057 #if NO_CLRAS_OUTPUT_FLAG 1058 Void TComSlice::decodingRefreshMarking(Int& pocCRA, Bool& bRefreshPending, TComList<TComPic*>& rcListPic, Bool noClrasOutputFlag) 1059 #else 1054 1060 Void TComSlice::decodingRefreshMarking(Int& pocCRA, Bool& bRefreshPending, TComList<TComPic*>& rcListPic) 1061 #endif 1055 1062 { 1056 1063 TComPic* rpcPic; … … 1070 1077 rpcPic = *(iterPic); 1071 1078 rpcPic->setCurrSliceIdx(0); 1079 #if NO_CLRAS_OUTPUT_FLAG 1080 if (noClrasOutputFlag) 1081 { 1082 if (rpcPic->getPOC() != pocCurr) rpcPic->getSlice(0)->setReferenced(false); // all layers 1083 } 1084 else 1085 { 1086 if (rpcPic->getPOC() != pocCurr && rpcPic->getLayerId() == m_layerId) rpcPic->getSlice(0)->setReferenced(false); // only current layer 1087 } 1088 #else 1072 1089 if (rpcPic->getPOC() != pocCurr) rpcPic->getSlice(0)->setReferenced(false); 1090 #endif 1073 1091 iterPic++; 1074 1092 } -
branches/SHM-4.1-dev/source/Lib/TLibCommon/TComSlice.h
r530 r531 1888 1888 #endif 1889 1889 Bool m_bDiscardableFlag; 1890 #if O0149_CROSS_LAYER_BLA_FLAG 1891 Bool m_bCrossLayerBLAFlag; 1892 #endif 1890 1893 #endif //SVC_EXTENSION 1891 1894 … … 1977 1980 Bool isIRAP () const { return (getNalUnitType() >= 16) && (getNalUnitType() <= 23); } 1978 1981 Void checkCRA(TComReferencePictureSet *pReferencePictureSet, Int& pocCRA, NalUnitType& associatedIRAPType, TComList<TComPic *>& rcListPic); 1982 #if NO_CLRAS_OUTPUT_FLAG 1983 Void decodingRefreshMarking(Int& pocCRA, Bool& bRefreshPending, TComList<TComPic*>& rcListPic, Bool noClrasOutputFlag); 1984 #else 1979 1985 Void decodingRefreshMarking(Int& pocCRA, Bool& bRefreshPending, TComList<TComPic*>& rcListPic); 1986 #endif 1980 1987 Void setSliceType ( SliceType e ) { m_eSliceType = e; } 1981 1988 Void setSliceQp ( Int i ) { m_iSliceQp = i; } … … 2204 2211 Bool getDiscardableFlag () { return m_bDiscardableFlag; } 2205 2212 Void setDiscardableFlag (Bool b) { m_bDiscardableFlag = b; } 2213 #if O0149_CROSS_LAYER_BLA_FLAG 2214 Bool getCrossLayerBLAFlag () { return m_bCrossLayerBLAFlag; } 2215 Void setCrossLayerBLAFlag (Bool b) { m_bCrossLayerBLAFlag = b; } 2216 #endif 2206 2217 2207 2218 #if RPL_INIT_N0316_N0082 -
branches/SHM-4.1-dev/source/Lib/TLibCommon/TypeDef.h
r530 r531 207 207 #endif 208 208 #endif 209 210 #define NO_CLRAS_OUTPUT_FLAG 1 211 #define O0149_CROSS_LAYER_BLA_FLAG 1 ///< JCTVC-O0149: signal cross_layer_bla_flag in slice header 212 209 213 #else 210 214 #define SYNTAX_OUTPUT 0
Note: See TracChangeset for help on using the changeset viewer.