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@…)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-12.2-dev2-LGE/source/Lib/TLibEncoder/TEncSlice.cpp

    r976 r1094  
    10111011    }
    10121012  }
     1013#if LGE_DEFAULT_DV_J0046
     1014  pcSlice->setDefaultRefViewIdx( -1 );
     1015  pcSlice->setDefaultRefViewIdxAvailableFlag( false );
     1016
     1017  Int valid = 0;
     1018  Int viewIndex = 0;
     1019  for( UInt uiBId = 0; uiBId < pcSlice->getViewIndex() && valid==0; uiBId++ )
     1020  {
     1021      UInt        uiBaseId    = uiBId;
     1022      TComPic*    pcBasePic   = pcSlice->getIvPic( false, uiBaseId );
     1023      for( Int iRefListId = 0; ( iRefListId < (pcSlice->isInterB()? 2:1) ) && !pcSlice->isIntra() && valid==0; iRefListId++ )
     1024      {
     1025          RefPicList  eRefPicListTest = RefPicList( iRefListId );
     1026          Int         iNumRefPics = pcSlice->getNumRefIdx( eRefPicListTest ) ;
     1027          for( Int iRefIndex = 0; iRefIndex < iNumRefPics; iRefIndex++ )
     1028          {
     1029              if(pcBasePic->getPOC() == pcSlice->getRefPic( eRefPicListTest, iRefIndex )->getPOC()
     1030                  && pcBasePic->getViewIndex() == pcSlice->getRefPic( eRefPicListTest, iRefIndex )->getViewIndex())
     1031              {
     1032                  valid=1;
     1033                  viewIndex = uiBaseId;
     1034                  break;
     1035              }
     1036          }
     1037      }
     1038  }
     1039  if( valid )
     1040  {
     1041      pcSlice->setDefaultRefViewIdx( viewIndex );
     1042      pcSlice->setDefaultRefViewIdxAvailableFlag( true );   
     1043  }
     1044#endif
     1045
    10131046  // for every CU in slice
    10141047#if H_3D
     
    11691202#endif
    11701203      }
    1171 
    11721204      // run CU encoder
    11731205      m_pcCuEncoder->compressCU( pcCU );
Note: See TracChangeset for help on using the changeset viewer.