Changeset 1007 in 3DVCSoftware for branches/HTM-11.2-dev2-MediaTek/source/Lib/TLibDecoder/TDecCAVLC.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/TDecCAVLC.cpp
r976 r1007 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 } … … 1767 1769 if ( i != 0 ) 1768 1770 { 1771 #if MTK_I0099_VPS_EX2 1772 READ_FLAG( uiCode, "iv_mv_pred_flag[i]"); pcVPS->setIvMvPredFlag ( i, uiCode == 1 ? true : false ); 1773 #endif 1769 1774 if( !( pcVPS->getDepthId( i ) == 1 ) ) 1770 1775 { 1771 1776 #if H_3D_IV_MERGE 1777 #if !MTK_I0099_VPS_EX2 1772 1778 READ_FLAG( uiCode, "iv_mv_pred_flag[i]"); pcVPS->setIvMvPredFlag ( i, uiCode == 1 ? true : false ); 1779 #endif 1773 1780 if( !pcVPS->getNumDirectRefLayers(i) ) 1774 1781 { … … 1802 1809 else 1803 1810 { 1811 #if !MTK_I0099_VPS_EX2 1804 1812 #if H_3D_IV_MERGE 1805 1813 if(i!=1) … … 1818 1826 } 1819 1827 #endif 1828 #endif 1820 1829 #if H_3D_IV_MERGE 1821 1830 READ_FLAG( uiCode, "mpi_flag[i]" ); pcVPS->setMPIFlag( i, uiCode == 1 ? true : false ); 1822 1831 #endif 1832 #if MTK_I0099_VPS_EX2 1833 READ_UVLC (uiCode, "log2_mpi_sub_PU_size_minus3[i]"); pcVPS->setSubPUMPILog2Size(i, uiCode+3); 1834 #endif 1823 1835 READ_FLAG( uiCode, "vps_depth_modes_flag[i]" ); pcVPS->setVpsDepthModesFlag( i, uiCode == 1 ? true : false ); 1824 // READ_FLAG( uiCode, "lim_qt_pred_flag[i]"); pcVPS->setLimQtPreFlag ( i, uiCode == 1 ? true : false ); 1836 #if MTK_I0099_VPS_EX2 1837 READ_FLAG( uiCode, "lim_qt_pred_flag[i]"); pcVPS->setLimQtPredFlag ( i, uiCode == 1 ? true : false ); 1838 #endif 1825 1839 #if H_3D_INTER_SDC 1826 1840 READ_FLAG( uiCode, "depth_inter_SDC_flag" ); pcVPS->setInterSDCFlag( i, uiCode ? true : false ); … … 1857 1871 } 1858 1872 } 1873 #if !MTK_I0099_VPS_EX2 1859 1874 READ_UVLC (uiCode, "log2_sub_PU_MPI_size_minus3"); pcVPS->setSubPUMPILog2Size( uiCode + 3 ); 1875 #endif 1860 1876 READ_FLAG( uiCode, "iv_mv_scaling_flag"); pcVPS->setIvMvScalingFlag( uiCode == 1 ? true : false ); 1861 1877 }
Note: See TracChangeset for help on using the changeset viewer.