Changeset 847 in SHVCSoftware


Ignore:
Timestamp:
29 Jul 2014, 00:31:31 (10 years ago)
Author:
qualcomm
Message:

JCTVC-R0221: Changes to BSP nesting SEI (Macro: NESTING_SEI_EXTENSIBILITY)

Include signalling the number of SEI messages in bitstream partition nesting SEI message.

From: Adarsh K. Ramasubramonian <aramasub@…>

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

Legend:

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

    r846 r847  
    4848#define VPS_VUI_OFFSET                   1      ///< N0085: Signal VPS VUI offset in the VPS extension
    4949#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
    5051#define O0137_MAX_LAYERID                1      ///< JCTVC-O0137, JCTVC-O0200, JCTVC-O0223: restrict nuh_layer_id and vps_max_layers_minus1
    5152
     
    299300#define MAX_NESTING_NUM_OPS         1024
    300301#define MAX_NESTING_NUM_LAYER       64
    301 
     302#if NESTING_SEI_EXTENSIBILITY
     303#define MAX_SEIS_IN_BSP_NESTING     64
     304#endif
    302305#if SVC_EXTENSION
    303306#define MAX_VPS_OP_LAYER_SETS_PLUS1               (MAX_LAYERS+1)
  • branches/SHM-dev/source/Lib/TLibDecoder/SEIread.cpp

    r846 r847  
    12341234
    12351235  // 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
    12361245  do {
    12371246#if LAYERS_NOT_PRESENT_SEI
     
    12411250#endif
    12421251  } while (m_pcBitstream->getNumBitsLeft() > 8);
     1252#endif
    12431253}
    12441254
  • branches/SHM-dev/source/Lib/TLibEncoder/SEIwrite.cpp

    r846 r847  
    903903    WRITE_FLAG( 0, "bsp_nesting_zero_bit" );
    904904  }
    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
    906909  // write nested SEI messages
    907910  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.