Ignore:
Timestamp:
12 Jun 2015, 18:09:57 (9 years ago)
Author:
liu
Message:

-Integration of QTL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-14.1-update-dev2-Orange/source/Lib/TLibEncoder/TEncSbac.cpp

    r1225 r1256  
    645645{
    646646  PartSize eSize         = pcCU->getPartitionSize( uiAbsPartIdx );
    647 #if H_3D_QTLPC
     647#if NH_3D_QTLPC
    648648  Bool    bLimQtPredFlag = pcCU->getPic()->getSlice(0)->getQtPredFlag();
    649649  TComPic *pcTexture     = pcCU->getSlice()->getTexturePic();
     
    662662#endif
    663663  {
    664     TComDataCU *pcTextureCU = pcTexture->getCU(pcCU->getAddr());
    665     UInt uiCUIdx            = (pcCU->getZorderIdxInCU() == 0) ? uiAbsPartIdx : pcCU->getZorderIdxInCU();
     664    TComDataCU *pcTextureCU = pcTexture->getCtu(pcCU->getCtuRsAddr());
     665    UInt uiCUIdx            = (pcCU->getZorderIdxInCtu() == 0) ? uiAbsPartIdx : pcCU->getZorderIdxInCtu();
    666666    assert(pcTextureCU->getDepth(uiCUIdx) >= uiDepth);
    667667    if(pcTextureCU->getDepth(uiCUIdx) == uiDepth )
     
    694694  DTRACE_CU("part_mode", eSize )
    695695#endif       
    696 #if H_3D_QTLPC
     696#if NH_3D_QTLPC
    697697    if (depthDependent==false || uiTexturePart == SIZE_NxN|| uiTexturePart == SIZE_2Nx2N)
    698698    {
     
    768768    }
    769769  }
    770 #if H_3D_QTLPC
     770#if NH_3D_QTLPC
    771771    }
    772772    else if(uiTexturePart == SIZE_2NxN || uiTexturePart == SIZE_2NxnU || uiTexturePart == SIZE_2NxnD)
     
    785785        {
    786786          m_pcBinIf->encodeBin( 0, m_cCUPartSizeSCModel.get( 0, 0, 0) );
    787           if ( pcCU->getSlice()->getSPS()->getAMPAcc( uiDepth ) )
     787          if (  pcCU->getSlice()->getSPS()->getUseAMP() && uiDepth < log2DiffMaxMinCodingBlockSize )
    788788          {     
    789789            m_pcBinIf->encodeBin( 1, m_cCUPartSizeSCModel.get( 0, 0, 1) );
     
    820820        {
    821821          m_pcBinIf->encodeBin( 0, m_cCUPartSizeSCModel.get( 0, 0, 0) );
    822           if ( pcCU->getSlice()->getSPS()->getAMPAcc( uiDepth ) )
     822          if ( pcCU->getSlice()->getSPS()->getUseAMP() && uiDepth < log2DiffMaxMinCodingBlockSize )
    823823          {     
    824824            m_pcBinIf->encodeBin( 1, m_cCUPartSizeSCModel.get( 0, 0, 1) );
     
    10261026
    10271027  assert( uiCtx < 3 );
    1028 #if H_3D_QTLPC
     1028#if NH_3D_QTLPC
    10291029  Bool bCodeSplitFlag    = true;
    10301030
     
    10431043#endif
    10441044  {
    1045     TComDataCU *pcTextureCU = pcTexture->getCU(pcCU->getAddr());
    1046     UInt uiCUIdx            = (pcCU->getZorderIdxInCU() == 0) ? uiAbsPartIdx : pcCU->getZorderIdxInCU();
     1045    TComDataCU *pcTextureCU = pcTexture->getCtu(pcCU->getCtuRsAddr());
     1046    UInt uiCUIdx            = (pcCU->getZorderIdxInCtu() == 0) ? uiAbsPartIdx : pcCU->getZorderIdxInCtu();
    10471047    assert(pcTextureCU->getDepth(uiCUIdx) >= uiDepth);
    10481048    bCodeSplitFlag          = (pcTextureCU->getDepth(uiCUIdx) > uiDepth);
Note: See TracChangeset for help on using the changeset viewer.