Ignore:
Timestamp:
18 Feb 2015, 17:39:40 (10 years ago)
Author:
tech
Message:

Cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-13.0-dev0/source/Lib/TLibDecoder/TDecSlice.cpp

    r1124 r1131  
    280280      iNumSubstreamsPerTile = 1;
    281281    }
    282 #if LGE_DEFAULT_DV_J0046 && !SEC_ARP_VIEW_REF_CHECK_J0037 && !SEC_DBBP_VIEW_REF_CHECK_J0037
    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
    314282
    315283    if ( (iCUAddr == rpcPic->getPicSym()->getTComTile(rpcPic->getPicSym()->getTileIdxMap(iCUAddr))->getFirstCUAddr()) && // 1st in tile.
Note: See TracChangeset for help on using the changeset viewer.