Changeset 435 in SHVCSoftware for branches/SHM-3.1-dev/source/Lib/TLibCommon
- Timestamp:
- 14 Oct 2013, 16:04:33 (11 years ago)
- Location:
- branches/SHM-3.1-dev/source/Lib/TLibCommon
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.1-dev/source/Lib/TLibCommon/SEI.h
r313 r435 75 75 LAYERS_PRESENT = 137, 76 76 #endif 77 #if N0383_IL_CONSTRAINED_TILE_SETS_SEI 78 INTER_LAYER_CONSTRAINED_TILE_SETS = 138 79 #endif 77 80 }; 78 81 … … 381 384 }; 382 385 386 #if N0383_IL_CONSTRAINED_TILE_SETS_SEI 387 class SEIInterLayerConstrainedTileSets : public SEI 388 { 389 public: 390 PayloadType payloadType() const { return INTER_LAYER_CONSTRAINED_TILE_SETS; } 391 392 SEIInterLayerConstrainedTileSets() {} 393 virtual ~SEIInterLayerConstrainedTileSets() {} 394 395 Bool m_ilAllTilesExactSampleValueMatchFlag; 396 Bool m_ilOneTilePerTileSetFlag; 397 UInt m_ilNumSetsInMessageMinus1; 398 Bool m_skippedTileSetPresentFlag; 399 UInt m_ilctsId[256]; 400 UInt m_ilNumTileRectsInSetMinus1[256]; 401 UInt m_ilTopLeftTileIndex[256][440]; 402 UInt m_ilBottomRightTileIndex[256][440]; 403 UInt m_ilcIdc[256]; 404 Bool m_ilExactSampleValueMatchFlag[256]; 405 UInt m_allTilesIlcIdc; 406 }; 407 #endif 408 409 383 410 typedef std::list<SEI*> SEIMessages; 384 411 -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComPicSym.cpp
r431 r435 115 115 m_puiCUOrderMap = new UInt[m_uiNumCUsInFrame+1]; 116 116 m_puiTileIdxMap = new UInt[m_uiNumCUsInFrame]; 117 #if N0383_IL_CONSTRAINED_TILE_SETS_SEI 118 m_piTileSetIdxMap = new Int[m_uiNumCUsInFrame]; 119 m_pucTileSetType = new UChar[m_uiNumCUsInFrame]; 120 m_pbSkippedTileSetFlag = new Bool[m_uiNumCUsInFrame]; 121 #endif 117 122 m_puiInverseCUOrderMap = new UInt[m_uiNumCUsInFrame+1]; 118 123 … … 166 171 delete [] m_puiTileIdxMap; 167 172 m_puiTileIdxMap = NULL; 173 #if N0383_IL_CONSTRAINED_TILE_SETS_SEI 174 delete [] m_piTileSetIdxMap; 175 m_piTileSetIdxMap = NULL; 176 delete [] m_pucTileSetType; 177 m_pucTileSetType = NULL; 178 delete [] m_pbSkippedTileSetFlag; 179 m_pbSkippedTileSetFlag = NULL; 180 #endif 168 181 169 182 delete [] m_puiInverseCUOrderMap; -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComPicSym.h
r431 r435 105 105 UInt* m_puiCUOrderMap; //the map of LCU raster scan address relative to LCU encoding order 106 106 UInt* m_puiTileIdxMap; //the map of the tile index relative to LCU raster scan address 107 #if N0383_IL_CONSTRAINED_TILE_SETS_SEI 108 Int* m_piTileSetIdxMap; //the map of the tile set index relative to LCU raster scan address 109 UChar* m_pucTileSetType; 110 Bool* m_pbSkippedTileSetFlag; 111 #endif 107 112 UInt* m_puiInverseCUOrderMap; 108 113 … … 143 148 UInt getCUOrderMap( Int encCUOrder ) { return *(m_puiCUOrderMap + (encCUOrder>=m_uiNumCUsInFrame ? m_uiNumCUsInFrame : encCUOrder)); } 144 149 UInt getTileIdxMap( Int i ) { return *(m_puiTileIdxMap + i); } 150 #if N0383_IL_CONSTRAINED_TILE_SETS_SEI 151 Void setTileSetIdxMap( Int i, Int tileSetIdx, UChar setType, Bool skipFlag ) 152 { 153 m_piTileSetIdxMap[i] = tileSetIdx; 154 m_pucTileSetType[i] = setType; 155 m_pbSkippedTileSetFlag[i] = skipFlag; 156 } 157 Int getTileSetIdxMap( Int i ) { return *(m_piTileSetIdxMap + i); } 158 UChar getTileSetType( Int i ) { return *(m_pucTileSetType + i); } 159 Bool getSkippedTileSetFlag( Int i ) { return *(m_pbSkippedTileSetFlag + i); } 160 #endif 145 161 Void setInverseCUOrderMap( Int cuAddr, Int encCUOrder ) { *(m_puiInverseCUOrderMap + cuAddr) = encCUOrder; } 146 162 UInt getInverseCUOrderMap( Int cuAddr ) { return *(m_puiInverseCUOrderMap + (cuAddr>=m_uiNumCUsInFrame ? m_uiNumCUsInFrame : cuAddr)); } -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TypeDef.h
r431 r435 157 157 #define VIEW_ID_RELATED_SIGNALING 1 ///< Introduce syntax elements view_id_len_minus1 and view_id_val 158 158 #define M0043_LAYERS_PRESENT_SEI 0 ///< JCTVC-M0043: add layers present SEI. Macro shall be equal to 0 according to the JCTVC-N0174 discussion. The code is to be removed. 159 #define N0383_IL_CONSTRAINED_TILE_SETS_SEI 1 159 160 #else 160 161 #define SYNTAX_OUTPUT 0
Note: See TracChangeset for help on using the changeset viewer.