Changeset 1233 in 3DVCSoftware for branches/HTM-14.1-update-dev3-ETRI/source/Lib/TLibEncoder
- Timestamp:
- 26 May 2015, 07:13:47 (10 years ago)
- Location:
- branches/HTM-14.1-update-dev3-ETRI/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev3-ETRI/source/Lib/TLibEncoder/TEncCu.cpp
r1217 r1233 1762 1762 { 1763 1763 assert( rpcTempCU->getSlice()->getSliceType() != I_SLICE ); 1764 #if H_3D_IV_MERGE1764 #if NH_3D_MLC 1765 1765 TComMvField cMvFieldNeighbours[MRG_MAX_NUM_CANDS_MEM << 1]; // double length for mv of both lists 1766 1766 UChar uhInterDirNeighbours[MRG_MAX_NUM_CANDS_MEM]; … … 1797 1797 1798 1798 rpcTempCU->setPartSizeSubParts( SIZE_2Nx2N, 0, uhDepth ); // interprets depth relative to CTU level 1799 1799 1800 #if H_3D_VSP 1800 1801 #if !H_3D_ARP … … 1802 1803 memset(vspFlag, 0, sizeof(Int)*MRG_MAX_NUM_CANDS_MEM); 1803 1804 InheritedVSPDisInfo inheritedVSPDisInfo[MRG_MAX_NUM_CANDS_MEM]; 1804 rpcTempCU->m_bAvailableFlagA1 = 0; 1805 rpcTempCU->m_bAvailableFlagB1 = 0; 1806 rpcTempCU->m_bAvailableFlagB0 = 0; 1807 rpcTempCU->m_bAvailableFlagA0 = 0; 1808 rpcTempCU->m_bAvailableFlagB2 = 0; 1805 #if NH_3D_MLC 1806 rpcTempCU->initAvailableFlags(); 1807 #endif 1809 1808 rpcTempCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand ); 1810 rpcTempCU->xGetInterMergeCandidates( 0, 0, cMvFieldNeighbours,uhInterDirNeighbours, vspFlag,inheritedVSPDisInfo, numValidMergeCand ); 1811 #endif 1812 #else 1813 #if H_3D 1814 rpcTempCU->m_bAvailableFlagA1 = 0; 1815 rpcTempCU->m_bAvailableFlagB1 = 0; 1816 rpcTempCU->m_bAvailableFlagB0 = 0; 1817 rpcTempCU->m_bAvailableFlagA0 = 0; 1818 rpcTempCU->m_bAvailableFlagB2 = 0; 1819 rpcTempCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand ); 1820 rpcTempCU->xGetInterMergeCandidates( 0, 0, cMvFieldNeighbours,uhInterDirNeighbours, numValidMergeCand ); 1821 #else 1809 #if NH_3D_MLC 1810 rpcTempCU->xGetInterMergeCandidates( 0, 0, cMvFieldNeighbours,uhInterDirNeighbours 1811 #if H_3D_SPIVMP 1812 , pcMvFieldSP, puhInterDirSP 1813 #endif 1814 , numValidMergeCand 1815 ); 1816 1817 rpcTempCU->buildMCL( cMvFieldNeighbours,uhInterDirNeighbours, vspFlag 1818 #if H_3D_SPIVMP 1819 , bSPIVMPFlag 1820 #endif 1821 , numValidMergeCand 1822 ); 1823 #endif 1824 #endif 1825 #else 1826 #if NH_3D_MLC 1827 rpcTempCU->initAvailableFlags(); 1828 #endif 1822 1829 rpcTempCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours,uhInterDirNeighbours, numValidMergeCand ); 1823 #endif 1824 #endif 1825 #if H_3D_IV_MERGE 1830 #if NH_3D_MLC 1831 rpcTempCU->xGetInterMergeCandidates( 0, 0, cMvFieldNeighbours,uhInterDirNeighbours 1832 #if H_3D_SPIVMP 1833 , pcMvFieldSP, puhInterDirSP 1834 #endif 1835 , numValidMergeCand 1836 ); 1837 #if NH_3D_MLC 1838 rpcTempCU->buildMCL( cMvFieldNeighbours,uhInterDirNeighbours 1839 #if H_3D_SPIVMP 1840 , bSPIVMPFlag 1841 #endif 1842 , numValidMergeCand 1843 ); 1844 #endif 1845 #endif 1846 #endif 1847 1848 1849 1850 1851 1852 1853 1854 1855 #if NH_3D_MLC 1826 1856 Int mergeCandBuffer[MRG_MAX_NUM_CANDS_MEM]; 1827 1857 #else … … 1831 1861 for( UInt ui = 0; ui < rpcTempCU->getSlice()->getMaxNumMergeCand(); ++ui ) 1832 1862 #else 1863 #if NH_3D_MLC 1864 for( UInt ui = 0; ui < rpcTempCU->getSlice()->getMaxNumMergeCand(); ++ui ) 1865 #else 1833 1866 for( UInt ui = 0; ui < numValidMergeCand; ++ui ) 1834 1867 #endif 1835 1868 #endif 1836 1869 { 1837 1870 mergeCandBuffer[ui] = 0; … … 1887 1920 ); 1888 1921 1889 rpcTempCU->buildMCL( cMvFieldNeighbours,uhInterDirNeighbours, vspFlag 1922 rpcTempCU->buildMCL( cMvFieldNeighbours,uhInterDirNeighbours 1923 #if H_3D_VSP 1924 , vspFlag 1925 #endif 1890 1926 #if H_3D_SPIVMP 1891 1927 , bSPIVMPFlag -
branches/HTM-14.1-update-dev3-ETRI/source/Lib/TLibEncoder/TEncSearch.cpp
r1200 r1233 3925 3925 { 3926 3926 pcCU->setPartSizeSubParts( SIZE_2Nx2N, 0, uiDepth ); // temporarily set 3927 #if H_3D3927 #if NH_3D_MLC 3928 3928 pcCU->initAvailableFlags(); 3929 pcCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours,uhInterDirNeighbours, numValidMergeCand );3929 pcCU->getInterMergeCandidates( 0, 0, cMvFieldNeighbours,uhInterDirNeighbours, numValidMergeCand ); 3930 3930 pcCU->xGetInterMergeCandidates( 0, 0, cMvFieldNeighbours,uhInterDirNeighbours 3931 3931 #if H_3D_SPIVMP … … 3942 3942 , pbSPIVMPFlag 3943 3943 #endif 3944 3944 , numValidMergeCand 3945 3945 ); 3946 3946 #else … … 3952 3952 else 3953 3953 { 3954 #if H_3D3954 #if NH_3D_MLC 3955 3955 pcCU->initAvailableFlags(); 3956 pcCU->getInterMergeCandidates( uiAbsPartIdx, iPUIdx, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand);3956 pcCU->getInterMergeCandidates( uiAbsPartIdx, iPUIdx, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand ); 3957 3957 pcCU->xGetInterMergeCandidates( uiAbsPartIdx, iPUIdx, cMvFieldNeighbours, uhInterDirNeighbours 3958 3958 #if H_3D_SPIVMP … … 3969 3969 , pbSPIVMPFlag 3970 3970 #endif 3971 3971 , numValidMergeCand 3972 3972 ); 3973 3973 #else
Note: See TracChangeset for help on using the changeset viewer.