Changeset 1025 in 3DVCSoftware
- Timestamp:
- 29 Jul 2014, 04:18:55 (10 years ago)
- Location:
- branches/HTM-11.2-dev2-Samsung
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-11.2-dev2-Samsung/source/App/TAppEncoder/TAppEncTop.cpp
r1017 r1025 1837 1837 { 1838 1838 vps.setIvMvPredFlag (layer, false); 1839 #if SEC_HLS_CLEANUP_I0100 1840 vps.setIvMvScalingFlag (layer, false); 1841 #endif 1839 1842 } 1840 1843 else … … 1848 1851 vps.setIvMvPredFlag ( layer, !isLayerZero && m_ivMvPredFlag[0] ); 1849 1852 } 1853 #if SEC_HLS_CLEANUP_I0100 1854 vps.setIvMvScalingFlag (layer, m_ivMvScalingFlag); 1855 #endif 1850 1856 } 1851 1857 #endif … … 1875 1881 #endif 1876 1882 #if H_3D 1883 #if !SEC_HLS_CLEANUP_I0100 1877 1884 vps.setIvMvScalingFlag( m_ivMvScalingFlag ); 1885 #endif 1878 1886 #endif 1879 1887 } -
branches/HTM-11.2-dev2-Samsung/source/Lib/TLibCommon/TComDataCU.cpp
r1007 r1025 5900 5900 Int iColRefViewId = pColCU->getSlice()->getRefPic( eColRefPicList, pColCU->getCUMvField(eColRefPicList)->getRefIdx(uiAbsPartAddr))->getViewIndex(); 5901 5901 iScale = xGetDistScaleFactor( iCurrViewId, iCurrRefViewId, iColViewId, iColRefViewId ); 5902 #if SEC_HLS_CLEANUP_I0100 5903 if ( iScale != 4096 && m_pcSlice->getVPS()->getIvMvScalingFlag(getSlice()->getLayerIdInVps()) ) 5904 #else 5902 5905 if ( iScale != 4096 && m_pcSlice->getVPS()->getIvMvScalingFlag() ) 5906 #endif 5903 5907 { 5904 5908 rcMv = cColMv.scaleMv( iScale ); -
branches/HTM-11.2-dev2-Samsung/source/Lib/TLibCommon/TComSlice.cpp
r1007 r1025 1942 1942 m_viewIndex [i] = -1; 1943 1943 m_vpsDepthModesFlag [i] = false; 1944 #if SEC_HLS_CLEANUP_I0100 1945 m_ivMvScalingFlag[i] = true; 1946 #else 1944 1947 m_ivMvScalingFlag = true; 1948 #endif 1945 1949 #endif 1946 1950 -
branches/HTM-11.2-dev2-Samsung/source/Lib/TLibCommon/TComSlice.h
r1007 r1025 798 798 #if H_3D_IV_MERGE 799 799 Bool m_ivMvPredFlag [ MAX_NUM_LAYERS ]; 800 #if SEC_HLS_CLEANUP_I0100 801 Bool m_ivMvScalingFlag [ MAX_NUM_LAYERS ]; 802 #endif 800 803 #if H_3D_SPIVMP 801 804 Int m_iSubPULog2Size [MAX_NUM_LAYERS ]; … … 824 827 Int ***m_aaaiCodedScale ; 825 828 Int ***m_aaaiCodedOffset; 829 830 #if !SEC_HLS_CLEANUP_I0100 826 831 Bool m_ivMvScalingFlag; 832 #endif 833 827 834 #endif 828 835 #if H_3D_INTER_SDC … … 1161 1168 Bool getVpsDepthModesFlag( Int layerIdInVps ) { return m_vpsDepthModesFlag[ layerIdInVps ]; } 1162 1169 1170 #if SEC_HLS_CLEANUP_I0100 1171 Bool getIvMvScalingFlag ( Int layerIdInVps ) { return m_ivMvScalingFlag[ layerIdInVps ]; } 1172 Void setIvMvScalingFlag (Int layerIdInVps, Bool b ) { m_ivMvScalingFlag[ layerIdInVps ] = b; } 1173 #else 1163 1174 Bool getIvMvScalingFlag ( ) { return m_ivMvScalingFlag; } 1164 1175 Void setIvMvScalingFlag ( Bool b ) { m_ivMvScalingFlag = b; } 1176 #endif 1177 1165 1178 #if H_3D_INTER_SDC 1166 1179 Bool getInterSDCFlag ( Int layerIdInVps ) { return m_bInterSDCFlag[layerIdInVps]; } -
branches/HTM-11.2-dev2-Samsung/source/Lib/TLibCommon/TypeDef.h
r1024 r1025 259 259 260 260 #define SEC_VPS_CLEANUP_I0090 1 261 #define SEC_HLS_CLEANUP_I0100 1 261 262 262 263 #endif // H_3D -
branches/HTM-11.2-dev2-Samsung/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1024 r1025 1777 1777 #if MTK_I0099_VPS_EX2 1778 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 1779 1782 #endif 1780 1783 if( !( pcVPS->getDepthId( i ) == 1 ) ) … … 1884 1887 READ_UVLC (uiCode, "log2_sub_PU_MPI_size_minus3"); pcVPS->setSubPUMPILog2Size( uiCode + 3 ); 1885 1888 #endif 1889 #if !SEC_HLS_CLEANUP_I0100 1886 1890 READ_FLAG( uiCode, "iv_mv_scaling_flag"); pcVPS->setIvMvScalingFlag( uiCode == 1 ? true : false ); 1891 #endif 1887 1892 } 1888 1893 #endif … … 2485 2490 } 2486 2491 #if H_3D_IC 2492 #if SEC_HLS_CLEANUP_I0100 2493 else if( rpcSlice->getViewIndex() && ( rpcSlice->getSliceType() == P_SLICE || rpcSlice->getSliceType() == B_SLICE ) && !rpcSlice->getIsDepth() && vps->getNumDirectRefLayers( layerId ) > 0 ) 2494 #else 2487 2495 else if( rpcSlice->getViewIndex() && ( rpcSlice->getSliceType() == P_SLICE || rpcSlice->getSliceType() == B_SLICE ) && !rpcSlice->getIsDepth()) 2496 #endif 2488 2497 { 2489 2498 UInt uiCodeTmp = 0; -
branches/HTM-11.2-dev2-Samsung/source/Lib/TLibEncoder/TEncCavlc.cpp
r1024 r1025 1572 1572 #if MTK_I0099_VPS_EX2 1573 1573 WRITE_FLAG( pcVPS->getIvMvPredFlag ( i ) ? 1 : 0 , "iv_mv_pred_flag[i]"); 1574 #if SEC_HLS_CLEANUP_I0100 1575 WRITE_FLAG( pcVPS->getIvMvScalingFlag( i ) ? 1 : 0 , "iv_mv_scaling_flag[i]" ); 1576 #endif 1577 1574 1578 #endif 1575 1579 if ( !( pcVPS->getDepthId( i ) == 1 ) ) … … 1653 1657 #endif 1654 1658 #if H_3D_TMVP 1659 #if !SEC_HLS_CLEANUP_I0100 1655 1660 WRITE_FLAG( pcVPS->getIvMvScalingFlag( ) ? 1 : 0 , "iv_mv_scaling_flag" ); 1661 #endif 1656 1662 #endif 1657 1663 } … … 2039 2045 } 2040 2046 #if H_3D_IC 2041 else if( pcSlice->getViewIndex() && ( pcSlice->getSliceType() == P_SLICE || pcSlice->getSliceType() == B_SLICE ) && !pcSlice->getIsDepth()) 2047 #if SEC_HLS_CLEANUP_I0100 2048 else if( pcSlice->getViewIndex() && ( pcSlice->getSliceType() == P_SLICE || pcSlice->getSliceType() == B_SLICE ) && !pcSlice->getIsDepth() && vps->getNumDirectRefLayers( layerId ) > 0 ) 2049 #else 2050 else if( pcSlice->getViewIndex() && ( pcSlice->getSliceType() == P_SLICE || pcSlice->getSliceType() == B_SLICE ) && !pcSlice->getIsDepth() ) 2051 #endif 2042 2052 { 2043 2053 WRITE_FLAG( pcSlice->getApplyIC() ? 1 : 0, "slice_ic_enable_flag" );
Note: See TracChangeset for help on using the changeset viewer.