Changeset 836 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon


Ignore:
Timestamp:
23 Jul 2014, 04:38:40 (11 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/TLibCommon
Files:
3 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
Note: See TracChangeset for help on using the changeset viewer.