Changeset 512 in SHVCSoftware for branches/SHM-4.1-dev/source


Ignore:
Timestamp:
5 Dec 2013, 15:23:55 (11 years ago)
Author:
nokia
Message:

Add alt_output_layer_flag (JCTVC-O0153)

Location:
branches/SHM-4.1-dev/source
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-4.1-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r507 r512  
    970970  ("IlNumSetsInMessage",               m_ilNumSetsInMessage,                         0u, "Number of inter layer constrained tile sets")
    971971  ("TileSetsArray",                    cfg_tileSets,                         string(""), "Array containing tile sets params (TopLeftTileIndex, BottonRightTileIndex and ilcIdc for each set) ")
     972#endif
     973#if O0153_ALT_OUTPUT_LAYER_FLAG
     974  ("AltOutputLayerFlag",               m_altOutputLayerFlag,                      false, "Specifies the value of alt_output_layer_flag in VPS extension")
    972975#endif
    973976  ;
  • branches/SHM-4.1-dev/source/App/TAppEncoder/TAppEncCfg.h

    r494 r512  
    358358  Int       m_log2MaxMvLengthHorizontal;                      ///< Indicate the maximum absolute value of a decoded horizontal MV component in quarter-pel luma units
    359359  Int       m_log2MaxMvLengthVertical;                        ///< Indicate the maximum absolute value of a decoded vertical MV component in quarter-pel luma units
     360#if O0153_ALT_OUTPUT_LAYER_FLAG
     361  Bool      m_altOutputLayerFlag;                             ///< Specifies the value of alt_output_laye_flag in VPS extension
     362#endif
    360363
    361364#if SVC_EXTENSION
  • branches/SHM-4.1-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r507 r512  
    618618    m_acTEncTop[layer].setChromaFormatIDC( m_acLayerCfg[layer].m_chromaFormatIDC );
    619619#endif
     620#if O0153_ALT_OUTPUT_LAYER_FLAG
     621    m_acTEncTop[layer].setAltOuputLayerFlag( m_altOutputLayerFlag );
     622#endif
    620623  }
    621624}
     
    13071310#endif
    13081311
     1312#if O0153_ALT_OUTPUT_LAYER_FLAG
     1313  vps->setAltOuputLayerFlag( m_altOutputLayerFlag );
     1314#endif
     1315
    13091316#else //SVC_EXTENSION
    13101317  m_cTEncTop.init(isFieldCoding);
  • branches/SHM-4.1-dev/source/Lib/TLibCommon/TComSlice.h

    r507 r512  
    616616  Int         m_avgPicRate          [MAX_VPS_LAYER_SETS_PLUS1][MAX_TLAYER];
    617617#endif
     618#if O0153_ALT_OUTPUT_LAYER_FLAG
     619  Bool       m_altOutputLayerFlag;
     620#endif
    618621#if REPN_FORMAT_IN_VPS
    619622  Bool       m_repFormatIdxPresentFlag;
     
    879882  Void setAvgPicRate(Int i, Int j, Int x)   { m_avgPicRate[i][j] = x;    }
    880883#endif
    881 
     884#if O0153_ALT_OUTPUT_LAYER_FLAG
     885  Bool   getAltOuputLayerFlag()             { return m_altOutputLayerFlag; }
     886  Void   setAltOuputLayerFlag(Bool x)       { m_altOutputLayerFlag = x;    }
     887#endif
    882888#if REPN_FORMAT_IN_VPS
    883889  Bool   getRepFormatIdxPresentFlag()       { return m_repFormatIdxPresentFlag; }
  • branches/SHM-4.1-dev/source/Lib/TLibCommon/TypeDef.h

    r509 r512  
    179179#define RESAMPLING_CONSTRAINT_BUG_FIX    1
    180180#define O0098_SCALED_REF_LAYER_ID        1      ///< JCTVC-O0098: signal scaled reference id
     181
     182#define O0153_ALT_OUTPUT_LAYER_FLAG      1      ///< JCTVC-O0153: alt output layer flag
    181183
    182184#else
  • branches/SHM-4.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r511 r512  
    12521252  }
    12531253
     1254#if O0153_ALT_OUTPUT_LAYER_FLAG
     1255  if( vps->getMaxLayers() > 1 )
     1256  {
     1257    READ_FLAG( uiCode, "alt_output_layer_flag");
     1258    vps->setAltOuputLayerFlag( uiCode ? true : false );
     1259  }
     1260#endif
     1261
    12541262#if REPN_FORMAT_IN_VPS
    12551263  READ_FLAG( uiCode, "rep_format_idx_present_flag");
  • branches/SHM-4.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r507 r512  
    999999  }
    10001000
     1001#if O0153_ALT_OUTPUT_LAYER_FLAG
     1002  if( vps->getMaxLayers() > 1 )
     1003  {
     1004    WRITE_FLAG( vps->getAltOuputLayerFlag(), "alt_output_layer_flag" );   
     1005  }
     1006#endif
     1007
    10011008#if REPN_FORMAT_IN_VPS
    10021009  WRITE_FLAG( vps->getRepFormatIdxPresentFlag(), "rep_format_idx_present_flag");
  • branches/SHM-4.1-dev/source/Lib/TLibEncoder/TEncCfg.h

    r494 r512  
    392392#if M0040_ADAPTIVE_RESOLUTION_CHANGE
    393393  Int       m_adaptiveResolutionChange;
     394#endif
     395#if O0153_ALT_OUTPUT_LAYER_FLAG
     396  Bool      m_altOutputLayerFlag;
    394397#endif
    395398#endif
     
    938941  ChromaFormat getChromaFormatIDC()               { return m_chromaFormatIDC; }
    939942#endif
     943#if O0153_ALT_OUTPUT_LAYER_FLAG
     944  Bool      getAltOuputLayerFlag() const { return m_altOutputLayerFlag; }
     945  Void      setAltOuputLayerFlag(Bool b) { m_altOutputLayerFlag = b;    }
     946#endif
    940947#endif
    941948};
Note: See TracChangeset for help on using the changeset viewer.