Changeset 766 in SHVCSoftware for branches/SHM-6-dev/source/App/TAppEncoder/TAppEncTop.cpp
- Timestamp:
- 30 Apr 2014, 18:29:32 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/App/TAppEncoder/TAppEncTop.cpp
r758 r766 1976 1976 rpcPicYuvRec = new TComPicYuv; 1977 1977 1978 #if SVC_EXTENSION1979 1978 #if LAYER_CTB 1980 1979 #if AUXILIARY_PICTURES … … 1990 1989 #endif 1991 1990 #endif 1992 #else1993 rpcPicYuvRec->create( m_acLayerCfg[layer].getSourceWidth(), m_acLayerCfg[layer].getSourceHeight(), m_uiMaxCUWidth, m_uiMaxCUHeight, m_uiMaxCUDepth );1994 #endif1995 1991 1996 1992 } … … 2017 2013 Void TAppEncTop::xWriteRecon(UInt layer, Int iNumEncoded) 2018 2014 { 2015 #if REPN_FORMAT_IN_VPS 2016 ChromaFormat chromaFormatIdc = m_acLayerCfg[layer].getChromaFormatIDC(); 2017 Int xScal = TComSPS::getWinUnitX( chromaFormatIdc ); 2018 Int yScal = TComSPS::getWinUnitY( chromaFormatIdc ); 2019 #endif 2020 2019 2021 if (m_isField) 2020 2022 { … … 2039 2041 #endif 2040 2042 { 2043 #if REPN_FORMAT_IN_VPS 2044 m_acTVideoIOYuvReconFile[layer].write( pcPicYuvRecTop, pcPicYuvRecBottom, m_acLayerCfg[layer].getConfLeft() * xScal, m_acLayerCfg[layer].getConfRight() * xScal, 2045 m_acLayerCfg[layer].getConfTop() * yScal, m_acLayerCfg[layer].getConfBottom() * yScal, m_isTopFieldFirst ); 2046 #else 2041 2047 m_acTVideoIOYuvReconFile[layer].write( pcPicYuvRecTop, pcPicYuvRecBottom, m_acLayerCfg[layer].getConfLeft(), m_acLayerCfg[layer].getConfRight(), m_acLayerCfg[layer].getConfTop(), m_acLayerCfg[layer].getConfBottom(), m_isTopFieldFirst ); 2048 #endif 2042 2049 } 2043 2050 } … … 2063 2070 #endif 2064 2071 { 2072 #if REPN_FORMAT_IN_VPS 2073 m_acTVideoIOYuvReconFile[layer].write( pcPicYuvRec, m_acLayerCfg[layer].getConfLeft() * xScal, m_acLayerCfg[layer].getConfRight() * xScal, 2074 m_acLayerCfg[layer].getConfTop() * yScal, m_acLayerCfg[layer].getConfBottom() * yScal ); 2075 #else 2065 2076 m_acTVideoIOYuvReconFile[layer].write( pcPicYuvRec, m_acLayerCfg[layer].getConfLeft(), m_acLayerCfg[layer].getConfRight(), 2066 2077 m_acLayerCfg[layer].getConfTop(), m_acLayerCfg[layer].getConfBottom() ); 2078 #endif 2067 2079 } 2068 2080 }
Note: See TracChangeset for help on using the changeset viewer.