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


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/App/TAppEncoder
Files:
2 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();
Note: See TracChangeset for help on using the changeset viewer.