Changeset 1225 in SHVCSoftware


Ignore:
Timestamp:
9 Jul 2015, 00:15:08 (9 years ago)
Author:
seregin
Message:

macro cleanup: R0062_AUX_PSEUDO_MONOCHROME

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

Legend:

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

    r1214 r1225  
    41934193  if( layerIdx < MAX_LAYERS-1 )
    41944194  {
    4195 #if R0062_AUX_PSEUDO_MONOCHROME
    41964195    xConfirmPara(m_acLayerCfg[layerIdx].m_auxId < 0 || m_acLayerCfg[layerIdx].m_auxId > 2, "AuxId must be in range 0 to 2");
    4197 #else
    4198     xConfirmPara(m_acLayerCfg[layerIdx].m_auxId < 0 || m_acLayerCfg[layerIdx].m_auxId > 4, "AuxId must be in range 0 to 4");
    4199     xConfirmPara(m_acLayerCfg[layerIdx].m_auxId > 0 && m_acLayerCfg[layerIdx].m_chromaFormatIDC != CHROMA_400, "Auxiliary picture must be monochrome picture");
    4200 #endif
    42014196  }
    42024197#endif
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1224 r1225  
    17481748
    17491749#if AUXILIARY_PICTURES
    1750 #if R0062_AUX_PSEUDO_MONOCHROME
    1751         if ( m_acLayerCfg[layer].getChromaFormatIDC() == CHROMA_400 ||
    1752              (m_apcTEncTop[0]->getVPS()->getScalabilityMask(AUX_ID) && (m_acLayerCfg[layer].getAuxId() == AUX_ALPHA || m_acLayerCfg[layer].getAuxId() == AUX_DEPTH)) )
    1753 #else
    1754         if (m_acLayerCfg[layer].getChromaFormatIDC() == CHROMA_400)
    1755 #endif
     1750        if( m_acLayerCfg[layer].getChromaFormatIDC() == CHROMA_400 || (m_apcTEncTop[0]->getVPS()->getScalabilityMask(AUX_ID) && (m_acLayerCfg[layer].getAuxId() == AUX_ALPHA || m_acLayerCfg[layer].getAuxId() == AUX_DEPTH)) )
    17561751        {
    17571752          pcPicYuvOrg[layer]->convertToMonochrome();
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1224 r1225  
    6363#define REF_IDX_MFM                      1      ///< JCTVC-L0336: motion vector mapping of inter-layer reference picture
    6464#define AUXILIARY_PICTURES               1      ///< JCTVC-O0041: auxiliary picture layers
    65 #define R0062_AUX_PSEUDO_MONOCHROME      1      ///> JCVVC-R0063: pseudo monochrome for auxiliary pictures
    6665#define NO_CLRAS_OUTPUT_FLAG             1
    6766#define P0138_USE_ALT_CPB_PARAMS_FLAG    1      ///< JCTVC-P0138: use_alt_cpb_params_flag syntax in buffering period SEI message extension
Note: See TracChangeset for help on using the changeset viewer.