Changeset 408 in 3DVCSoftware for branches/HTM-6.2-dev1-LG/source/Lib/TLibEncoder/TEncGOP.cpp
- Timestamp:
- 16 May 2013, 09:23:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-6.2-dev1-LG/source/Lib/TLibEncoder/TEncGOP.cpp
r332 r408 1257 1257 TComAPS cAPS; 1258 1258 allocAPS(&cAPS, pcSlice->getSPS()); 1259 #if !LGE_SAO_MIGRATION_D0091 1259 1260 cAPS.setSaoInterleavingFlag(m_pcCfg->getSaoInterleavingFlag()); 1261 #endif 1260 1262 // set entropy coder for RD 1261 1263 m_pcEntropyCoder->setEntropyCoder ( m_pcCavlcCoder, pcSlice ); … … 1265 1267 m_pcEntropyCoder->resetEntropy(); 1266 1268 m_pcEntropyCoder->setBitstream( m_pcBitCounter ); 1269 #if LGE_SAO_MIGRATION_D0091 1270 m_pcSAO->startSaoEnc(pcPic, m_pcEntropyCoder, m_pcEncTop->getRDSbacCoder(), m_pcEncTop->getRDGoOnSbacCoder()); 1271 #else 1267 1272 m_pcSAO->startSaoEnc(pcPic, m_pcEntropyCoder, m_pcEncTop->getRDSbacCoder(), NULL); 1273 #endif 1268 1274 SAOParam& cSaoParam = *(cAPS.getSaoParam()); 1269 1275 1270 1276 #if SAO_CHROMA_LAMBDA 1277 #if LGE_SAO_MIGRATION_D0091 1278 #if SAO_ENCODING_CHOICE 1279 m_pcSAO->SAOProcess(&cSaoParam, pcPic->getSlice(0)->getLambdaLuma(), pcPic->getSlice(0)->getLambdaChroma(), pcPic->getSlice(0)->getDepth()); 1280 #else 1271 1281 m_pcSAO->SAOProcess(&cSaoParam, pcPic->getSlice(0)->getLambdaLuma(), pcPic->getSlice(0)->getLambdaChroma()); 1282 #endif 1283 #else 1284 m_pcSAO->SAOProcess(&cSaoParam, pcPic->getSlice(0)->getLambdaLuma(), pcPic->getSlice(0)->getLambdaChroma()); 1285 #endif 1272 1286 #else 1273 1287 #if ALF_CHROMA_LAMBDA … … 1554 1568 m_pcEntropyCoder->encodeDFParams(pcAPS); 1555 1569 } 1570 #if !LGE_SAO_MIGRATION_D0091 1556 1571 m_pcEntropyCoder->encodeSaoParam(pcAPS); 1572 #endif 1557 1573 m_pcEntropyCoder->encodeAPSAlfFlag( pcAPS->getAlfEnabled()?1:0); 1558 1574 if(pcAPS->getAlfEnabled())
Note: See TracChangeset for help on using the changeset viewer.