Changeset 910 in SHVCSoftware for branches/SHM-dev/source


Ignore:
Timestamp:
21 Oct 2014, 13:03:58 (10 years ago)
Author:
nokia
Message:

JCTVC-R0062 pseudo-monochrome for auxiliary pictures.

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

Legend:

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

    r908 r910  
    35083508  for (UInt layer=0; layer < MAX_LAYERS-1; layer++)
    35093509  {
     3510#if R0062_AUX_PSEUDO_MONOCHROME
     3511    xConfirmPara(m_acLayerCfg[layer].m_auxId < 0 || m_acLayerCfg[layer].m_auxId > 2, "AuxId must be in range 0 to 2");
     3512#else
    35103513    xConfirmPara(m_acLayerCfg[layer].m_auxId < 0 || m_acLayerCfg[layer].m_auxId > 4, "AuxId must be in range 0 to 4");
    35113514    xConfirmPara(m_acLayerCfg[layer].m_auxId > 0 && m_acLayerCfg[layer].m_chromaFormatIDC != CHROMA_400, "Auxiliary picture must be monochrome picture");
     3515#endif
    35123516  }
    35133517#endif
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r908 r910  
    20292029
    20302030#if AUXILIARY_PICTURES
     2031#if R0062_AUX_PSEUDO_MONOCHROME
     2032        if ( m_acLayerCfg[layer].getChromaFormatIDC() == CHROMA_400 ||
     2033             (m_apcTEncTop[0]->getVPS()->getScalabilityMask(3) && (m_acLayerCfg[layer].getAuxId() == 1 || m_acLayerCfg[layer].getAuxId() == 2)) )
     2034#else
    20312035        if (m_acLayerCfg[layer].getChromaFormatIDC() == CHROMA_400)
     2036#endif
    20322037        {
    20332038          pcPicYuvOrg[layer]->convertToMonochrome();
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r908 r910  
    213213#define O0215_PHASE_ALIGNMENT            1      ///< JCTVC_O0215: signal a flag to specify phase alignment case, 0: zero-position-aligned, 1: central-position-aligned,
    214214#define AUXILIARY_PICTURES               1      ///< JCTVC-O0041: auxiliary picture layers
     215#define R0062_AUX_PSEUDO_MONOCHROME      1      ///> JCVVC-R0063: pseudo monochrome for auxiliary pictures
    215216
    216217#define O0062_POC_LSB_NOT_PRESENT_FLAG   1      ///< JCTVC-O0062: signal poc_lsb_not_present_flag for each layer in VPS extension
Note: See TracChangeset for help on using the changeset viewer.