Changeset 1370 in SHVCSoftware


Ignore:
Timestamp:
22 Jul 2015, 04:53:55 (9 years ago)
Author:
seregin
Message:

port rev 4488

File:
1 edited

Legend:

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

    r1369 r1370  
    917917        }
    918918
    919         UInt uiTargetPartIdx = 0;
    920919        if ( hasResidual )
    921920        {
    922921          m_pcEntropyCoder->resetBits();
    923           m_pcEntropyCoder->encodeQP( rpcTempCU, uiTargetPartIdx, false );
     922          m_pcEntropyCoder->encodeQP( rpcTempCU, 0, false );
    924923          rpcTempCU->getTotalBits() += m_pcEntropyCoder->getNumberOfWrittenBits(); // dQP bits
    925924          rpcTempCU->getTotalBins() += ((TEncBinCABAC *)((TEncSbac*)m_pcEntropyCoder->m_pcEntropyCoderIf)->getEncBinIf())->getBinsCoded();
     
    927926
    928927          Bool foundNonZeroCbf = false;
    929           rpcTempCU->setQPSubCUs( rpcTempCU->getRefQP( uiTargetPartIdx ), 0, uiDepth, foundNonZeroCbf );
     928          rpcTempCU->setQPSubCUs( rpcTempCU->getRefQP( 0 ), 0, uiDepth, foundNonZeroCbf );
    930929          assert( foundNonZeroCbf );
    931930        }
    932931        else
    933932        {
    934           rpcTempCU->setQPSubParts( rpcTempCU->getRefQP( uiTargetPartIdx ), 0, uiDepth ); // set QP to default QP
     933          rpcTempCU->setQPSubParts( rpcTempCU->getRefQP( 0 ), 0, uiDepth ); // set QP to default QP
    935934        }
    936935      }
Note: See TracChangeset for help on using the changeset viewer.