Ignore:
Timestamp:
28 Oct 2014, 03:54:11 (10 years ago)
Author:
mediatek-htm
Message:

Integration of JCT3V-J0060. The MACRO is "MTK_SINGLE_DEPTH_VPS_FLAG_J0060".

By YiWen Chen (yiwen.chen@…)

Location:
branches/HTM-12.2-dev1-Mediatek/source/Lib/TLibEncoder
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-12.2-dev1-Mediatek/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1089 r1090  
    16191619        WRITE_FLAG( pcVPS->getInterSDCFlag( i ) ? 1 : 0, "depth_inter_SDC_flag" );
    16201620#endif
     1621#if MTK_SINGLE_DEPTH_VPS_FLAG_J0060
     1622        WRITE_FLAG( pcVPS->getSingleDepthModeFlag( i ) ? 1 : 0, "single_depth_mode_flag" );
     1623#endif
    16211624      }
    16221625    } 
     
    20462049    }
    20472050#endif
     2051#if !MTK_SINGLE_DEPTH_VPS_FLAG_J0060
    20482052#if H_3D_SINGLE_DEPTH
    20492053    if(pcSlice->getIsDepth())
     
    20512055      WRITE_FLAG( pcSlice->getApplySingleDepthMode() ? 1 : 0, "slice_enable_single_depth_mode" );
    20522056    }
     2057#endif
    20532058#endif
    20542059#if H_3D_IV_MERGE
  • branches/HTM-12.2-dev1-Mediatek/source/Lib/TLibEncoder/TEncCu.cpp

    r1084 r1090  
    715715#if H_3D_SINGLE_DEPTH
    716716    rpcTempCU->initEstData( uiDepth, iMinQP, isAddLowestQP  );
     717#if MTK_SINGLE_DEPTH_VPS_FLAG_J0060
     718    if(rpcBestCU->getSlice()->getVPS()->getSingleDepthModeFlag(rpcBestCU->getSlice()->getLayerIdInVps()))
     719#else
    717720    if(rpcBestCU->getSlice()->getApplySingleDepthMode())
     721#endif
    718722    {
    719723      xCheckRDCostSingleDepth( rpcBestCU, rpcTempCU, SIZE_2Nx2N );
  • branches/HTM-12.2-dev1-Mediatek/source/Lib/TLibEncoder/TEncEntropy.cpp

    r1084 r1090  
    126126    return;
    127127  }
     128#if MTK_SINGLE_DEPTH_VPS_FLAG_J0060
     129  if(!pcCU->getSlice()->getVPS()->getSingleDepthModeFlag(pcCU->getSlice()->getLayerIdInVps()))
     130  {
     131     return;
     132  }
     133#else
    128134  if(!pcCU->getSlice()->getApplySingleDepthMode())
    129135  {
    130136     return;
    131137  }
    132  
     138#endif
    133139  if( bRD )
    134140  {
  • branches/HTM-12.2-dev1-Mediatek/source/Lib/TLibEncoder/TEncGOP.cpp

    r1084 r1090  
    941941    pcSlice->setRefPicList ( rcListPic );
    942942#endif
     943#if !MTK_SINGLE_DEPTH_VPS_FLAG_J0060
    943944#if H_3D_SINGLE_DEPTH
    944945    TEncTop* pcEncTop = (TEncTop*) m_pcCfg;
     
    953954    pcSlice->setApplySingleDepthMode(enableSingleDepthMode);
    954955#endif   
     956#endif
    955957#if H_3D_ARP
    956958    //GT: This seems to be broken when layerId in vps is not equal to layerId in nuh
Note: See TracChangeset for help on using the changeset viewer.