Changeset 1134 in SHVCSoftware
- Timestamp:
- 7 Jul 2015, 23:04:30 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1133 r1134 51 51 #define VPS_VUI_VST_PARAMS 1 ///< JCTVC-R0227: Related to signalling of VST parameters of the base layer. 52 52 #define VPS_VUI_OFFSET 1 ///< N0085: Signal VPS VUI offset in the VPS extension 53 #define NESTING_SEI_EXTENSIBILITY 1 ///< R0221: Signalling the number of SEI messages in bitstream partition nesting SEI message54 53 #define POC_RESET_RESTRICTIONS 1 ///< Restrictions on semantics of POC reset-related syntax elements, including one item from R0223 55 54 #define POC_RESET_VALUE_RESTRICTION 1 ///< R0223: Restriction on the value of full_poc_reset_flag … … 257 256 #endif 258 257 #define P0123_ALPHA_CHANNEL_SEI 1 ///< JCTVC-P0123: SEI message for alpha channel information 258 #define MAX_SEIS_IN_BSP_NESTING 64 259 259 260 260 #endif // SVC_EXTENSION … … 316 316 #define MAX_NESTING_NUM_OPS 1024 317 317 #define MAX_NESTING_NUM_LAYER 64 318 319 #if NESTING_SEI_EXTENSIBILITY320 #define MAX_SEIS_IN_BSP_NESTING 64321 #endif322 318 323 319 #if SVC_EXTENSION -
branches/SHM-dev/source/Lib/TLibDecoder/SEIread.cpp
r1098 r1134 1535 1535 1536 1536 // read nested SEI messages 1537 #if NESTING_SEI_EXTENSIBILITY1538 1537 Int numSeiMessages = 0; 1539 1538 sei_read_uvlc( pDecodedMessageOutputStream, uiCode, "num_seis_in_bsp_minus1" ); assert( uiCode <= MAX_SEIS_IN_BSP_NESTING ); … … 1543 1542 xReadSEImessage(sei.m_nestedSEIs, nalUnitType, vps, sps, pDecodedMessageOutputStream, &nestingSei, &sei); 1544 1543 } 1545 #else1546 do {1547 #if LAYERS_NOT_PRESENT_SEI1548 xReadSEImessage(sei.m_nestedSEIs, nalUnitType, vps, sps, pDecodedMessageOutputStream, &nestingSei, &sei);1549 #else1550 xReadSEImessage(sei.m_nestedSEIs, nalUnitType, sps, pDecodedMessageOutputStream, &nestingSei);1551 #endif1552 } while (m_pcBitstream->getNumBitsLeft() > 8);1553 #endif1554 1544 } 1555 1545 -
branches/SHM-dev/source/Lib/TLibEncoder/SEIwrite.cpp
r1098 r1134 1150 1150 WRITE_FLAG( 0, "bsp_nesting_zero_bit" ); 1151 1151 } 1152 #if NESTING_SEI_EXTENSIBILITY 1152 1153 1153 assert( sei.m_nestedSEIs.size() <= MAX_SEIS_IN_BSP_NESTING ); 1154 1154 WRITE_UVLC( (UInt)sei.m_nestedSEIs.size(), "num_seis_in_bsp_minus1" ); 1155 #endif 1155 1156 1156 // write nested SEI messages 1157 1157 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.