Changeset 820 in SHVCSoftware for branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
- Timestamp:
- 7 Jul 2014, 11:08:41 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r815 r820 226 226 #if REF_IDX_MFM 227 227 #if AVC_BASE 228 m_acTEncTop[layer].setMFMEnabledFlag(layer == 0 ? false : ( m_avcBaseLayerFlag ? AVC_SYNTAX: true ) && m_acLayerCfg[layer].getNumMotionPredRefLayers());228 m_acTEncTop[layer].setMFMEnabledFlag(layer == 0 ? false : ( m_avcBaseLayerFlag ? false : true ) && m_acLayerCfg[layer].getNumMotionPredRefLayers()); 229 229 #else 230 230 m_acTEncTop[layer].setMFMEnabledFlag(layer == 0 ? false : ( m_acLayerCfg[layer].getNumMotionPredRefLayers() > 0 ) ); … … 1669 1669 } 1670 1670 1671 #if AVC_SYNTAX1672 fstream streamSyntaxFile;1673 if( m_acTEncTop[0].getVPS()->getAvcBaseLayerFlag() )1674 {1675 if( !m_BLSyntaxFile )1676 {1677 printf( "Wrong base layer syntax input file\n" );1678 exit(EXIT_FAILURE);1679 }1680 streamSyntaxFile.open( m_BLSyntaxFile, fstream::in | fstream::binary );1681 if( !streamSyntaxFile.good() )1682 {1683 printf( "Base layer syntax input reading error\n" );1684 exit(EXIT_FAILURE);1685 }1686 m_acTEncTop[0].setBLSyntaxFile( &streamSyntaxFile );1687 }1688 #endif1689 1690 1671 Bool bFirstFrame = true; 1691 1672 while ( !bEos ) … … 1884 1865 m_acTEncTop[layer].deletePicBuffer(); 1885 1866 } 1886 1887 #if AVC_SYNTAX1888 if( streamSyntaxFile.is_open() )1889 {1890 streamSyntaxFile.close();1891 }1892 #endif1893 1867 1894 1868 // delete buffers & classes … … 2324 2298 if (m_pchReconFile) 2325 2299 { 2326 #if SYNTAX_OUTPUT2327 2300 m_cTVideoIOYuvReconFile.write( pcPicYuvRec, m_confLeft, m_confRight, m_confTop, m_confBottom ); 2328 #endif2329 2301 } 2330 2302
Note: See TracChangeset for help on using the changeset viewer.