Changeset 847 in SHVCSoftware
- Timestamp:
- 29 Jul 2014, 00:31:31 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r846 r847 48 48 #define VPS_VUI_OFFSET 1 ///< N0085: Signal VPS VUI offset in the VPS extension 49 49 #define REMOVE_BSP_HRD_SEI 1 ///< R0010: Remove bitstream partition HRD SEI message. 50 #define NESTING_SEI_EXTENSIBILITY 1 ///< R0221: Signalling the number of SEI messages in bitstream partition nesting SEI message 50 51 #define O0137_MAX_LAYERID 1 ///< JCTVC-O0137, JCTVC-O0200, JCTVC-O0223: restrict nuh_layer_id and vps_max_layers_minus1 51 52 … … 299 300 #define MAX_NESTING_NUM_OPS 1024 300 301 #define MAX_NESTING_NUM_LAYER 64 301 302 #if NESTING_SEI_EXTENSIBILITY 303 #define MAX_SEIS_IN_BSP_NESTING 64 304 #endif 302 305 #if SVC_EXTENSION 303 306 #define MAX_VPS_OP_LAYER_SETS_PLUS1 (MAX_LAYERS+1) -
branches/SHM-dev/source/Lib/TLibDecoder/SEIread.cpp
r846 r847 1234 1234 1235 1235 // read nested SEI messages 1236 #if NESTING_SEI_EXTENSIBILITY 1237 Int numSeiMessages = 0; 1238 READ_UVLC( uiCode, "num_seis_in_bsp_minus1" ); assert( uiCode <= MAX_SEIS_IN_BSP_NESTING ); 1239 numSeiMessages = uiCode; 1240 for(Int i = 0; i < numSeiMessages; i++) 1241 { 1242 xReadSEImessage(sei.m_nestedSEIs, nalUnitType, vps, sps, &nestingSei, &sei); 1243 } 1244 #else 1236 1245 do { 1237 1246 #if LAYERS_NOT_PRESENT_SEI … … 1241 1250 #endif 1242 1251 } while (m_pcBitstream->getNumBitsLeft() > 8); 1252 #endif 1243 1253 } 1244 1254 -
branches/SHM-dev/source/Lib/TLibEncoder/SEIwrite.cpp
r846 r847 903 903 WRITE_FLAG( 0, "bsp_nesting_zero_bit" ); 904 904 } 905 905 #if NESTING_SEI_EXTENSIBILITY 906 assert( sei.m_nestedSEIs.size() <= MAX_SEIS_IN_BSP_NESTING ); 907 WRITE_UVLC( sei.m_nestedSEIs.size(), "num_seis_in_bsp_minus1" ); 908 #endif 906 909 // write nested SEI messages 907 910 for (SEIMessages::const_iterator it = sei.m_nestedSEIs.begin(); it != sei.m_nestedSEIs.end(); it++)
Note: See TracChangeset for help on using the changeset viewer.