Changeset 696 in 3DVCSoftware for branches/HTM-8.2-dev2-Samsung/source/Lib/TLibDecoder
- Timestamp:
- 15 Nov 2013, 01:35:16 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/HTM-8.2-dev2-Samsung/source/Lib/TLibDecoder/TDecCAVLC.cpp ¶
r669 r696 1271 1271 } 1272 1272 #endif 1273 #if SEC_MPI_ENABLING_MERGE_F0150 1274 READ_FLAG( uiCode, "mpi_flag[i]" ); pcVPS->setMPIFlag( i, uiCode == 1 ? true : false ); 1275 #endif 1273 1276 READ_FLAG( uiCode, "vps_depth_modes_flag[i]" ); pcVPS->setVpsDepthModesFlag( i, uiCode == 1 ? true : false ); 1274 1277 // READ_FLAG( uiCode, "lim_qt_pred_flag[i]"); pcVPS->setLimQtPreFlag ( i, uiCode == 1 ? true : false ); … … 1818 1821 READ_UVLC( uiCode, "five_minus_max_num_merge_cand"); 1819 1822 #if H_3D_IV_MERGE 1823 #if SEC_MPI_ENABLING_MERGE_F0150 1824 if(rpcSlice->getIsDepth()) 1825 { 1826 Bool bMPIFlag = rpcSlice->getVPS()->getMPIFlag( rpcSlice->getLayerIdInVps() ) ; 1827 Bool ivMvPredFlag = rpcSlice->getVPS()->getIvMvPredFlag( rpcSlice->getLayerIdInVps() ) ; 1828 rpcSlice->setMaxNumMergeCand(( ( bMPIFlag || ivMvPredFlag ) ? MRG_MAX_NUM_CANDS_MEM : MRG_MAX_NUM_CANDS) - uiCode); 1829 } 1830 else 1831 { 1832 Bool ivMvPredFlag = rpcSlice->getVPS()->getIvMvPredFlag( rpcSlice->getLayerIdInVps() ) ; 1833 rpcSlice->setMaxNumMergeCand(( ivMvPredFlag ? MRG_MAX_NUM_CANDS_MEM : MRG_MAX_NUM_CANDS) - uiCode); 1834 } 1835 #else 1820 1836 Bool ivMvPredFlag = rpcSlice->getVPS()->getIvMvPredFlag( rpcSlice->getLayerIdInVps() ) ; 1821 1837 rpcSlice->setMaxNumMergeCand(( ivMvPredFlag ? MRG_MAX_NUM_CANDS_MEM : MRG_MAX_NUM_CANDS) - uiCode); 1838 #endif 1822 1839 #else 1823 1840 rpcSlice->setMaxNumMergeCand(MRG_MAX_NUM_CANDS - uiCode);
Note: See TracChangeset for help on using the changeset viewer.