Ignore:
Timestamp:
22 Jul 2014, 10:27:09 (10 years ago)
Author:
mediatek-htm
Message:

JCT3V-I0099. Changes of sub-PU size signaling and lim_qt_pred_flag signaling in VPS extension 2. Remove use_qtl_flag and use_pc_flag.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-11.2-dev2-MediaTek/source/Lib/TLibEncoder/TEncSbac.cpp

    r976 r1007  
    664664  PartSize eSize         = pcCU->getPartitionSize( uiAbsPartIdx );
    665665#if H_3D_QTLPC
     666#if MTK_I0099_VPS_EX2
     667  TComVPS *vps           = pcCU->getPic()->getSlice(0)->getVPS();
     668  Bool    bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId());
     669#else
    666670  TComSPS *sps           = pcCU->getPic()->getSlice(0)->getSPS();
     671#endif
    667672  TComPic *pcTexture     = pcCU->getSlice()->getTexturePic();
    668673  Bool bDepthMapDetect   = (pcTexture != NULL);
     
    673678  Bool depthDependent = false;
    674679  UInt uiTexturePart = eSize;
     680#if MTK_I0099_VPS_EX2
     681  if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && pcCU->getPic()->getReduceBitsFlag() && bLimQtPredFlag )
     682#else
    675683  if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && pcCU->getPic()->getReduceBitsFlag() && sps->getUseQTL() && sps->getUsePC() )
     684#endif
    676685  {
    677686    TComDataCU *pcTextureCU = pcTexture->getCU(pcCU->getAddr());
     
    10311040  Bool bCodeSplitFlag    = true;
    10321041
     1042#if MTK_I0099_VPS_EX2
     1043  TComVPS *vps           = pcCU->getPic()->getSlice(0)->getVPS();
     1044  Bool    bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId());
     1045#else
    10331046  TComSPS *sps           = pcCU->getPic()->getSlice(0)->getSPS();
     1047#endif
    10341048  TComPic *pcTexture     = pcCU->getSlice()->getTexturePic();
    10351049  Bool bDepthMapDetect   = (pcTexture != NULL);
     
    10381052  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);
    10391053
     1054#if MTK_I0099_VPS_EX2
     1055  if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && pcCU->getPic()->getReduceBitsFlag() && bLimQtPredFlag  )
     1056#else
    10401057  if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && pcCU->getPic()->getReduceBitsFlag() && sps->getUseQTL() && sps->getUsePC())
     1058#endif
    10411059  {
    10421060    TComDataCU *pcTextureCU = pcTexture->getCU(pcCU->getAddr());
Note: See TracChangeset for help on using the changeset viewer.