Changeset 1535 in SHVCSoftware


Ignore:
Timestamp:
22 Mar 2016, 22:46:59 (8 years ago)
Author:
seregin
Message:

port rev 4687

Location:
branches/SHM-dev/source/Lib/TLibEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCu.cpp

    r1534 r1535  
    694694        // do normal intra modes
    695695        // speedup for inter frames
    696         Double intraCost = 0.0;
    697 
    698696        if((rpcBestCU->getSlice()->getSliceType() == I_SLICE)                                        ||
    699697#if ENCODER_FAST_MODE
     
    707705            )))
    708706        {
    709           xCheckRDCostIntra( rpcBestCU, rpcTempCU, intraCost, SIZE_2Nx2N DEBUG_STRING_PASS_INTO(sDebug) );
     707          xCheckRDCostIntra( rpcBestCU, rpcTempCU, SIZE_2Nx2N DEBUG_STRING_PASS_INTO(sDebug) );
    710708          rpcTempCU->initEstData( uiDepth, iQP, bIsLosslessMode );
    711709          if( uiDepth == sps.getLog2DiffMaxMinCodingBlockSize() )
     
    713711            if( rpcTempCU->getWidth(0) > ( 1 << sps.getQuadtreeTULog2MinSize() ) )
    714712            {
    715               Double tmpIntraCost;
    716               xCheckRDCostIntra( rpcBestCU, rpcTempCU, tmpIntraCost, SIZE_NxN DEBUG_STRING_PASS_INTO(sDebug)   );
    717               intraCost = std::min(intraCost, tmpIntraCost);
     713              xCheckRDCostIntra( rpcBestCU, rpcTempCU, SIZE_NxN DEBUG_STRING_PASS_INTO(sDebug)   );
    718714              rpcTempCU->initEstData( uiDepth, iQP, bIsLosslessMode );
    719715            }
     
    14651461Void TEncCu::xCheckRDCostIntra( TComDataCU *&rpcBestCU,
    14661462                                TComDataCU *&rpcTempCU,
    1467                                 Double      &cost,
    14681463                                PartSize     eSize
    14691464                                DEBUG_STRING_FN_DECLARE(sDebug) )
     
    15271522
    15281523  xCheckDQP( rpcTempCU );
    1529 
    1530   cost = rpcTempCU->getTotalCost();
    15311524
    15321525  xCheckBestMode(rpcBestCU, rpcTempCU, uiDepth DEBUG_STRING_PASS_INTO(sDebug) DEBUG_STRING_PASS_INTO(sTest));
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCu.h

    r1369 r1535  
    150150  Void  xCheckRDCostIntra   ( TComDataCU *&rpcBestCU,
    151151                              TComDataCU *&rpcTempCU,
    152                               Double      &cost,
    153152                              PartSize     ePartSize
    154153                              DEBUG_STRING_FN_DECLARE(sDebug)
Note: See TracChangeset for help on using the changeset viewer.