Changeset 836 in SHVCSoftware for branches


Ignore:
Timestamp:
23 Jul 2014, 04:38:40 (10 years ago)
Author:
qualcomm
Message:

Change vps_reserved_three_2bits syntax element to two flags. (Macro: VPS_RESERVED_FLAGS)

Change vps_reserved_three_2bits to vps_base_layer_internal_flag and vps_base_layer_available_flag. The signalling changes related to these syntax elements are to be made along with the integration fo the related proposal.

From: Adarsh K. Ramasubramonian <aramasub@…>

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp

    r834 r836  
    23092309TComVPS::TComVPS()
    23102310: m_VPSId                     (  0)
     2311#if VPS_RESERVED_FLAGS
     2312, m_baseLayerInternalFlag     (true)
     2313, m_baseLayerAvailableFlag    (true)
     2314#endif
    23112315, m_uiMaxTLayers              (  1)
    23122316, m_uiMaxLayers               (  1)
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h

    r834 r836  
    460460private:
    461461  Int         m_VPSId;
     462#if VPS_RESERVED_FLAGS
     463  Bool        m_baseLayerInternalFlag;
     464  Bool        m_baseLayerAvailableFlag;
     465#endif
    462466  UInt        m_uiMaxTLayers;
    463467  UInt        m_uiMaxLayers;
     
    748752  TComVPS();
    749753  virtual ~TComVPS();
     754
     755#if VPS_RESERVED_FLAGS
     756  Void        setBaseLayerInternalFlag(Bool x) { m_baseLayerInternalFlag = x; }
     757  Bool        getBaseLayerInternalFlag()         { return m_baseLayerInternalFlag; }
     758  Void        setBaseLayerAvailableFlag(Bool x) { m_baseLayerAvailableFlag = x; }
     759  Bool        getBaseLayerAvailableFlag()         { return m_baseLayerAvailableFlag; }
     760#endif
    750761
    751762  Void    createHrdParamBuffer()
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r835 r836  
    4444#define MAX_LAYERS                       8      ///< max number of layers the codec is supposed to handle
    4545
     46#define VPS_RESERVED_FLAGS               1      ///< vps_base_layer_internal_flag and vps_base_layer_available_flag
    4647#define VPS_VUI_OFFSET                   1      ///< N0085: Signal VPS VUI offset in the VPS extension
    4748#define O0137_MAX_LAYERID                1      ///< JCTVC-O0137, JCTVC-O0200, JCTVC-O0223: restrict nuh_layer_id and vps_max_layers_minus1
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r826 r836  
    924924
    925925  READ_CODE( 4,  uiCode,  "vps_video_parameter_set_id" );         pcVPS->setVPSId( uiCode );
     926#if VPS_RESERVED_FLAGS
     927  READ_FLAG( uiCode, "vps_base_layer_internal_flag");             pcVPS->setBaseLayerInternalFlag( uiCode ? true : false );
     928  READ_FLAG( uiCode, "vps_base_layer_available_flag");            pcVPS->setBaseLayerAvailableFlag( uiCode ? true : false );
     929#else
    926930  READ_CODE( 2,  uiCode,  "vps_reserved_three_2bits" );           assert(uiCode == 3);
     931#endif
    927932#if SVC_EXTENSION
    928933#if O0137_MAX_LAYERID
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r826 r836  
    706706#endif
    707707  WRITE_CODE( pcVPS->getVPSId(),                    4,        "vps_video_parameter_set_id" );
     708#if VPS_RESERVED_FLAGS
     709  WRITE_FLAG( pcVPS->getBaseLayerInternalFlag(),              "vps_base_layer_internal_flag");
     710  WRITE_FLAG( pcVPS->getBaseLayerAvailableFlag(),             "vps_base_layer_available_flag");
     711#else
    708712  WRITE_CODE( 3,                                    2,        "vps_reserved_three_2bits" );
     713#endif
    709714#if SVC_EXTENSION
    710715  WRITE_CODE( pcVPS->getMaxLayers() - 1,            6,        "vps_max_layers_minus1" );           
Note: See TracChangeset for help on using the changeset viewer.