Changeset 1007 in 3DVCSoftware for branches/HTM-11.2-dev2-MediaTek/source/Lib/TLibEncoder/TEncSbac.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/TLibEncoder/TEncSbac.cpp
r976 r1007 664 664 PartSize eSize = pcCU->getPartitionSize( uiAbsPartIdx ); 665 665 #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 666 670 TComSPS *sps = pcCU->getPic()->getSlice(0)->getSPS(); 671 #endif 667 672 TComPic *pcTexture = pcCU->getSlice()->getTexturePic(); 668 673 Bool bDepthMapDetect = (pcTexture != NULL); … … 673 678 Bool depthDependent = false; 674 679 UInt uiTexturePart = eSize; 680 #if MTK_I0099_VPS_EX2 681 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && pcCU->getPic()->getReduceBitsFlag() && bLimQtPredFlag ) 682 #else 675 683 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && pcCU->getPic()->getReduceBitsFlag() && sps->getUseQTL() && sps->getUsePC() ) 684 #endif 676 685 { 677 686 TComDataCU *pcTextureCU = pcTexture->getCU(pcCU->getAddr()); … … 1031 1040 Bool bCodeSplitFlag = true; 1032 1041 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 1033 1046 TComSPS *sps = pcCU->getPic()->getSlice(0)->getSPS(); 1047 #endif 1034 1048 TComPic *pcTexture = pcCU->getSlice()->getTexturePic(); 1035 1049 Bool bDepthMapDetect = (pcTexture != NULL); … … 1038 1052 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); 1039 1053 1054 #if MTK_I0099_VPS_EX2 1055 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && pcCU->getPic()->getReduceBitsFlag() && bLimQtPredFlag ) 1056 #else 1040 1057 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && pcCU->getPic()->getReduceBitsFlag() && sps->getUseQTL() && sps->getUsePC()) 1058 #endif 1041 1059 { 1042 1060 TComDataCU *pcTextureCU = pcTexture->getCU(pcCU->getAddr());
Note: See TracChangeset for help on using the changeset viewer.