Changeset 244 in SHVCSoftware for branches/SHM-2.1-dev/source/App/TAppEncoder


Ignore:
Timestamp:
29 May 2013, 23:43:53 (12 years ago)
Author:
seregin
Message:

add config parameter for scalability_mask

Location:
branches/SHM-2.1-dev/source/App/TAppEncoder
Files:
3 edited

Legend:

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

    r212 r244  
    424424  ("NumLayers",               m_numLayers, 1, "Number of layers to code")
    425425  ("ConformanceMode%d",       cfg_conformanceMode,0, MAX_LAYERS, "Window conformance mode (0: no cropping, 1:automatic padding, 2: padding, 3:cropping")
    426 
     426  ("ScalabilityMask",       m_scalabilityMask, 1, "scalability_mask")
    427427  ("BitstreamFile,b",       cfg_BitstreamFile, string(""), "Bitstream output file name")
    428428  ("InputBitDepth",         m_inputBitDepthY,    8, "Bit-depth of input file")
  • branches/SHM-2.1-dev/source/App/TAppEncoder/TAppEncCfg.h

    r212 r244  
    6161  TAppEncLayerCfg m_acLayerCfg [MAX_LAYERS];
    6262  Int       m_numLayers;                                      ///< number of layers
    63 
     63  Int       m_scalabilityMask;                                ///< scalability_mask
    6464  Char*     m_pBitstreamFile;                                 ///< output bitstream file
    6565  Double    m_adLambdaModifier[ MAX_TLAYER ];                 ///< Lambda modifier array for each temporal layer
  • branches/SHM-2.1-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r243 r244  
    844844  if(m_numLayers > 1)
    845845  {
    846     vps->setScalabilityMask(1, true); // Only turn on spatial/SNR scalability
     846    vps->setScalabilityMask(m_scalabilityMask, true);
    847847    vps->setNumScalabilityTypes(1);
    848848  }
Note: See TracChangeset for help on using the changeset viewer.