Changeset 1030 in 3DVCSoftware for branches/HTM-11.2-dev0/source/Lib/TLibDecoder


Ignore:
Timestamp:
30 Jul 2014, 19:51:27 (11 years ago)
Author:
tech
Message:

Merged 11.2-dev2-Samsung@1026.

Location:
branches/HTM-11.2-dev0/source/Lib/TLibDecoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-11.2-dev0/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1015 r1030  
    10511051Void TDecCavlc::parseSPSExtension2( TComSPS* pcSPS, Int viewIndex, Bool depthFlag )
    10521052{
     1053#if !MTK_I0099_VPS_EX2
    10531054  UInt uiCode;
    10541055#if H_3D_QTLPC
     
    10611062    pcSPS->setUsePC( uiCode );
    10621063  }
     1064#endif
    10631065#endif
    10641066}
     
    17561758{
    17571759  UInt uiCode;
     1760#if SEC_VPS_CLEANUP_I0090
     1761  for( Int i = 1; i <= pcVPS->getMaxLayersMinus1(); i++ )
     1762#else
    17581763  for( Int i = 0; i <= pcVPS->getMaxLayersMinus1(); i++ )
     1764#endif
    17591765  {
    17601766#if H_3D_ARP
     
    17651771    pcVPS->setSubPULog2Size(i, 0);
    17661772#endif
     1773#if !SEC_VPS_CLEANUP_I0090
    17671774    if ( i != 0 )
    1768     {
     1775#endif
     1776    {
     1777#if MTK_I0099_VPS_EX2
     1778      READ_FLAG( uiCode, "iv_mv_pred_flag[i]");          pcVPS->setIvMvPredFlag         ( i, uiCode == 1 ? true : false );
     1779#if SEC_HLS_CLEANUP_I0100
     1780      READ_FLAG( uiCode, "iv_mv_scaling_flag[i]");       pcVPS->setIvMvScalingFlag         ( i, uiCode == 1 ? true : false );
     1781#endif
     1782#endif
    17691783      if( !( pcVPS->getDepthId( i ) == 1 ) )
    17701784      {
    17711785#if H_3D_IV_MERGE
     1786#if !MTK_I0099_VPS_EX2
    17721787        READ_FLAG( uiCode, "iv_mv_pred_flag[i]");          pcVPS->setIvMvPredFlag         ( i, uiCode == 1 ? true : false );
     1788#endif
    17731789        if( !pcVPS->getNumDirectRefLayers(i) )
    17741790        {
     
    18021818      else
    18031819      {
     1820#if !MTK_I0099_VPS_EX2
    18041821#if H_3D_IV_MERGE
    18051822        if(i!=1)
     
    18181835        }
    18191836#endif
     1837#endif
    18201838#if H_3D_IV_MERGE
    18211839        READ_FLAG( uiCode, "mpi_flag[i]" );             pcVPS->setMPIFlag( i, uiCode == 1 ? true : false );
     1840#endif
     1841#if MTK_I0099_VPS_EX2
     1842        READ_UVLC (uiCode, "log2_mpi_sub_PU_size_minus3[i]");     pcVPS->setSubPUMPILog2Size(i, uiCode+3);
    18221843#endif
    18231844        READ_FLAG( uiCode, "vps_depth_modes_flag[i]" );             pcVPS->setVpsDepthModesFlag( i, uiCode == 1 ? true : false );
     
    18251846        READ_FLAG( uiCode, "ivp_flag[i]" );                   pcVPS->setIVPFlag( i, uiCode == 1 ? true : false );
    18261847#endif
    1827         //          READ_FLAG( uiCode, "lim_qt_pred_flag[i]");                  pcVPS->setLimQtPreFlag     ( i, uiCode == 1 ? true : false );
     1848#if MTK_I0099_VPS_EX2
     1849        READ_FLAG( uiCode, "lim_qt_pred_flag[i]");                  pcVPS->setLimQtPredFlag     ( i, uiCode == 1 ? true : false );
     1850#endif
    18281851#if H_3D_INTER_SDC
    18291852            READ_FLAG( uiCode, "depth_inter_SDC_flag" );              pcVPS->setInterSDCFlag( i, uiCode ? true : false );
     
    18381861
    18391862  READ_UVLC( uiCamParPrecision, "cp_precision" );
     1863#if SEC_VPS_CLEANUP_I0090
     1864  for (UInt viewIndex=1; viewIndex<pcVPS->getNumViews(); viewIndex++)
     1865#else
    18401866  for (UInt viewIndex=0; viewIndex<pcVPS->getNumViews(); viewIndex++)
     1867#endif
    18411868  {
    18421869    pcVPS->setCamParPresent         ( viewIndex, false );
     
    18601887    }
    18611888  }
     1889#if !MTK_I0099_VPS_EX2
    18621890  READ_UVLC (uiCode, "log2_sub_PU_MPI_size_minus3");              pcVPS->setSubPUMPILog2Size( uiCode + 3 );
     1891#endif
     1892#if !SEC_HLS_CLEANUP_I0100
    18631893  READ_FLAG( uiCode, "iv_mv_scaling_flag");                       pcVPS->setIvMvScalingFlag( uiCode == 1 ? true : false );
     1894#endif
    18641895}
    18651896#endif
     
    24622493    }
    24632494#if H_3D_IC
     2495#if SEC_HLS_CLEANUP_I0100
     2496    else if( rpcSlice->getViewIndex() && ( rpcSlice->getSliceType() == P_SLICE || rpcSlice->getSliceType() == B_SLICE ) && !rpcSlice->getIsDepth() && vps->getNumDirectRefLayers( layerId ) > 0 )
     2497#else
    24642498    else if( rpcSlice->getViewIndex() && ( rpcSlice->getSliceType() == P_SLICE || rpcSlice->getSliceType() == B_SLICE ) && !rpcSlice->getIsDepth())
     2499#endif
    24652500    {
    24662501      UInt uiCodeTmp = 0;
  • branches/HTM-11.2-dev0/source/Lib/TLibDecoder/TDecSbac.cpp

    r1029 r1030  
    780780  Bool bParseSplitFlag    = true;
    781781
     782#if MTK_I0099_VPS_EX2
     783  TComVPS *vps           = pcCU->getPic()->getSlice(0)->getVPS();
     784  Bool    bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId());
     785#else
    782786  TComSPS *sps            = pcCU->getPic()->getSlice(0)->getSPS();
     787#endif
    783788  TComPic *pcTexture      = pcCU->getSlice()->getTexturePic();
    784789  Bool bDepthMapDetect    = (pcTexture != NULL);
     
    787792  Bool rapPic = (pcCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_W_RADL || pcCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_N_LP || pcCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_CRA);
    788793
     794#if MTK_I0099_VPS_EX2
     795  if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && bLimQtPredFlag)
     796#else
    789797  if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && sps->getUseQTL() && sps->getUsePC())
     798#endif
    790799  {
    791800    TComDataCU *pcTextureCU = pcTexture->getCU(pcCU->getAddr());
     
    829838#if H_3D_QTLPC
    830839  Bool bParsePartSize    = true;
     840#if MTK_I0099_VPS_EX2
     841  TComVPS *vps           = pcCU->getPic()->getSlice(0)->getVPS();
     842  Bool    bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId());
     843#else
    831844  TComSPS *sps           = pcCU->getPic()->getSlice(0)->getSPS();
     845#endif
    832846  TComPic *pcTexture     = pcCU->getSlice()->getTexturePic();
    833847  Bool bDepthMapDetect   = (pcTexture != NULL);
     
    838852  Bool depthDependent = false;
    839853  UInt uiTexturePart = uiMode;
     854#if MTK_I0099_VPS_EX2
     855  if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && bLimQtPredFlag )
     856#else
    840857  if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && sps->getUseQTL() && sps->getUsePC())
     858#endif
    841859  {
    842860    TComDataCU *pcTextureCU = pcTexture->getCU(pcCU->getAddr());
Note: See TracChangeset for help on using the changeset viewer.