Changeset 1289 in SHVCSoftware for branches/SHM-dev/source/App
- Timestamp:
- 18 Jul 2015, 00:52:46 (10 years ago)
- Location:
- branches/SHM-dev/source/App
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp
r1287 r1289 56 56 //! \{ 57 57 58 #if Q0074_COLOUR_REMAPPING_SEI59 static Void applyColourRemapping(TComPicYuv& pic, const SEIColourRemappingInfo* colourRemappingInfoSEI, const BitDepths& bitDpeths, UInt layerId=0 );60 static std::vector<SEIColourRemappingInfo> storeCriSEI; //Persistent Colour Remapping Information SEI61 static SEIColourRemappingInfo *seiColourRemappingInfoPrevious=NULL ;62 #endif63 64 58 // ==================================================================================================================== 65 59 // Constructor / destructor / initialization / destroy … … 68 62 #if SVC_EXTENSION 69 63 TAppDecTop::TAppDecTop() 64 #if Q0074_COLOUR_REMAPPING_SEI 65 : seiColourRemappingInfoPrevious(NULL) 66 #endif 70 67 { 71 68 for(UInt layer=0; layer < MAX_LAYERS; layer++) … … 78 75 TAppDecTop::TAppDecTop() 79 76 : m_iPOCLastDisplay(-MAX_INT) 77 #if Q0074_COLOUR_REMAPPING_SEI 78 , seiColourRemappingInfoPrevious(NULL) 79 #endif 80 80 { 81 81 } … … 939 939 SEIMessages colourRemappingInfo = getSeisByType(pcPic->getSEIs(), SEI::COLOUR_REMAPPING_INFO ); 940 940 const SEIColourRemappingInfo *seiColourRemappingInfo = ( colourRemappingInfo.size() > 0 ) ? (SEIColourRemappingInfo*) *(colourRemappingInfo.begin()) : NULL; 941 const TComSPS *sps = pcPic->getSlice(0)->getSPS(); 942 941 943 if (colourRemappingInfo.size() > 1) 942 944 { … … 945 947 if (seiColourRemappingInfo) 946 948 { 947 applyColourRemapping(*pcPic->getPicYuvRec(), seiColourRemappingInfo);949 xApplyColourRemapping(sps, *pcPic->getPicYuvRec(), seiColourRemappingInfo); 948 950 } 949 951 else // using the last CRI SEI received … … 951 953 const SEIColourRemappingInfo *seiColourRemappingInfoCopy; 952 954 seiColourRemappingInfoCopy = seiColourRemappingInfoPrevious; 953 applyColourRemapping(*pcPic->getPicYuvRec(), seiColourRemappingInfoCopy);955 xApplyColourRemapping(sps, *pcPic->getPicYuvRec(), seiColourRemappingInfoCopy); 954 956 } 955 957 … … 1164 1166 SEIMessages colourRemappingInfo = getSeisByType(pcPic->getSEIs(), SEI::COLOUR_REMAPPING_INFO ); 1165 1167 const SEIColourRemappingInfo *seiColourRemappingInfo = ( colourRemappingInfo.size() > 0 ) ? (SEIColourRemappingInfo*) *(colourRemappingInfo.begin()) : NULL; 1168 const TComSPS *sps = pcPic->getSlice(0)->getSPS(); 1169 1166 1170 if (colourRemappingInfo.size() > 1) 1167 1171 { … … 1170 1174 if (seiColourRemappingInfo) 1171 1175 { 1172 applyColourRemapping(*pcPic->getPicYuvRec(), seiColourRemappingInfo);1176 xApplyColourRemapping( sps, *pcPic->getPicYuvRec(), seiColourRemappingInfo ); 1173 1177 } 1174 1178 else // using the last CRI SEI received … … 1176 1180 const SEIColourRemappingInfo *seiColourRemappingInfoCopy; 1177 1181 seiColourRemappingInfoCopy = seiColourRemappingInfoPrevious; 1178 applyColourRemapping(*pcPic->getPicYuvRec(), seiColourRemappingInfoCopy);1182 xApplyColourRemapping( sps, *pcPic->getPicYuvRec(), seiColourRemappingInfoCopy ); 1179 1183 } 1180 1184 … … 1286 1290 if( m_colourRemapSEIEnabled ) 1287 1291 { 1292 const TComSPS *sps = pic->getSlice(0)->getSPS(); 1288 1293 SEIMessages colourRemappingInfo = getSeisByType(pic->getSEIs(), SEI::COLOUR_REMAPPING_INFO ); 1289 1294 const SEIColourRemappingInfo *seiColourRemappingInfo = ( colourRemappingInfo.size() > 0 ) ? (SEIColourRemappingInfo*) *(colourRemappingInfo.begin()) : NULL; 1295 1290 1296 if (colourRemappingInfo.size() > 1) 1291 1297 { … … 1296 1302 { 1297 1303 //printf ("\n\nColour Remapping is applied to POC : %d and LayerId : %d ",pic->getPOC(), pic->getLayerId()); 1298 #if SVC_EXTENSION 1299 applyColourRemapping(*pic->getPicYuvRec(), seiColourRemappingInfo, pic->getSlice(0)->getBitDepths(), pic->getLayerId()); 1300 #else 1301 applyColourRemapping(*pic->getPicYuvRec(), seiColourRemappingInfo, pic->getSlice(0)->getBitDepths()); 1302 #endif 1304 xApplyColourRemapping( sps, *pic->getPicYuvRec(), seiColourRemappingInfo, pic->getLayerId() ); 1303 1305 } 1304 1306 else // using the last CRI SEI received … … 1306 1308 const SEIColourRemappingInfo *seiColourRemappingInfoCopy; 1307 1309 seiColourRemappingInfoCopy = seiColourRemappingInfoPrevious; 1308 #if SVC_EXTENSION 1309 applyColourRemapping(*pic->getPicYuvRec(), seiColourRemappingInfoCopy, pic->getSlice(0)->getBitDepths(), pic->getLayerId()); 1310 #else 1311 applyColourRemapping(*pic->getPicYuvRec(), seiColourRemappingInfoCopy, pic->getSlice(0)->getBitDepths()); 1312 #endif 1310 xApplyColourRemapping( sps, *pic->getPicYuvRec(), seiColourRemappingInfoCopy, pic->getLayerId() ); 1313 1311 } 1314 1312 … … 1846 1844 1847 1845 #if Q0074_COLOUR_REMAPPING_SEI 1848 Void xInitColourRemappingLut( const BitDepths &bitDepths, std::vector<Int>(&preLut)[3], std::vector<Int>(&postLut)[3], const SEIColourRemappingInfo* const pCriSEI )1846 Void TAppDecTop::xInitColourRemappingLut( const BitDepths &bitDepths, std::vector<Int>(&preLut)[3], std::vector<Int>(&postLut)[3], const SEIColourRemappingInfo* const pCriSEI ) 1849 1847 { 1850 1848 for ( Int c=0 ; c<3 ; c++ ) … … 1903 1901 } 1904 1902 1905 static Void applyColourRemapping(TComPicYuv& pic, const SEIColourRemappingInfo* pCriSEI, const BitDepths& bitDpeths, UInt layerId ) 1906 { 1903 Void TAppDecTop::xApplyColourRemapping( const TComSPS *sps, TComPicYuv& pic, const SEIColourRemappingInfo* pCriSEI, UInt layerId ) 1904 { 1905 const BitDepths& bitDpeths = sps->getBitDepths(); 1906 1907 1907 if( !storeCriSEI.size() ) 1908 { 1908 1909 #if SVC_EXTENSION 1909 1910 storeCriSEI.resize(MAX_LAYERS); … … 1911 1912 storeCriSEI.resize(1); 1912 1913 #endif 1914 } 1913 1915 1914 1916 if ( pCriSEI ) //if a CRI SEI has just been retrieved, keep it in memory (persistence management) 1917 { 1915 1918 storeCriSEI[layerId] = *pCriSEI; 1919 } 1916 1920 1917 1921 if( !storeCriSEI[layerId].m_colourRemapCancelFlag && pCriSEI) … … 1928 1932 1929 1933 TComPicYuv picColourRemapped; 1934 1930 1935 #if SVC_EXTENSION 1931 1936 #if AUXILIARY_PICTURES 1932 picColourRemapped.create( pic.getWidth(COMPONENT_Y), pic.getHeight(COMPONENT_Y), pic.getChromaFormat(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, NULL );1933 #else 1934 picColourRemapped.create( pic.getWidth(), pic.getHeight(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, NULL );1935 #endif 1936 #else 1937 picColourRemapped.create( pic.getWidth(COMPONENT_Y), pic.getHeight(COMPONENT_Y), pic.getChromaFormat(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth);1937 picColourRemapped.create( pic.getWidth(COMPONENT_Y), pic.getHeight(COMPONENT_Y), pic.getChromaFormat(), sps->getMaxCUWidth(), sps->getMaxCUHeight(), g_uiMaxCUDepth, true, NULL ); 1938 #else 1939 picColourRemapped.create( pic.getWidth(), pic.getHeight(), sps->getMaxCUWidth(), sps->getMaxCUHeight(), g_uiMaxCUDepth, true, NULL ); 1940 #endif 1941 #else 1942 picColourRemapped.create( pic.getWidth(COMPONENT_Y), pic.getHeight(COMPONENT_Y), pic.getChromaFormat(), sps->getMaxCUWidth(), sps->getMaxCUHeight(), g_uiMaxCUDepth, true ); 1938 1943 #endif 1939 1944 YUVOut[0] = picColourRemapped.getAddr(COMPONENT_Y); -
branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.h
r1287 r1289 73 73 74 74 // for output control 75 std::ofstream m_seiMessageFileStream; ///< Used for outputing SEI messages. 76 75 77 #if SVC_EXTENSION 76 78 #if CONFORMANCE_BITSTREAM_MODE 77 TVideoIOYuv 79 TVideoIOYuv m_confReconFile[63]; ///< decode YUV files 78 80 #endif 79 81 Int m_aiPOCLastDisplay [MAX_LAYERS]; ///< last POC in display order … … 81 83 Int m_iPOCLastDisplay; ///< last POC in display order 82 84 #endif 83 std::ofstream m_seiMessageFileStream; ///< Used for outputing SEI messages. 85 #if Q0074_COLOUR_REMAPPING_SEI 86 std::vector<SEIColourRemappingInfo> storeCriSEI; //Persistent Colour Remapping Information SEI 87 SEIColourRemappingInfo *seiColourRemappingInfoPrevious; 88 #endif 84 89 85 90 public: … … 98 103 #if Q0074_COLOUR_REMAPPING_SEI 99 104 Void xInitColourRemappingLut( const BitDepths &bitDepths, std::vector<Int>(&preLut)[3], std::vector<Int>(&postLut)[3], const SEIColourRemappingInfo* const pCriSEI ); 105 Void xApplyColourRemapping( const TComSPS *sps, TComPicYuv& pic, const SEIColourRemappingInfo* pCriSEI, UInt layerId = 0 ); 100 106 #endif 101 107 #if SVC_EXTENSION -
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1288 r1289 3870 3870 3871 3871 m_maxTempLayer = 1; 3872 for(Int i=0; i<m_iGOPSize; i++) 3872 for(Int i=0; i<m_iGOPSize; i++) 3873 3873 { 3874 3874 if(m_GOPList[i].m_temporalId >= m_maxTempLayer) … … 4273 4273 // set max CU width & height 4274 4274 #if SVC_EXTENSION 4275 g_uiMaxCUWidth = m_acLayerCfg[layerId].m_uiMaxCUWidth;4276 g_uiMaxCUHeight = m_acLayerCfg[layerId].m_uiMaxCUHeight;4277 4278 4275 // compute actual CU depth with respect to config depth and max transform size 4279 4276 g_uiAddCUDepth = 0; … … 4289 4286 g_uiMaxCUDepth = m_acLayerCfg[layerId].m_uiMaxCUDepth; 4290 4287 #else 4291 g_uiMaxCUWidth = m_uiMaxCUWidth;4292 g_uiMaxCUHeight = m_uiMaxCUHeight;4293 4294 4288 // compute actual CU depth with respect to config depth and max transform size 4295 4289 g_uiAddCUDepth = 0; -
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1288 r1289 436 436 m_acTEncTop[layer].setUseRDOQTS ( m_useRDOQTS ); 437 437 m_acTEncTop[layer].setRDpenalty ( m_rdPenalty ); 438 m_acTEncTop[layer].setMaxCUWidth ( m_acLayerCfg[layer].m_uiMaxCUWidth ); 439 m_acTEncTop[layer].setMaxCUHeight ( m_acLayerCfg[layer].m_uiMaxCUHeight ); 438 440 439 441 m_acTEncTop[layer].setQuadtreeTULog2MaxSize ( m_acLayerCfg[layer].m_uiQuadtreeTULog2MaxSize ); … … 864 866 m_cTEncTop.setUseRDOQTS ( m_useRDOQTS ); 865 867 m_cTEncTop.setRDpenalty ( m_rdPenalty ); 868 m_cTEncTop.setMaxCUWidth ( m_uiMaxCUWidth ); 869 m_cTEncTop.setMaxCUHeight ( m_uiMaxCUHeight ); 866 870 m_cTEncTop.setQuadtreeTULog2MaxSize ( m_uiQuadtreeTULog2MaxSize ); 867 871 m_cTEncTop.setQuadtreeTULog2MinSize ( m_uiQuadtreeTULog2MinSize ); … … 1680 1684 if( m_isField ) 1681 1685 { 1682 #if SVC_EXTENSION 1683 pcPicYuvOrg[layer]->create( m_acLayerCfg[layer].getSourceWidth(), m_acLayerCfg[layer].getSourceHeightOrg(), m_acLayerCfg[layer].getChromaFormatIDC(), m_acLayerCfg[layer].m_uiMaxCUWidth, m_acLayerCfg[layer].m_uiMaxCUHeight, m_acLayerCfg[layer].m_uiMaxCUDepth, NULL ); 1684 acPicYuvTrueOrg[layer].create( m_acLayerCfg[layer].getSourceWidth(), m_acLayerCfg[layer].getSourceHeightOrg(), m_acLayerCfg[layer].getChromaFormatIDC(), m_acLayerCfg[layer].m_uiMaxCUWidth, m_acLayerCfg[layer].m_uiMaxCUHeight, m_acLayerCfg[layer].m_uiMaxCUDepth, NULL ); 1685 #else 1686 pcPicYuvOrg[layer]->create( m_acLayerCfg[layer].getSourceWidth(), m_acLayerCfg[layer].getSourceHeightOrg(), m_acLayerCfg[layer].getChromaFormatIDC(), m_uiMaxCUWidth, m_uiMaxCUHeight, m_uiMaxCUDepth, NULL ); 1687 acPicYuvTrueOrg[layer].create( m_acLayerCfg[layer].getSourceWidth(), m_acLayerCfg[layer].getSourceHeightOrg(), m_acLayerCfg[layer].getChromaFormatIDC(), m_uiMaxCUWidth, m_uiMaxCUHeight, m_uiMaxCUDepth, NULL ); 1688 #endif 1686 pcPicYuvOrg[layer]->create( m_acLayerCfg[layer].getSourceWidth(), m_acLayerCfg[layer].getSourceHeightOrg(), m_acLayerCfg[layer].getChromaFormatIDC(), m_acLayerCfg[layer].m_uiMaxCUWidth, m_acLayerCfg[layer].m_uiMaxCUHeight, m_acLayerCfg[layer].m_uiMaxCUDepth, true, NULL ); 1687 acPicYuvTrueOrg[layer].create( m_acLayerCfg[layer].getSourceWidth(), m_acLayerCfg[layer].getSourceHeightOrg(), m_acLayerCfg[layer].getChromaFormatIDC(), m_acLayerCfg[layer].m_uiMaxCUWidth, m_acLayerCfg[layer].m_uiMaxCUHeight, m_acLayerCfg[layer].m_uiMaxCUDepth, true, NULL ); 1689 1688 } 1690 1689 else 1691 1690 { 1692 #if SVC_EXTENSION 1693 pcPicYuvOrg[layer]->create( m_acLayerCfg[layer].getSourceWidth(), m_acLayerCfg[layer].getSourceHeight(), m_acLayerCfg[layer].getChromaFormatIDC(), m_acLayerCfg[layer].m_uiMaxCUWidth, m_acLayerCfg[layer].m_uiMaxCUHeight, m_acLayerCfg[layer].m_uiMaxCUDepth, NULL ); 1694 acPicYuvTrueOrg[layer].create( m_acLayerCfg[layer].getSourceWidth(), m_acLayerCfg[layer].getSourceHeight(), m_acLayerCfg[layer].getChromaFormatIDC(), m_acLayerCfg[layer].m_uiMaxCUWidth, m_acLayerCfg[layer].m_uiMaxCUHeight, m_acLayerCfg[layer].m_uiMaxCUDepth, NULL ); 1695 #else 1696 pcPicYuvOrg[layer]->create( m_acLayerCfg[layer].getSourceWidth(), m_acLayerCfg[layer].getSourceHeight(), m_acLayerCfg[layer].getChromaFormatIDC(), m_uiMaxCUWidth, m_uiMaxCUHeight, m_uiMaxCUDepth, NULL ); 1697 acPicYuvTrueOrg[layer].create( m_acLayerCfg[layer].getSourceWidth(), m_acLayerCfg[layer].getSourceHeight(), m_acLayerCfg[layer].getChromaFormatIDC(), m_uiMaxCUWidth, m_uiMaxCUHeight, m_uiMaxCUDepth, NULL ); 1698 #endif 1691 pcPicYuvOrg[layer]->create( m_acLayerCfg[layer].getSourceWidth(), m_acLayerCfg[layer].getSourceHeight(), m_acLayerCfg[layer].getChromaFormatIDC(), m_acLayerCfg[layer].m_uiMaxCUWidth, m_acLayerCfg[layer].m_uiMaxCUHeight, m_acLayerCfg[layer].m_uiMaxCUDepth, true, NULL ); 1692 acPicYuvTrueOrg[layer].create( m_acLayerCfg[layer].getSourceWidth(), m_acLayerCfg[layer].getSourceHeight(), m_acLayerCfg[layer].getChromaFormatIDC(), m_acLayerCfg[layer].m_uiMaxCUWidth, m_acLayerCfg[layer].m_uiMaxCUHeight, m_acLayerCfg[layer].m_uiMaxCUDepth, true, NULL ); 1699 1693 } 1700 1694 } … … 2040 2034 if( m_isField ) 2041 2035 { 2042 pcPicYuvOrg->create( m_iSourceWidth, m_iSourceHeightOrg, m_chromaFormatIDC, m_uiMaxCUWidth, m_uiMaxCUHeight, m_uiMaxCUDepth );2043 cPicYuvTrueOrg.create(m_iSourceWidth, m_iSourceHeightOrg, m_chromaFormatIDC, m_uiMaxCUWidth, m_uiMaxCUHeight, m_uiMaxCUDepth );2036 pcPicYuvOrg->create( m_iSourceWidth, m_iSourceHeightOrg, m_chromaFormatIDC, m_uiMaxCUWidth, m_uiMaxCUHeight, m_uiMaxCUDepth, true ); 2037 cPicYuvTrueOrg.create(m_iSourceWidth, m_iSourceHeightOrg, m_chromaFormatIDC, m_uiMaxCUWidth, m_uiMaxCUHeight, m_uiMaxCUDepth, true); 2044 2038 } 2045 2039 else 2046 2040 { 2047 pcPicYuvOrg->create( m_iSourceWidth, m_iSourceHeight, m_chromaFormatIDC, m_uiMaxCUWidth, m_uiMaxCUHeight, m_uiMaxCUDepth );2048 cPicYuvTrueOrg.create(m_iSourceWidth, m_iSourceHeight, m_chromaFormatIDC, m_uiMaxCUWidth, m_uiMaxCUHeight, m_uiMaxCUDepth );2041 pcPicYuvOrg->create( m_iSourceWidth, m_iSourceHeight, m_chromaFormatIDC, m_uiMaxCUWidth, m_uiMaxCUHeight, m_uiMaxCUDepth, true ); 2042 cPicYuvTrueOrg.create(m_iSourceWidth, m_iSourceHeight, m_chromaFormatIDC, m_uiMaxCUWidth, m_uiMaxCUHeight, m_uiMaxCUDepth, true ); 2049 2043 } 2050 2044 … … 2135 2129 rpcPicYuvRec = new TComPicYuv; 2136 2130 2137 rpcPicYuvRec->create( m_acLayerCfg[layer].getSourceWidth(), m_acLayerCfg[layer].getSourceHeight(), m_acLayerCfg[layer].getChromaFormatIDC(), m_acLayerCfg[layer].m_uiMaxCUWidth, m_acLayerCfg[layer].m_uiMaxCUHeight, m_acLayerCfg[layer].m_uiMaxCUDepth, NULL );2131 rpcPicYuvRec->create( m_acLayerCfg[layer].getSourceWidth(), m_acLayerCfg[layer].getSourceHeight(), m_acLayerCfg[layer].getChromaFormatIDC(), m_acLayerCfg[layer].m_uiMaxCUWidth, m_acLayerCfg[layer].m_uiMaxCUHeight, m_acLayerCfg[layer].m_uiMaxCUDepth, true, NULL ); 2138 2132 } 2139 2133 m_acListPicYuvRec[layer].pushBack( rpcPicYuvRec ); … … 2159 2153 Void TAppEncTop::xWriteRecon(UInt layer, Int iNumEncoded) 2160 2154 { 2161 #if SVC_EXTENSION2162 2155 ChromaFormat chromaFormatIdc = m_acLayerCfg[layer].getChromaFormatIDC(); 2163 2156 Int xScal = TComSPS::getWinUnitX( chromaFormatIdc ); 2164 2157 Int yScal = TComSPS::getWinUnitY( chromaFormatIdc ); 2165 #endif2166 2158 2167 2159 const InputColourSpaceConversion ipCSC = (!m_outputInternalColourSpace) ? m_inputColourSpaceConvert : IPCOLOURSPACE_UNCHANGED; … … 2185 2177 if( !m_acLayerCfg[layer].getReconFile().empty() && pcPicYuvRecTop->isReconstructed() && pcPicYuvRecBottom->isReconstructed() ) 2186 2178 { 2187 #if SVC_EXTENSION2188 2179 m_acTVideoIOYuvReconFile[layer].write( pcPicYuvRecTop, pcPicYuvRecBottom, ipCSC, m_acLayerCfg[layer].getConfWinLeft() * xScal, m_acLayerCfg[layer].getConfWinRight() * xScal, 2189 m_acLayerCfg[layer].getConfWinTop() * yScal, m_acLayerCfg[layer].getConfWinBottom() * yScal, NUM_CHROMA_FORMAT, m_isTopFieldFirst ); 2190 #else 2191 m_acTVideoIOYuvReconFile[layer].write( pcPicYuvRecTop, pcPicYuvRecBottom, ipCSC, m_acLayerCfg[layer].getConfWinLeft(), m_acLayerCfg[layer].getConfWinRight(), m_acLayerCfg[layer].getConfWinTop(), m_acLayerCfg[layer].getConfWinBottom(), NUM_CHROMA_FORMAT, m_isTopFieldFirst ); 2192 #endif 2180 m_acLayerCfg[layer].getConfWinTop() * yScal, m_acLayerCfg[layer].getConfWinBottom() * yScal, NUM_CHROMA_FORMAT, m_isTopFieldFirst ); 2193 2181 } 2194 2182 } … … 2271 2259 rpcPicYuvRec = new TComPicYuv; 2272 2260 2273 rpcPicYuvRec->create( m_iSourceWidth, m_iSourceHeight, m_chromaFormatIDC, m_uiMaxCUWidth, m_uiMaxCUHeight, m_uiMaxCUDepth );2261 rpcPicYuvRec->create( m_iSourceWidth, m_iSourceHeight, m_chromaFormatIDC, m_uiMaxCUWidth, m_uiMaxCUHeight, m_uiMaxCUDepth, true ); 2274 2262 2275 2263 } -
branches/SHM-dev/source/App/utils/convert_NtoMbit_YCbCr.cpp
r1246 r1289 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 4, ITU/ISO/IEC6 * Copyright (c) 2010-2015, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 105 105 106 106 TComPicYuv frame; 107 frame.create( width, height, chromaFormatIDC, 1, 1, 0);107 frame.create( width, height, chromaFormatIDC, width, height, 0, false); 108 108 109 109 Int pad[2] = {0, 0}; 110 110 111 111 TComPicYuv cPicYuvTrueOrg; 112 cPicYuvTrueOrg.create( width, height, chromaFormatIDC, 1, 1, 0);112 cPicYuvTrueOrg.create( width, height, chromaFormatIDC, width, height, 0, false ); 113 113 114 114 UInt num_frames_processed = 0;
Note: See TracChangeset for help on using the changeset viewer.