Changeset 767 in 3DVCSoftware for branches/HTM-9.2-dev0/source/App/TAppEncoder
- Timestamp:
- 12 Jan 2014, 04:39:11 (11 years ago)
- Location:
- branches/HTM-9.2-dev0/source/App/TAppEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-9.2-dev0/source/App/TAppEncoder/TAppEncTop.cpp
r766 r767 76 76 #endif 77 77 78 #if CAM_HLS_F0136_F0045_F008278 #if H_3D 79 79 vps.createCamPars(m_iNumberOfViews); 80 #endif81 82 #if DLT_DIFF_CODING_IN_PPS83 80 TComDLT& dlt = m_dlt; 84 81 #endif … … 134 131 xSetVPSExtension2 ( vps ); 135 132 m_ivPicLists.setVPS ( &vps ); 136 #if DLT_DIFF_CODING_IN_PPS137 133 xDeriveDltArray ( vps, dlt ); 138 #endif139 134 #endif 140 135 … … 216 211 m_cTEncTop.setVPS(&vps); 217 212 218 #if DLT_DIFF_CODING_IN_PPS213 #if H_3D 219 214 m_cTEncTop.setDLT(&dlt); 220 215 #endif … … 778 773 Void TAppEncTop::xInitLib(Bool isFieldCoding) 779 774 { 780 #if CAM_HLS_F0136_F0045_F0082775 #if H_3D 781 776 for ( Int viewIndex = 0; viewIndex < m_vps.getNumViews(); viewIndex++ ) 782 777 { … … 1252 1247 1253 1248 #if H_3D_DIM_DLT 1254 #if DLT_DIFF_CODING_IN_PPS1255 1249 Void TAppEncTop::xAnalyzeInputBaseDepth(UInt layer, UInt uiNumFrames, TComVPS* vps, TComDLT* dlt) 1256 #else1257 Void TAppEncTop::xAnalyzeInputBaseDepth(UInt layer, UInt uiNumFrames, TComVPS* vps)1258 #endif1259 1250 { 1260 1251 TComPicYuv* pcDepthPicYuvOrg = new TComPicYuv; … … 1316 1307 if( uiNumFrames == 0 || numBitsForValue(iNumDepthValues) == g_bitDepthY ) 1317 1308 { 1318 #if DLT_DIFF_CODING_IN_PPS1319 1309 dlt->setUseDLTFlag(layer, false); 1320 #else1321 // don't use DLT1322 vps->setUseDLTFlag(layer, false);1323 #endif1324 1310 } 1325 1311 1326 1312 // assign LUT 1327 #if DLT_DIFF_CODING_IN_PPS1328 1313 if( dlt->getUseDLTFlag(layer) ) 1314 { 1329 1315 dlt->setDepthLUTs(layer, aiIdx2DepthValue, iNumDepthValues); 1330 #else 1331 if( vps->getUseDLTFlag(layer) ) 1332 vps->setDepthLUTs(layer, aiIdx2DepthValue, iNumDepthValues); 1333 #endif 1316 } 1334 1317 1335 1318 // free temporary memory … … 1877 1860 Void TAppEncTop::xSetVPSExtension2( TComVPS& vps ) 1878 1861 { 1879 1880 1862 for ( Int layer = 0; layer <= vps.getMaxLayersMinus1(); layer++ ) 1881 1863 { … … 1900 1882 #if H_3D_DIM 1901 1883 vps.setVpsDepthModesFlag( layer, isDepth && !isLayerZero && (m_useDMM || m_useSDC || m_useDLT ) ); 1902 #if H_3D_DIM_DLT1903 #if !DLT_DIFF_CODING_IN_PPS1904 vps.setUseDLTFlag( layer , isDepth && m_useDLT );1905 if( vps.getUseDLTFlag( layer ) )1906 {1907 xAnalyzeInputBaseDepth(layer, max( m_iIntraPeriod[layer], 24), &vps);1908 }1909 #endif1910 #endif1911 1884 #endif 1912 1885 … … 1938 1911 #endif 1939 1912 } 1940 #endif 1941 1942 #if DLT_DIFF_CODING_IN_PPS 1913 1943 1914 Void TAppEncTop::xDeriveDltArray( TComVPS& vps, TComDLT& dlt ) 1944 1915 { -
branches/HTM-9.2-dev0/source/App/TAppEncoder/TAppEncTop.h
r766 r767 86 86 #endif 87 87 88 #if DLT_DIFF_CODING_IN_PPS88 #if H_3D 89 89 TComDLT m_dlt; ///< dlt 90 90 #endif … … 136 136 #if H_3D 137 137 Void xSetVPSExtension2( TComVPS& vps ); 138 #endif139 #if DLT_DIFF_CODING_IN_PPS140 138 Void xDeriveDltArray( TComVPS& vps, TComDLT& dlt ); 141 139 #endif 142 140 #if H_3D_DIM_DLT 143 #if DLT_DIFF_CODING_IN_PPS144 141 Void xAnalyzeInputBaseDepth(UInt layer, UInt uiNumFrames, TComVPS* vps, TComDLT* dlt); 145 #else146 Void xAnalyzeInputBaseDepth(UInt layer, UInt uiNumFrames, TComVPS* vps);147 #endif148 142 #endif 149 143 public:
Note: See TracChangeset for help on using the changeset viewer.