Changeset 860 in SHVCSoftware for branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
- Timestamp:
- 11 Aug 2014, 23:24:03 (10 years ago)
- File:
-
- 1 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 {
Note: See TracChangeset for help on using the changeset viewer.