Ticket #60: fix60.patch
File fix60.patch, 2.8 KB (added by lili90, 10 years ago) |
---|
-
App/TAppEncoder/TAppEncTop.cpp
702 702 for(Int layer=0; layer<m_numberOfLayers; layer++) 703 703 { 704 704 #if KWU_RC_MADPRED_E0227 705 #if FIX60 706 m_acTEncTopList[layer]->init( this, isFieldCoding ); 707 #else 705 708 m_acTEncTopList[layer]->init( isFieldCoding, this ); 709 #endif 706 710 #else 707 711 m_acTEncTopList[layer]->init( isFieldCoding ); 708 712 #endif -
Lib/TLibCommon/TypeDef.h
53 53 make HEVC_EXT=2 -> H_MV=1 H_3D=1 --> full 3D 54 54 */ 55 55 56 #define FIX60 1 //< fix ticket #60 57 56 58 #ifndef HEVC_EXT 57 59 #define HEVC_EXT 2 58 60 #endif -
Lib/TLibEncoder/TEncCu.cpp
2036 2036 uhDepth ); 2037 2037 2038 2038 xCheckDQP( rpcTempCU ); 2039 2040 #if FIX60 2041 if ( rpcTempCU->getSDCSegmentDCOffset( 0, 0 ) == 0 ) 2042 { 2043 rpcTempCU->getTotalCost() = MAX_DOUBLE; 2044 } 2045 #endif 2046 2039 2047 xCheckBestMode( rpcBestCU, rpcTempCU, uhDepth ); 2040 2048 } 2041 2049 #else … … 2317 2325 uhDepth ); 2318 2326 2319 2327 xCheckDQP( rpcTempCU ); 2328 2329 #if FIX60 2330 if ( rpcTempCU->getSDCSegmentDCOffset( 0, 0 ) == 0 ) 2331 { 2332 rpcTempCU->getTotalCost() = MAX_DOUBLE; 2333 } 2334 #endif 2335 2320 2336 xCheckBestMode(rpcBestCU, rpcTempCU, uhDepth); 2321 2337 } 2322 2338 #else -
Lib/TLibEncoder/TEncRateCtrl.cpp
940 940 Int LCUIdx = getLCUCoded(); 941 941 Double bpp = -1.0; 942 942 Int avgBits = 0; 943 944 #if !FIX60 943 945 #if !M0036_RC_IMPROVEMENT 944 946 Double totalMAD = -1.0; 945 947 Double MAD = -1.0; 946 948 #endif 949 #endif 947 950 948 951 Double totalMAD = -1.0; 949 952 Double MAD = -1.0; -
Lib/TLibEncoder/TEncSlice.cpp
1073 1073 { 1074 1074 #endif 1075 1075 bpp = m_pcRateCtrl->getRCPic()->getLCUTargetBpp(pcSlice->getSliceType()); 1076 1077 #if FIX60 && KWU_RC_MADPRED_E0227 1078 } 1079 #endif 1076 1080 if ( rpcPic->getSlice( 0 )->getSliceType() == I_SLICE) 1077 1081 { 1078 1082 estLambda = m_pcRateCtrl->getRCPic()->getLCUEstLambdaAndQP(bpp, pcSlice->getSliceQp(), &estQP);