Changeset 1134 in SHVCSoftware


Ignore:
Timestamp:
7 Jul 2015, 23:04:30 (9 years ago)
Author:
seregin
Message:

macro cleanup: NESTING_SEI_EXTENSIBILITY

Location:
branches/SHM-dev/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1133 r1134  
    5151#define VPS_VUI_VST_PARAMS               1      ///< JCTVC-R0227: Related to signalling of VST parameters of the base layer.
    5252#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 message
    5453#define POC_RESET_RESTRICTIONS           1      ///< Restrictions on semantics of POC reset-related syntax elements, including one item from R0223
    5554#define POC_RESET_VALUE_RESTRICTION      1      ///< R0223: Restriction on the value of full_poc_reset_flag
     
    257256#endif
    258257#define P0123_ALPHA_CHANNEL_SEI          1      ///< JCTVC-P0123: SEI message for alpha channel information
     258#define MAX_SEIS_IN_BSP_NESTING          64
    259259
    260260#endif // SVC_EXTENSION
     
    316316#define MAX_NESTING_NUM_OPS                            1024
    317317#define MAX_NESTING_NUM_LAYER                            64
    318 
    319 #if NESTING_SEI_EXTENSIBILITY
    320 #define MAX_SEIS_IN_BSP_NESTING                          64
    321 #endif
    322318
    323319#if SVC_EXTENSION
  • branches/SHM-dev/source/Lib/TLibDecoder/SEIread.cpp

    r1098 r1134  
    15351535
    15361536  // read nested SEI messages
    1537 #if NESTING_SEI_EXTENSIBILITY
    15381537  Int numSeiMessages = 0;
    15391538  sei_read_uvlc( pDecodedMessageOutputStream, uiCode, "num_seis_in_bsp_minus1" );  assert( uiCode <= MAX_SEIS_IN_BSP_NESTING );
     
    15431542    xReadSEImessage(sei.m_nestedSEIs, nalUnitType, vps, sps, pDecodedMessageOutputStream, &nestingSei, &sei);
    15441543  }
    1545 #else
    1546   do {
    1547 #if LAYERS_NOT_PRESENT_SEI
    1548     xReadSEImessage(sei.m_nestedSEIs, nalUnitType, vps, sps, pDecodedMessageOutputStream, &nestingSei, &sei);
    1549 #else
    1550     xReadSEImessage(sei.m_nestedSEIs, nalUnitType, sps, pDecodedMessageOutputStream, &nestingSei);
    1551 #endif
    1552   } while (m_pcBitstream->getNumBitsLeft() > 8);
    1553 #endif
    15541544}
    15551545
  • branches/SHM-dev/source/Lib/TLibEncoder/SEIwrite.cpp

    r1098 r1134  
    11501150    WRITE_FLAG( 0, "bsp_nesting_zero_bit" );
    11511151  }
    1152 #if NESTING_SEI_EXTENSIBILITY
     1152
    11531153  assert( sei.m_nestedSEIs.size() <= MAX_SEIS_IN_BSP_NESTING );
    11541154  WRITE_UVLC( (UInt)sei.m_nestedSEIs.size(), "num_seis_in_bsp_minus1" );
    1155 #endif
     1155
    11561156  // write nested SEI messages
    11571157  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.