Changeset 860 in SHVCSoftware for branches/SHM-dev/source/App
- Timestamp:
- 11 Aug 2014, 23:24:03 (10 years ago)
- Location:
- branches/SHM-dev/source/App/TAppEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r859 r860 2084 2084 exit(EXIT_FAILURE); 2085 2085 } 2086 2086 Int tempCode; 2087 2087 retval = fscanf( fic, "%d", &m_acLayerCfg[layer].m_colourRemapSEIId ); 2088 retval = fscanf( fic, "%d", & m_acLayerCfg[layer].m_colourRemapSEICancelFlag );2088 retval = fscanf( fic, "%d", &tempCode ); m_acLayerCfg[layer].m_colourRemapSEICancelFlag = tempCode ? 1 : 0; 2089 2089 if( !m_acLayerCfg[layer].m_colourRemapSEICancelFlag ) 2090 2090 { 2091 retval = fscanf( fic, "%d", & m_acLayerCfg[layer].m_colourRemapSEIPersistenceFlag );2092 retval = fscanf( fic, "%d", & m_acLayerCfg[layer].m_colourRemapSEIVideoSignalTypePresentFlag);2091 retval = fscanf( fic, "%d", &tempCode ); m_acLayerCfg[layer].m_colourRemapSEIPersistenceFlag = tempCode ? 1 : 0; 2092 retval = fscanf( fic, "%d", &tempCode ); m_acLayerCfg[layer].m_colourRemapSEIVideoSignalTypePresentFlag = tempCode ? 1 : 0; 2093 2093 if( m_acLayerCfg[layer].m_colourRemapSEIVideoSignalTypePresentFlag ) 2094 2094 { 2095 retval = fscanf( fic, "%d", & m_acLayerCfg[layer].m_colourRemapSEIVideoFullRangeFlag );2095 retval = fscanf( fic, "%d", &tempCode ); m_acLayerCfg[layer].m_colourRemapSEIVideoFullRangeFlag = tempCode ? 1 : 0; 2096 2096 retval = fscanf( fic, "%d", &m_acLayerCfg[layer].m_colourRemapSEIPrimaries ); 2097 2097 retval = fscanf( fic, "%d", &m_acLayerCfg[layer].m_colourRemapSEITransferCharacteristics ); … … 2117 2117 } 2118 2118 2119 retval = fscanf( fic, "%d", & m_acLayerCfg[layer].m_colourRemapSEIMatrixPresentFlag );2119 retval = fscanf( fic, "%d", &tempCode ); m_acLayerCfg[layer].m_colourRemapSEIMatrixPresentFlag = tempCode ? 1 : 0; 2120 2120 if( m_acLayerCfg[layer].m_colourRemapSEIMatrixPresentFlag ) 2121 2121 { -
branches/SHM-dev/source/App/TAppEncoder/TAppEncLayerCfg.cpp
r859 r860 228 228 } 229 229 230 Int tempCode; 230 231 retval = fscanf( fic, "%d", &m_colourRemapSEIId ); 231 retval = fscanf( fic, "%d", & m_colourRemapSEICancelFlag );232 retval = fscanf( fic, "%d", &tempCode );m_colourRemapSEICancelFlag = tempCode ? 1 : 0; 232 233 if( !m_colourRemapSEICancelFlag ) 233 234 { 234 retval = fscanf( fic, "%d", & m_colourRemapSEIPersistenceFlag );235 retval = fscanf( fic, "%d", & m_colourRemapSEIVideoSignalTypePresentFlag);235 retval = fscanf( fic, "%d", &tempCode );m_colourRemapSEIPersistenceFlag = tempCode ? 1 : 0; 236 retval = fscanf( fic, "%d", &tempCode );m_colourRemapSEIVideoSignalTypePresentFlag = tempCode ? 1 : 0; 236 237 if( m_colourRemapSEIVideoSignalTypePresentFlag ) 237 238 { 238 retval = fscanf( fic, "%d", & m_colourRemapSEIVideoFullRangeFlag );239 retval = fscanf( fic, "%d", &tempCode );m_colourRemapSEIVideoFullRangeFlag = tempCode ? 1 : 0; 239 240 retval = fscanf( fic, "%d", &m_colourRemapSEIPrimaries ); 240 241 retval = fscanf( fic, "%d", &m_colourRemapSEITransferCharacteristics ); … … 260 261 } 261 262 262 retval = fscanf( fic, "%d", & m_colourRemapSEIMatrixPresentFlag );263 retval = fscanf( fic, "%d", &tempCode );m_colourRemapSEIMatrixPresentFlag = tempCode ? 1 : 0; 263 264 if( m_colourRemapSEIMatrixPresentFlag ) 264 265 {
Note: See TracChangeset for help on using the changeset viewer.