Changeset 1048 in 3DVCSoftware for branches/HTM-12.0-dev1/source
- Timestamp:
- 18 Aug 2014, 09:35:34 (10 years ago)
- Location:
- branches/HTM-12.0-dev1/source
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-12.0-dev1/source/App/TAppEncoder/TAppEncTop.cpp
r1039 r1048 200 200 m_cTEncTop.setUseDMM ( isDepth ? m_useDMM : false ); 201 201 #if SEPARATE_FLAG_I0085 202 #if LGE_FCO_I0116 203 m_cTEncTop.setUseIVP ( vps.getViewIndex( layerId ) == 0 && isDepth ? m_useIVP : false ); 204 #else 202 205 m_cTEncTop.setUseIVP ( isDepth ? m_useIVP : false ); 206 #endif 203 207 #endif 204 208 m_cTEncTop.setUseSDC ( isDepth ? m_useSDC : false ); … … 210 214 #if !MTK_I0099_VPS_EX2 || MTK_I0099_FIX 211 215 #if H_3D_QTLPC 216 #if LGE_FCO_I0116 217 m_cTEncTop.setUseQTL ( vps.getViewIndex( layerId ) == 0 && isDepth ? m_bUseQTL : false ); 218 #else 212 219 m_cTEncTop.setUseQTL ( isDepth ? m_bUseQTL : false ); 220 #endif 213 221 #if !MTK_I0099_VPS_EX2 214 222 m_cTEncTop.setUsePC ( isDepth ? m_bUsePC : false ); … … 224 232 #endif 225 233 #if H_3D_IV_MERGE 226 m_cTEncTop.setUseMPI ( isDepth ? m_bMPIFlag : false ); 234 #if LGE_FCO_I0116 235 m_cTEncTop.setUseMPI ( vps.getViewIndex( layerId ) == 0 && isDepth ? m_bMPIFlag : false ); 236 #else 237 m_cTEncTop.setUseMPI ( isDepth ? m_bMPIFlag : false ); 238 #endif 227 239 #endif 228 240 #endif // H_3D … … 1816 1828 Bool isDepth = ( vps.getDepthId( layer ) == 1 ) ; 1817 1829 Bool isLayerZero = ( layer == 0 ); 1830 #if LGE_FCO_I0116 1831 Bool isDepthFirst = (layer > 1 ? true : false); 1832 #endif 1818 1833 1819 1834 #if H_3D_ARP … … 1838 1853 vps.setVpsDepthModesFlag( layer, isDepth && !isLayerZero && (m_useDMM || m_useSDC || m_useDLT ) ); 1839 1854 #if SEPARATE_FLAG_I0085 1855 #if LGE_FCO_I0116 1856 vps.setIVPFlag ( layer, isDepth && !isLayerZero && m_useIVP && !isDepthFirst ); 1857 #else 1840 1858 vps.setIVPFlag ( layer, isDepth && !isLayerZero && m_useIVP ); 1859 #endif 1841 1860 #endif 1842 1861 #endif … … 1866 1885 #endif 1867 1886 #if MTK_I0099_VPS_EX2 1887 #if LGE_FCO_I0116 1888 vps.setLimQtPredFlag ( layer, isDepth && m_bLimQtPredFlag && !isDepthFirst ); 1889 #else 1868 1890 vps.setLimQtPredFlag ( layer, isDepth && m_bLimQtPredFlag ); 1891 #endif 1869 1892 #endif 1870 1893 #if H_3D_NBDV_REF … … 1881 1904 #endif 1882 1905 #if H_3D_IV_MERGE 1906 #if LGE_FCO_I0116 1907 vps.setMPIFlag( layer, !isLayerZero && isDepth && m_bMPIFlag && !isDepthFirst ); 1908 #else 1883 1909 vps.setMPIFlag( layer, !isLayerZero && isDepth && m_bMPIFlag ); 1910 #endif 1884 1911 #endif 1885 1912 } -
branches/HTM-12.0-dev1/source/Lib/TLibCommon/TComDataCU.cpp
r1039 r1048 4177 4177 TComPic * pcTexPic = m_pcSlice->getTexturePic(); 4178 4178 #if H_3D_FCO 4179 #if LGE_FCO_I0116 4180 if (pcTexPic && pcTexPic->getReconMark()) 4181 #else 4179 4182 if (pcTexturePic->getReconMark()) 4183 #endif 4180 4184 { 4181 4185 #endif -
branches/HTM-12.0-dev1/source/Lib/TLibCommon/TComSlice.cpp
r1039 r1048 3727 3727 3728 3728 #if H_3D_DDD 3729 #if LGE_FCO_I0116 3730 if( getIsDepth() && getViewIndex() > 0 && getVPS()->getMPIFlag(layerIdInVPS)) 3731 #else 3729 3732 if( getIsDepth() && getViewIndex() > 0 ) 3733 #endif 3730 3734 { 3731 3735 TComSlice *pcTextSlice = getTexturePic()->getSlice( 0 ); -
branches/HTM-12.0-dev1/source/Lib/TLibCommon/TypeDef.h
r1039 r1048 251 251 252 252 #define H_3D_FCO 0 // Flexible coding order for 3D 253 #if H_3D_FCO 254 #define LGE_FCO_I0116 1 255 #endif 253 256 254 257 #define SCU_HS_FAST_INTRA_SDC_I0123 1 -
branches/HTM-12.0-dev1/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1039 r1048 2637 2637 2638 2638 #if H_3D 2639 #if LGE_FCO_I0116 2640 if( rpcSlice->getVPS()->hasCamParInSliceHeader( rpcSlice->getViewIndex() ) && rpcSlice->getIsDepth() ) 2641 #else 2639 2642 if( rpcSlice->getVPS()->hasCamParInSliceHeader( rpcSlice->getViewIndex() ) && !rpcSlice->getIsDepth() ) 2643 #endif 2640 2644 { 2641 2645 UInt uiViewIndex = rpcSlice->getViewIndex(); -
branches/HTM-12.0-dev1/source/Lib/TLibDecoder/TDecCu.cpp
r1039 r1048 859 859 // get collocated depth block 860 860 UInt uiDepthStride = 0; 861 #if LGE_FCO_I0116 862 Pel* pDepthPels = pcCU->getVirtualDepthBlock(pcCU->getZorderIdxInCU(), pcCU->getWidth(0), pcCU->getHeight(0), uiDepthStride); 863 #else 861 864 Pel* pDepthPels = pcCU->getVirtualDepthBlock(0, pcCU->getWidth(0), pcCU->getHeight(0), uiDepthStride); 865 #endif 862 866 AOF( pDepthPels != NULL ); 863 867 AOF( uiDepthStride != 0 ); -
branches/HTM-12.0-dev1/source/Lib/TLibDecoder/TDecSbac.cpp
r1039 r1048 794 794 795 795 #if MTK_I0099_VPS_EX2 796 #if LGE_FCO_I0116 797 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && bLimQtPredFlag && pcTexture->getReconMark()) 798 #else 796 799 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && bLimQtPredFlag) 800 #endif 797 801 #else 798 802 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && sps->getUseQTL() && sps->getUsePC()) … … 854 858 UInt uiTexturePart = uiMode; 855 859 #if MTK_I0099_VPS_EX2 860 #if LGE_FCO_I0116 861 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && bLimQtPredFlag && pcTexture->getReconMark()) 862 #else 856 863 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && bLimQtPredFlag ) 864 #endif 857 865 #else 858 866 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && sps->getUseQTL() && sps->getUsePC()) -
branches/HTM-12.0-dev1/source/Lib/TLibDecoder/TDecTop.cpp
r976 r1048 229 229 } 230 230 231 #if !LGE_FCO_I0116 231 232 if ( pcSlice->getIsDepth()) 232 233 { 233 234 return; 234 235 } 236 #endif 235 237 236 238 Int curPoc = pcSlice->getPOC(); … … 1201 1203 1202 1204 #if H_3D_IV_MERGE 1205 #if LGE_FCO_I0116 1206 if( !pcSlice->getIsDepth() && m_pcCamParsCollector ) 1207 #else 1203 1208 if( pcSlice->getIsDepth() && m_pcCamParsCollector ) 1209 #endif 1204 1210 { 1205 1211 m_pcCamParsCollector->copyCamParamForSlice( pcSlice ); -
branches/HTM-12.0-dev1/source/Lib/TLibEncoder/TEncCavlc.cpp
r1039 r1048 2126 2126 } 2127 2127 #if H_3D 2128 #if LGE_FCO_I0116 2129 if( pcSlice->getVPS()->hasCamParInSliceHeader( pcSlice->getViewIndex() ) && pcSlice->getIsDepth() ) 2130 #else 2128 2131 if( pcSlice->getVPS()->hasCamParInSliceHeader( pcSlice->getViewIndex() ) && !pcSlice->getIsDepth() ) 2132 #endif 2129 2133 { 2130 2134 for( UInt uiId = 0; uiId < pcSlice->getViewIndex(); uiId++ ) -
branches/HTM-12.0-dev1/source/Lib/TLibEncoder/TEncCu.cpp
r1039 r1048 538 538 #if MTK_I0099_VPS_EX2 539 539 #if MTK_I0099_FIX 540 #if LGE_FCO_I0116 541 if(depthMapDetect && !bIntraSliceDetect && !rapPic && ( m_pcEncCfg->getUseQTL() || bLimQtPredFalg ) && pcTexture->getReconMark()) 542 #else 540 543 if(depthMapDetect && !bIntraSliceDetect && !rapPic && ( m_pcEncCfg->getUseQTL() || bLimQtPredFalg )) 544 #endif 541 545 #else 542 546 if(depthMapDetect && !bIntraSliceDetect && !rapPic && bLimQtPredFalg) … … 2588 2592 // fetch virtual depth block 2589 2593 UInt uiDepthStride = 0; 2594 #if LGE_FCO_I0116 2595 Pel* pDepthPels = rpcTempCU->getVirtualDepthBlock(rpcTempCU->getZorderIdxInCU(), uiWidth, uiHeight, uiDepthStride); 2596 #else 2590 2597 Pel* pDepthPels = rpcTempCU->getVirtualDepthBlock(0, uiWidth, uiHeight, uiDepthStride); 2598 #endif 2591 2599 AOF( pDepthPels != NULL ); 2592 2600 AOF( uiDepthStride != 0 ); -
branches/HTM-12.0-dev1/source/Lib/TLibEncoder/TEncSbac.cpp
r1039 r1048 732 732 UInt uiTexturePart = eSize; 733 733 #if MTK_I0099_VPS_EX2 734 #if LGE_FCO_I0116 735 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && pcCU->getPic()->getReduceBitsFlag() && bLimQtPredFlag && pcTexture->getReconMark()) 736 #else 734 737 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && pcCU->getPic()->getReduceBitsFlag() && bLimQtPredFlag ) 738 #endif 735 739 #else 736 740 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && pcCU->getPic()->getReduceBitsFlag() && sps->getUseQTL() && sps->getUsePC() ) … … 1106 1110 1107 1111 #if MTK_I0099_VPS_EX2 1112 #if LGE_FCO_I0116 1113 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && pcCU->getPic()->getReduceBitsFlag() && bLimQtPredFlag && pcTexture->getReconMark() ) 1114 #else 1108 1115 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && pcCU->getPic()->getReduceBitsFlag() && bLimQtPredFlag ) 1116 #endif 1109 1117 #else 1110 1118 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && pcCU->getPic()->getReduceBitsFlag() && sps->getUseQTL() && sps->getUsePC()) -
branches/HTM-12.0-dev1/source/Lib/TLibEncoder/TEncSearch.cpp
r1039 r1048 3212 3212 #if H_3D_FCO 3213 3213 TComPic* picTexture = pcCU->getSlice()->getIvPic(false, pcCU->getSlice()->getViewIndex() ); 3214 #if LGE_FCO_I0116 3215 if ( !picTexture->getReconMark() && (DMM4_IDX == dmmType ) ) 3216 #else 3214 3217 if ( !picTexture->getReconMark() && (DMM3_IDX == dmmType || DMM4_IDX == dmmType ) ) 3218 #endif 3215 3219 { 3216 3220 continue;
Note: See TracChangeset for help on using the changeset viewer.