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/TLibDecoder/TDecSbac.cpp

    r976 r1007  
    721721  Bool bParseSplitFlag    = true;
    722722
    723   TComSPS *sps            = pcCU->getPic()->getSlice(0)->getSPS();
     723#if MTK_I0099_VPS_EX2
     724  TComVPS *vps           = pcCU->getPic()->getSlice(0)->getVPS();
     725  Bool    bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId());
     726#else
     727  TComSPS *sps           = pcCU->getPic()->getSlice(0)->getSPS();
     728#endif
    724729  TComPic *pcTexture      = pcCU->getSlice()->getTexturePic();
    725730  Bool bDepthMapDetect    = (pcTexture != NULL);
     
    728733  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);
    729734
     735#if MTK_I0099_VPS_EX2
     736  if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && bLimQtPredFlag)
     737#else
    730738  if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && sps->getUseQTL() && sps->getUsePC())
     739#endif
    731740  {
    732741    TComDataCU *pcTextureCU = pcTexture->getCU(pcCU->getAddr());
     
    770779#if H_3D_QTLPC
    771780  Bool bParsePartSize    = true;
     781#if MTK_I0099_VPS_EX2
     782  TComVPS *vps           = pcCU->getPic()->getSlice(0)->getVPS();
     783  Bool    bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId());
     784#else
    772785  TComSPS *sps           = pcCU->getPic()->getSlice(0)->getSPS();
     786#endif
    773787  TComPic *pcTexture     = pcCU->getSlice()->getTexturePic();
    774788  Bool bDepthMapDetect   = (pcTexture != NULL);
     
    779793  Bool depthDependent = false;
    780794  UInt uiTexturePart = uiMode;
     795#if MTK_I0099_VPS_EX2
     796  if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && bLimQtPredFlag )
     797#else
    781798  if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && sps->getUseQTL() && sps->getUsePC())
     799#endif
    782800  {
    783801    TComDataCU *pcTextureCU = pcTexture->getCU(pcCU->getAddr());
Note: See TracChangeset for help on using the changeset viewer.