Changeset 1007 in 3DVCSoftware for branches/HTM-11.2-dev2-MediaTek/source/Lib/TLibDecoder/TDecSbac.cpp
- Timestamp:
- 22 Jul 2014, 10:27:09 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-11.2-dev2-MediaTek/source/Lib/TLibDecoder/TDecSbac.cpp
r976 r1007 721 721 Bool bParseSplitFlag = true; 722 722 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 724 729 TComPic *pcTexture = pcCU->getSlice()->getTexturePic(); 725 730 Bool bDepthMapDetect = (pcTexture != NULL); … … 728 733 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); 729 734 735 #if MTK_I0099_VPS_EX2 736 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && bLimQtPredFlag) 737 #else 730 738 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && sps->getUseQTL() && sps->getUsePC()) 739 #endif 731 740 { 732 741 TComDataCU *pcTextureCU = pcTexture->getCU(pcCU->getAddr()); … … 770 779 #if H_3D_QTLPC 771 780 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 772 785 TComSPS *sps = pcCU->getPic()->getSlice(0)->getSPS(); 786 #endif 773 787 TComPic *pcTexture = pcCU->getSlice()->getTexturePic(); 774 788 Bool bDepthMapDetect = (pcTexture != NULL); … … 779 793 Bool depthDependent = false; 780 794 UInt uiTexturePart = uiMode; 795 #if MTK_I0099_VPS_EX2 796 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && bLimQtPredFlag ) 797 #else 781 798 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && sps->getUseQTL() && sps->getUsePC()) 799 #endif 782 800 { 783 801 TComDataCU *pcTextureCU = pcTexture->getCU(pcCU->getAddr());
Note: See TracChangeset for help on using the changeset viewer.