Ticket #580: HM-7.0-dev_r2455_lossless_coding.patch
File HM-7.0-dev_r2455_lossless_coding.patch, 1.3 KB (added by wen.gao, 11 years ago) |
---|
-
Lib/TLibCommon/TComDataCU.cpp
1975 1975 Bool TComDataCU::isLosslessCoded(UInt absPartIdx) 1976 1976 { 1977 1977 #if CU_LEVEL_TRANSQUANT_BYPASS 1978 return getCUTransquantBypass (absPartIdx);1978 return (getSlice()->getPPS()->getTransquantBypassEnableFlag() && getCUTransquantBypass (absPartIdx)); 1979 1979 #else 1980 1980 return ( getSlice()->getSPS()->getUseLossless() && ((getQP(absPartIdx) + getSlice()->getSPS()->getQpBDOffsetY()) == 0) ); 1981 1981 #endif -
Lib/TLibEncoder/TEncCu.cpp
1282 1282 } 1283 1283 UChar uhDepth = rpcTempCU->getDepth( 0 ); 1284 1284 rpcTempCU->setPartSizeSubParts( SIZE_2Nx2N, 0, uhDepth ); // interprets depth relative to LCU level 1285 #if CU_LEVEL_TRANSQUANT_BYPASS 1286 rpcTempCU->setCUTransquantBypassSubParts( m_pcEncCfg->getCUTransquantBypassFlagValue(), 0, uhDepth ); 1287 #endif 1285 1288 rpcTempCU->getInterMergeCandidates( 0, 0, uhDepth, cMvFieldNeighbours,uhInterDirNeighbours, numValidMergeCand ); 1286 1289 1287 1290 Int mergeCandBuffer[MRG_MAX_NUM_CANDS]={0};