Changeset 1030 in 3DVCSoftware for branches/HTM-11.2-dev0/source/Lib/TLibDecoder
- Timestamp:
- 30 Jul 2014, 19:51:27 (11 years ago)
- Location:
- branches/HTM-11.2-dev0/source/Lib/TLibDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-11.2-dev0/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1015 r1030 1051 1051 Void TDecCavlc::parseSPSExtension2( TComSPS* pcSPS, Int viewIndex, Bool depthFlag ) 1052 1052 { 1053 #if !MTK_I0099_VPS_EX2 1053 1054 UInt uiCode; 1054 1055 #if H_3D_QTLPC … … 1061 1062 pcSPS->setUsePC( uiCode ); 1062 1063 } 1064 #endif 1063 1065 #endif 1064 1066 } … … 1756 1758 { 1757 1759 UInt uiCode; 1760 #if SEC_VPS_CLEANUP_I0090 1761 for( Int i = 1; i <= pcVPS->getMaxLayersMinus1(); i++ ) 1762 #else 1758 1763 for( Int i = 0; i <= pcVPS->getMaxLayersMinus1(); i++ ) 1764 #endif 1759 1765 { 1760 1766 #if H_3D_ARP … … 1765 1771 pcVPS->setSubPULog2Size(i, 0); 1766 1772 #endif 1773 #if !SEC_VPS_CLEANUP_I0090 1767 1774 if ( i != 0 ) 1768 { 1775 #endif 1776 { 1777 #if MTK_I0099_VPS_EX2 1778 READ_FLAG( uiCode, "iv_mv_pred_flag[i]"); pcVPS->setIvMvPredFlag ( i, uiCode == 1 ? true : false ); 1779 #if SEC_HLS_CLEANUP_I0100 1780 READ_FLAG( uiCode, "iv_mv_scaling_flag[i]"); pcVPS->setIvMvScalingFlag ( i, uiCode == 1 ? true : false ); 1781 #endif 1782 #endif 1769 1783 if( !( pcVPS->getDepthId( i ) == 1 ) ) 1770 1784 { 1771 1785 #if H_3D_IV_MERGE 1786 #if !MTK_I0099_VPS_EX2 1772 1787 READ_FLAG( uiCode, "iv_mv_pred_flag[i]"); pcVPS->setIvMvPredFlag ( i, uiCode == 1 ? true : false ); 1788 #endif 1773 1789 if( !pcVPS->getNumDirectRefLayers(i) ) 1774 1790 { … … 1802 1818 else 1803 1819 { 1820 #if !MTK_I0099_VPS_EX2 1804 1821 #if H_3D_IV_MERGE 1805 1822 if(i!=1) … … 1818 1835 } 1819 1836 #endif 1837 #endif 1820 1838 #if H_3D_IV_MERGE 1821 1839 READ_FLAG( uiCode, "mpi_flag[i]" ); pcVPS->setMPIFlag( i, uiCode == 1 ? true : false ); 1840 #endif 1841 #if MTK_I0099_VPS_EX2 1842 READ_UVLC (uiCode, "log2_mpi_sub_PU_size_minus3[i]"); pcVPS->setSubPUMPILog2Size(i, uiCode+3); 1822 1843 #endif 1823 1844 READ_FLAG( uiCode, "vps_depth_modes_flag[i]" ); pcVPS->setVpsDepthModesFlag( i, uiCode == 1 ? true : false ); … … 1825 1846 READ_FLAG( uiCode, "ivp_flag[i]" ); pcVPS->setIVPFlag( i, uiCode == 1 ? true : false ); 1826 1847 #endif 1827 // READ_FLAG( uiCode, "lim_qt_pred_flag[i]"); pcVPS->setLimQtPreFlag ( i, uiCode == 1 ? true : false ); 1848 #if MTK_I0099_VPS_EX2 1849 READ_FLAG( uiCode, "lim_qt_pred_flag[i]"); pcVPS->setLimQtPredFlag ( i, uiCode == 1 ? true : false ); 1850 #endif 1828 1851 #if H_3D_INTER_SDC 1829 1852 READ_FLAG( uiCode, "depth_inter_SDC_flag" ); pcVPS->setInterSDCFlag( i, uiCode ? true : false ); … … 1838 1861 1839 1862 READ_UVLC( uiCamParPrecision, "cp_precision" ); 1863 #if SEC_VPS_CLEANUP_I0090 1864 for (UInt viewIndex=1; viewIndex<pcVPS->getNumViews(); viewIndex++) 1865 #else 1840 1866 for (UInt viewIndex=0; viewIndex<pcVPS->getNumViews(); viewIndex++) 1867 #endif 1841 1868 { 1842 1869 pcVPS->setCamParPresent ( viewIndex, false ); … … 1860 1887 } 1861 1888 } 1889 #if !MTK_I0099_VPS_EX2 1862 1890 READ_UVLC (uiCode, "log2_sub_PU_MPI_size_minus3"); pcVPS->setSubPUMPILog2Size( uiCode + 3 ); 1891 #endif 1892 #if !SEC_HLS_CLEANUP_I0100 1863 1893 READ_FLAG( uiCode, "iv_mv_scaling_flag"); pcVPS->setIvMvScalingFlag( uiCode == 1 ? true : false ); 1894 #endif 1864 1895 } 1865 1896 #endif … … 2462 2493 } 2463 2494 #if H_3D_IC 2495 #if SEC_HLS_CLEANUP_I0100 2496 else if( rpcSlice->getViewIndex() && ( rpcSlice->getSliceType() == P_SLICE || rpcSlice->getSliceType() == B_SLICE ) && !rpcSlice->getIsDepth() && vps->getNumDirectRefLayers( layerId ) > 0 ) 2497 #else 2464 2498 else if( rpcSlice->getViewIndex() && ( rpcSlice->getSliceType() == P_SLICE || rpcSlice->getSliceType() == B_SLICE ) && !rpcSlice->getIsDepth()) 2499 #endif 2465 2500 { 2466 2501 UInt uiCodeTmp = 0; -
branches/HTM-11.2-dev0/source/Lib/TLibDecoder/TDecSbac.cpp
r1029 r1030 780 780 Bool bParseSplitFlag = true; 781 781 782 #if MTK_I0099_VPS_EX2 783 TComVPS *vps = pcCU->getPic()->getSlice(0)->getVPS(); 784 Bool bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId()); 785 #else 782 786 TComSPS *sps = pcCU->getPic()->getSlice(0)->getSPS(); 787 #endif 783 788 TComPic *pcTexture = pcCU->getSlice()->getTexturePic(); 784 789 Bool bDepthMapDetect = (pcTexture != NULL); … … 787 792 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); 788 793 794 #if MTK_I0099_VPS_EX2 795 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && bLimQtPredFlag) 796 #else 789 797 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && sps->getUseQTL() && sps->getUsePC()) 798 #endif 790 799 { 791 800 TComDataCU *pcTextureCU = pcTexture->getCU(pcCU->getAddr()); … … 829 838 #if H_3D_QTLPC 830 839 Bool bParsePartSize = true; 840 #if MTK_I0099_VPS_EX2 841 TComVPS *vps = pcCU->getPic()->getSlice(0)->getVPS(); 842 Bool bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId()); 843 #else 831 844 TComSPS *sps = pcCU->getPic()->getSlice(0)->getSPS(); 845 #endif 832 846 TComPic *pcTexture = pcCU->getSlice()->getTexturePic(); 833 847 Bool bDepthMapDetect = (pcTexture != NULL); … … 838 852 Bool depthDependent = false; 839 853 UInt uiTexturePart = uiMode; 854 #if MTK_I0099_VPS_EX2 855 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && bLimQtPredFlag ) 856 #else 840 857 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && sps->getUseQTL() && sps->getUsePC()) 858 #endif 841 859 { 842 860 TComDataCU *pcTextureCU = pcTexture->getCU(pcCU->getAddr());
Note: See TracChangeset for help on using the changeset viewer.