Changeset 595 in SHVCSoftware for trunk/source/Lib/TLibEncoder/TEncSearch.h
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/SHM-5.0-dev merged: 591,593-594
- Property svn:mergeinfo changed
-
trunk/source
- Property svn:mergeinfo changed
/branches/SHM-5.0-dev/source merged: 593
- Property svn:mergeinfo changed
-
trunk/source/Lib/TLibEncoder/TEncSearch.h
r540 r595 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 3, ITU/ISO/IEC6 * Copyright (c) 2010-2014, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 97 97 TEncCfg* m_pcEncCfg; 98 98 99 #if SVC_EXTENSION100 TEncTop** m_ppcTEncTop;101 #endif102 103 99 // interface to classes 104 100 TComTrQuant* m_pcTrQuant; … … 118 114 TEncSbac*** m_pppcRDSbacCoder; 119 115 TEncSbac* m_pcRDGoOnSbacCoder; 120 Bool m_bUseSBACRD;121 116 DistParam m_cDistParam; 122 117 … … 130 125 UInt m_auiMVPIdxCost[AMVP_MAX_NUM_CANDS+1][AMVP_MAX_NUM_CANDS+1]; //th array bounds 131 126 127 #if SVC_EXTENSION 128 TEncTop** m_ppcTEncTop; 132 129 #if N0383_IL_CONSTRAINED_TILE_SETS_SEI 133 130 Bool m_disableILP; 134 131 #endif 132 #endif //SVC_EXTENAION 135 133 136 134 public: … … 207 205 ); 208 206 209 #if (ENCODER_FAST_MODE)210 Bool predInterSearchILRUni ( TComDataCU* pcCU, TComYuv* pcOrgYuv, TComYuv*& rpcPredYuv, TComYuv*& rpcResiYuv, TComYuv*& rpcRecoYuv, UInt refLayerId );211 #endif212 213 207 /// encode residual and compute rd-cost for inter mode 214 208 Void encodeResAndCalcRdInterCU( TComDataCU* pcCU, … … 226 220 Void IPCMSearch (TComDataCU* pcCU, TComYuv* pcOrgYuv, TComYuv*& rpcPredYuv, TComYuv*& rpcResiYuv, TComYuv*& rpcRecoYuv ); 227 221 222 #if SVC_EXTENSION 223 #if (ENCODER_FAST_MODE) 224 Bool predInterSearchILRUni ( TComDataCU* pcCU, TComYuv* pcOrgYuv, TComYuv*& rpcPredYuv, TComYuv*& rpcResiYuv, TComYuv*& rpcRecoYuv, UInt refLayerId ); 225 #endif 228 226 #if N0383_IL_CONSTRAINED_TILE_SETS_SEI 229 227 Void setDisableILP(Bool a) {m_disableILP = a;} 230 228 #endif 229 #endif //SVC_EXTENSION 231 230 232 231 protected: … … 453 452 ,Bool biPred 454 453 ); 454 455 Void xExtDIFUpSamplingH( TComPattern* pcPattern, Bool biPred ); 456 Void xExtDIFUpSamplingQ( TComPattern* pcPatternKey, TComMv halfPelRef, Bool biPred ); 457 458 // ------------------------------------------------------------------------------------------------------------------- 459 // T & Q & Q-1 & T-1 460 // ------------------------------------------------------------------------------------------------------------------- 461 462 Void xEncodeResidualQT( TComDataCU* pcCU, UInt uiAbsPartIdx, const UInt uiDepth, Bool bSubdivAndCbf, TextType eType ); 463 Void xEstimateResidualQT( TComDataCU* pcCU, UInt uiQuadrant, UInt uiAbsPartIdx, UInt absTUPartIdx,TComYuv* pcResi, const UInt uiDepth, Double &rdCost, UInt &ruiBits, UInt &ruiDist, UInt *puiZeroDist ); 464 Void xSetResidualQTData( TComDataCU* pcCU, UInt uiQuadrant, UInt uiAbsPartIdx,UInt absTUPartIdx, TComYuv* pcResi, UInt uiDepth, Bool bSpatial ); 465 466 UInt xModeBitsIntra ( TComDataCU* pcCU, UInt uiMode, UInt uiPU, UInt uiPartOffset, UInt uiDepth, UInt uiInitTrDepth ); 467 UInt xUpdateCandList( UInt uiMode, Double uiCost, UInt uiFastCandNum, UInt * CandModeList, Double * CandCostList ); 468 469 // ------------------------------------------------------------------------------------------------------------------- 470 // compute symbol bits 471 // ------------------------------------------------------------------------------------------------------------------- 472 473 Void xAddSymbolBitsInter ( TComDataCU* pcCU, 474 UInt uiQp, 475 UInt uiTrMode, 476 UInt& ruiBits, 477 TComYuv*& rpcYuvRec, 478 TComYuv* pcYuvPred, 479 TComYuv*& rpcYuvResi ); 480 481 Void setWpScalingDistParam( TComDataCU* pcCU, Int iRefIdx, RefPicList eRefPicListCur ); 482 inline Void setDistParamComp( UInt uiComp ) { m_cDistParam.uiComp = uiComp; } 483 484 #if SVC_EXTENSION 455 485 #if REF_IDX_ME_ZEROMV 456 486 Void xPatternSearchFracDIFMv0 ( TComDataCU* pcCU, … … 464 494 Bool biPred ); 465 495 #endif 466 Void xExtDIFUpSamplingH( TComPattern* pcPattern, Bool biPred ); 467 Void xExtDIFUpSamplingQ( TComPattern* pcPatternKey, TComMv halfPelRef, Bool biPred ); 468 469 // ------------------------------------------------------------------------------------------------------------------- 470 // T & Q & Q-1 & T-1 471 // ------------------------------------------------------------------------------------------------------------------- 472 473 Void xEncodeResidualQT( TComDataCU* pcCU, UInt uiAbsPartIdx, const UInt uiDepth, Bool bSubdivAndCbf, TextType eType ); 474 Void xEstimateResidualQT( TComDataCU* pcCU, UInt uiQuadrant, UInt uiAbsPartIdx, UInt absTUPartIdx,TComYuv* pcResi, const UInt uiDepth, Double &rdCost, UInt &ruiBits, UInt &ruiDist, UInt *puiZeroDist ); 475 Void xSetResidualQTData( TComDataCU* pcCU, UInt uiQuadrant, UInt uiAbsPartIdx,UInt absTUPartIdx, TComYuv* pcResi, UInt uiDepth, Bool bSpatial ); 476 477 UInt xModeBitsIntra ( TComDataCU* pcCU, UInt uiMode, UInt uiPU, UInt uiPartOffset, UInt uiDepth, UInt uiInitTrDepth ); 478 UInt xUpdateCandList( UInt uiMode, Double uiCost, UInt uiFastCandNum, UInt * CandModeList, Double * CandCostList ); 479 480 // ------------------------------------------------------------------------------------------------------------------- 481 // compute symbol bits 482 // ------------------------------------------------------------------------------------------------------------------- 483 484 Void xAddSymbolBitsInter ( TComDataCU* pcCU, 485 UInt uiQp, 486 UInt uiTrMode, 487 UInt& ruiBits, 488 TComYuv*& rpcYuvRec, 489 TComYuv* pcYuvPred, 490 TComYuv*& rpcYuvResi ); 491 492 Void setWpScalingDistParam( TComDataCU* pcCU, Int iRefIdx, RefPicList eRefPicListCur ); 493 inline Void setDistParamComp( UInt uiComp ) { m_cDistParam.uiComp = uiComp; } 494 496 #endif //SVC_EXTENSION 497 495 498 };// END CLASS DEFINITION TEncSearch 496 499
Note: See TracChangeset for help on using the changeset viewer.