Changeset 1501 in SHVCSoftware for branches/SHM-dev/source/App
- Timestamp:
- 9 Dec 2015, 20:33:28 (9 years ago)
- Location:
- branches/SHM-dev/source/App/TAppEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1488 r1501 1985 1985 m_apcLayerCfg[layer]->m_bitDepthConstraint = (m_profileList[layerPTLIdx] == Profile::MAIN10 || m_profileList[layerPTLIdx] == Profile::SCALABLEMAIN10) ? 10 : 8; 1986 1986 } 1987 #if FORMATIDX_CHECK1988 for(Int compareLayer = 0; compareLayer < layer; compareLayer++ )1989 {1990 if(m_apcLayerCfg[layer]->m_repFormatIdx == m_apcLayerCfg[compareLayer]->m_repFormatIdx && (1991 m_apcLayerCfg[layer]->m_chromaFormatIDC != m_apcLayerCfg[compareLayer]->m_chromaFormatIDC1992 // separate_colour_plane_flag not supported yet but if supported insert check here1993 || m_apcLayerCfg[layer]->m_iSourceWidth != m_apcLayerCfg[compareLayer]->m_iSourceWidth1994 || m_apcLayerCfg[layer]->m_iSourceHeight != m_apcLayerCfg[compareLayer]->m_iSourceHeight1995 || m_apcLayerCfg[layer]->m_internalBitDepth[0] != m_apcLayerCfg[compareLayer]->m_internalBitDepth[0]1996 || m_apcLayerCfg[layer]->m_internalBitDepth[1] != m_apcLayerCfg[compareLayer]->m_internalBitDepth[1]1997 || m_apcLayerCfg[layer]->m_confWinLeft != m_apcLayerCfg[compareLayer]->m_confWinLeft1998 || m_apcLayerCfg[layer]->m_confWinRight != m_apcLayerCfg[compareLayer]->m_confWinRight1999 || m_apcLayerCfg[layer]->m_confWinTop != m_apcLayerCfg[compareLayer]->m_confWinTop2000 || m_apcLayerCfg[layer]->m_confWinBottom != m_apcLayerCfg[compareLayer]->m_confWinBottom2001 ))2002 {2003 fprintf(stderr, "Error: Two layers using the same FormatIdx value must share the same values of the related parameters\n");2004 exit(EXIT_FAILURE);2005 }2006 }2007 #endif2008 1987 } 2009 1988 #else -
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1475 r1501 138 138 139 139 maxRepFormatIdx = std::max( m_apcLayerCfg[layer]->getRepFormatIdx(), maxRepFormatIdx ); 140 141 #if FORMATIDX_CHECK 142 for( Int compareLayer = 0; compareLayer < layer; compareLayer++ ) 143 { 144 if(m_apcLayerCfg[layer]->m_repFormatIdx == m_apcLayerCfg[compareLayer]->m_repFormatIdx && ( 145 m_apcLayerCfg[layer]->m_chromaFormatIDC != m_apcLayerCfg[compareLayer]->m_chromaFormatIDC 146 // separate_colour_plane_flag not supported yet but if supported insert check here 147 || m_apcLayerCfg[layer]->m_iSourceWidth != m_apcLayerCfg[compareLayer]->m_iSourceWidth 148 || m_apcLayerCfg[layer]->m_iSourceHeight != m_apcLayerCfg[compareLayer]->m_iSourceHeight 149 || m_apcLayerCfg[layer]->m_internalBitDepth[0] != m_apcLayerCfg[compareLayer]->m_internalBitDepth[0] 150 || m_apcLayerCfg[layer]->m_internalBitDepth[1] != m_apcLayerCfg[compareLayer]->m_internalBitDepth[1] 151 || m_apcLayerCfg[layer]->m_confWinLeft != m_apcLayerCfg[compareLayer]->m_confWinLeft 152 || m_apcLayerCfg[layer]->m_confWinRight != m_apcLayerCfg[compareLayer]->m_confWinRight 153 || m_apcLayerCfg[layer]->m_confWinTop != m_apcLayerCfg[compareLayer]->m_confWinTop 154 || m_apcLayerCfg[layer]->m_confWinBottom != m_apcLayerCfg[compareLayer]->m_confWinBottom 155 )) 156 { 157 fprintf(stderr, "Error: Two layers using the same FormatIdx value must share the same values of the related parameters\n"); 158 exit(EXIT_FAILURE); 159 } 160 } 161 #endif 140 162 } 141 163
Note: See TracChangeset for help on using the changeset viewer.