Ignore:
Timestamp:
3 Nov 2014, 01:32:52 (10 years ago)
Author:
lg
Message:

Integration of JCT3V-J0042. The MACRO is "LGE_DDD_REMOVAL_J0042_J0030."
Integration of JCT3V-J0046. The MACRO is "LGE_DEFAULT_DV_J0046."
Integration of JCT3V-J0050. The MACRO is "LGE_CHROMA_IC_J0050_J0034."
Integration of JCT3V-J0041. The MACRO is "LGE_SIMP_DISP_AVAIL_J0041."

By Sunmi Yoo (sunmi.yoo@…) and Junghak Nam (junghak.nam@…)

Location:
branches/HTM-12.2-dev2-LGE/source/Lib/TLibDecoder
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-12.2-dev2-LGE/source/Lib/TLibDecoder/TDecCu.cpp

    r1084 r1094  
    291291  DTRACE_CU_S("=========== coding_unit ===========\n")
    292292#endif
    293 
    294 
     293#if !LGE_DDD_REMOVAL_J0042_J0030
    295294#if H_3D_DDD
    296295      pcCU->setUseDDD( false, uiAbsPartIdx, uiDepth );
     296#endif
    297297#endif
    298298
     
    452452#endif
    453453    pcCU->setInterDirSubParts( uhInterDirNeighbours[uiMergeIndex], uiAbsPartIdx, 0, uiDepth );
    454 
     454#if !LGE_DDD_REMOVAL_J0042_J0030
    455455#if H_3D_DDD
    456456    if( uiMergeIndex == m_ppcCU[uiDepth]->getUseDDDCandIdx() )
     
    460460        pcCU->setDDDepthSubParts( m_ppcCU[uiDepth]->getDDTmpDepth(),uiAbsPartIdx, 0, uiDepth );
    461461    }
     462#endif
    462463#endif
    463464
  • branches/HTM-12.2-dev2-LGE/source/Lib/TLibDecoder/TDecEntropy.cpp

    r1084 r1094  
    337337      }
    338338      pcCU->setInterDirSubParts( uhInterDirNeighbours[uiMergeIndex], uiSubPartIdx, uiPartIdx, uiDepth );
    339 
     339#if !LGE_DDD_REMOVAL_J0042_J0030
    340340#if H_3D_DDD
    341341      if( uiMergeIndex == pcSubCU->getUseDDDCandIdx() )
     
    349349          pcCU->setUseDDD( false, uiSubPartIdx, uiPartIdx, uiDepth );
    350350      }
     351#endif
    351352#endif
    352353
  • branches/HTM-12.2-dev2-LGE/source/Lib/TLibDecoder/TDecSlice.cpp

    r976 r1094  
    280280      iNumSubstreamsPerTile = 1;
    281281    }
     282#if LGE_DEFAULT_DV_J0046
     283    pcSlice->setDefaultRefViewIdx( -1 );
     284    pcSlice->setDefaultRefViewIdxAvailableFlag( false );
     285
     286    Int valid = 0;
     287    Int viewIndex = 0;
     288    for( UInt uiBId = 0; uiBId < pcSlice->getViewIndex() && valid==0; uiBId++ )
     289    {
     290        UInt        uiBaseId    = uiBId;
     291        TComPic*    pcBasePic   = pcSlice->getIvPic( false, uiBaseId );
     292        for( Int iRefListId = 0; ( iRefListId < (pcSlice->isInterB()? 2:1) ) && !pcSlice->isIntra() && valid==0; iRefListId++ )
     293        {
     294            RefPicList  eRefPicListTest = RefPicList( iRefListId );
     295            Int         iNumRefPics = pcSlice->getNumRefIdx( eRefPicListTest ) ;
     296            for( Int iRefIndex = 0; iRefIndex < iNumRefPics; iRefIndex++ )
     297            {
     298                if(pcBasePic->getPOC() == pcSlice->getRefPic( eRefPicListTest, iRefIndex )->getPOC()
     299                    && pcBasePic->getViewIndex() == pcSlice->getRefPic( eRefPicListTest, iRefIndex )->getViewIndex())
     300                {
     301                    valid=1;
     302                    viewIndex = uiBaseId;
     303                    break;
     304                }
     305            }
     306        }
     307    }
     308    if( valid )
     309    {
     310        pcSlice->setDefaultRefViewIdx( viewIndex );
     311        pcSlice->setDefaultRefViewIdxAvailableFlag( true );   
     312    }
     313#endif
    282314
    283315    if ( (iCUAddr == rpcPic->getPicSym()->getTComTile(rpcPic->getPicSym()->getTileIdxMap(iCUAddr))->getFirstCUAddr()) && // 1st in tile.
  • branches/HTM-12.2-dev2-LGE/source/Lib/TLibDecoder/TDecTop.h

    r976 r1094  
    8383#endif
    8484
     85#if !LGE_DDD_REMOVAL_J0042_J0030
    8586#if H_3D_DDD
    8687  Int getCodedScale( Int iBaseView, Int iCureView){ return m_aaiCodedScale[ iBaseView ][ iCureView ];}
    8788  Int getCodedOffset( Int iBaseView, Int iCureView){ return m_aaiCodedOffset[ iBaseView ][ iCureView ];}
    8889  UInt getCamParsCodedPrecision(){ return m_vps->getCamParPrecision(); }
     90#endif
    8991#endif
    9092
Note: See TracChangeset for help on using the changeset viewer.