Changeset 915 in 3DVCSoftware for branches/HTM-10.2-dev3-Qualcomm/source
- Timestamp:
- 14 Apr 2014, 08:28:02 (11 years ago)
- Location:
- branches/HTM-10.2-dev3-Qualcomm/source
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-10.2-dev3-Qualcomm/source/App/TAppEncoder/TAppEncTop.cpp
r902 r915 178 178 m_cTEncTop.setDWeight ( isDepth ? m_iDWeight : 0 ); 179 179 #endif // H_3D_VSO 180 #if H_3D_ARP 180 #if H_3D_ARP && !QC_IV_PRED_CONSTRAINT_H0137 181 181 //====== Advanced Inter-view Residual Prediction ========= 182 182 m_cTEncTop.setUseAdvRP ( ( isDepth || 0==layerIdInVps ) ? 0 : m_uiUseAdvResPred ); … … 1796 1796 1797 1797 #if H_3D_ARP 1798 #if QC_IV_PRED_CONSTRAINT_H0137 1799 vps.setUseAdvRP ( layer, ( isDepth || isLayerZero || !vps.getNumDirectRefLayers(layer) ) ? 0 : m_uiUseAdvResPred ); 1800 vps.setARPStepNum ( layer, ( isDepth || isLayerZero || !vps.getNumDirectRefLayers(layer) ) ? 1 : H_3D_ARP_WFNR ); 1801 #else 1798 1802 vps.setUseAdvRP ( layer, ( isDepth || isLayerZero ) ? 0 : m_uiUseAdvResPred ); 1799 1803 vps.setARPStepNum ( layer, ( isDepth || isLayerZero ) ? 1 : H_3D_ARP_WFNR ); 1804 #endif 1800 1805 #endif 1801 1806 #if H_3D_SPIVMP … … 1815 1820 1816 1821 #if H_3D_IV_MERGE 1822 #if QC_IV_PRED_CONSTRAINT_H0137 1823 if( !vps.getNumDirectRefLayers(layer) ) 1824 { 1825 vps.setIvMvPredFlag (layer, false); 1826 } 1827 else 1828 { 1829 #endif 1817 1830 if( isDepth ) 1818 1831 { … … 1823 1836 vps.setIvMvPredFlag ( layer, !isLayerZero && m_ivMvPredFlag[0] ); 1824 1837 } 1838 #if QC_IV_PRED_CONSTRAINT_H0137 1839 } 1840 #endif 1825 1841 #endif 1826 1842 #if H_3D_NBDV_REF … … 1828 1844 #endif 1829 1845 #if H_3D_VSP 1846 #if QC_IV_PRED_CONSTRAINT_H0137 1847 vps.setViewSynthesisPredFlag( layer, !isLayerZero && !isDepth && vps.getNumDirectRefLayers(layer) && m_viewSynthesisPredFlag ); 1848 #else 1830 1849 vps.setViewSynthesisPredFlag( layer, !isLayerZero && !isDepth && m_viewSynthesisPredFlag ); 1850 #endif 1831 1851 #endif 1832 1852 #if H_3D_DBBP -
branches/HTM-10.2-dev3-Qualcomm/source/Lib/TLibCommon/TypeDef.h
r914 r915 226 226 #define H_3D_FAST_TEXTURE_ENCODING 1 // Fast merge mode decision and early CU determination for texture component of dependent view, JCT3V-E0173 227 227 // MTK_FAST_TEXTURE_ENCODING_E0173 228 #define QC_IV_PRED_CONSTRAINT_H0137 1 // Constraint on inter-view (motion) prediction tools 228 229 #if H_3D_DIM 229 230 #define H_3D_FAST_DEPTH_INTRA 1 // Fast DMM and RBC Mode Selection -
branches/HTM-10.2-dev3-Qualcomm/source/Lib/TLibDecoder/TDecCAVLC.cpp
r884 r915 1751 1751 #if H_3D_IV_MERGE 1752 1752 READ_FLAG( uiCode, "iv_mv_pred_flag[i]"); pcVPS->setIvMvPredFlag ( i, uiCode == 1 ? true : false ); 1753 #if QC_IV_PRED_CONSTRAINT_H0137 1754 if( !pcVPS->getNumDirectRefLayers(i) ) 1755 { 1756 assert( !uiCode ); 1757 } 1758 #endif 1753 1759 #if H_3D_SPIVMP 1754 1760 READ_UVLC (uiCode, "log2_sub_PU_size_minus3[i]"); pcVPS->setSubPULog2Size(i, uiCode+3); … … 1757 1763 #if H_3D_ARP 1758 1764 READ_FLAG( uiCode, "iv_res_pred_flag[i]" ); pcVPS->setUseAdvRP ( i, uiCode ); pcVPS->setARPStepNum( i, uiCode ? H_3D_ARP_WFNR : 1 ); 1759 1765 #if QC_IV_PRED_CONSTRAINT_H0137 1766 if( !pcVPS->getNumDirectRefLayers(i) ) 1767 { 1768 assert( !uiCode ); 1769 } 1770 #endif 1760 1771 #endif 1761 1772 #if H_3D_NBDV_REF … … 1764 1775 #if H_3D_VSP 1765 1776 READ_FLAG( uiCode, "view_synthesis_pred_flag[i]"); pcVPS->setViewSynthesisPredFlag( i, uiCode == 1 ? true : false ); 1777 #if QC_IV_PRED_CONSTRAINT_H0137 1778 if( !pcVPS->getNumDirectRefLayers(i) ) 1779 { 1780 assert( !uiCode ); 1781 } 1782 #endif 1766 1783 #endif 1767 1784 #if H_3D_DBBP … … 1775 1792 { 1776 1793 READ_FLAG( uiCode, "iv_mv_pred_flag[i]"); pcVPS->setIvMvPredFlag ( i, uiCode == 1 ? true : false ); 1794 #if QC_IV_PRED_CONSTRAINT_H0137 1795 if( !pcVPS->getNumDirectRefLayers(i) ) 1796 { 1797 assert( !uiCode ); 1798 } 1799 #endif 1777 1800 } 1778 1801 #endif
Note: See TracChangeset for help on using the changeset viewer.