Changeset 1225 in SHVCSoftware
- Timestamp:
- 9 Jul 2015, 00:15:08 (9 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1214 r1225 4193 4193 if( layerIdx < MAX_LAYERS-1 ) 4194 4194 { 4195 #if R0062_AUX_PSEUDO_MONOCHROME4196 4195 xConfirmPara(m_acLayerCfg[layerIdx].m_auxId < 0 || m_acLayerCfg[layerIdx].m_auxId > 2, "AuxId must be in range 0 to 2"); 4197 #else4198 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 #endif4201 4196 } 4202 4197 #endif -
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1224 r1225 1748 1748 1749 1749 #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)) ) 1756 1751 { 1757 1752 pcPicYuvOrg[layer]->convertToMonochrome(); -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1224 r1225 63 63 #define REF_IDX_MFM 1 ///< JCTVC-L0336: motion vector mapping of inter-layer reference picture 64 64 #define AUXILIARY_PICTURES 1 ///< JCTVC-O0041: auxiliary picture layers 65 #define R0062_AUX_PSEUDO_MONOCHROME 1 ///> JCVVC-R0063: pseudo monochrome for auxiliary pictures66 65 #define NO_CLRAS_OUTPUT_FLAG 1 67 66 #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.