- Timestamp:
- 31 May 2015, 20:35:03 (9 years ago)
- Location:
- branches/HTM-14.1-update-dev1-RWTH/source
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev1-RWTH/source/App/TAppEncoder/TAppEncCfg.cpp
r1227 r1239 2292 2292 2293 2293 dimBitOffset[ 0 ] = 0; 2294 for (Int j = 1; j <= (( Int) m_dimIds.size() - m_splittingFlag? 1 : 0); j++ )2294 for (Int j = 1; j <= (((Int) m_dimIds.size() - m_splittingFlag) ? 1 : 0); j++ ) 2295 2295 { 2296 2296 dimBitOffset[ j ] = dimBitOffset[ j - 1 ] + m_dimensionIdLen[ j - 1]; -
branches/HTM-14.1-update-dev1-RWTH/source/App/TAppRenderer/TAppRendererCfg.cpp
r1200 r1239 306 306 307 307 Int iNumNonNULL; 308 for (iNumNonNULL = 0; (iNumNonNULL < m_iNumberOfInputViews) && m_pchDepthInputFileList[iNumNonNULL]; iNumNonNULL++) ; xConfirmPara( iNumNonNULL < m_iNumberOfInputViews, "Number of DepthInputFiles must be greater than or equal to number of BaseViewNumbers" );309 for (iNumNonNULL = 0; (iNumNonNULL < m_iNumberOfInputViews) && m_pchVideoInputFileList[iNumNonNULL]; iNumNonNULL++) ; xConfirmPara( iNumNonNULL < m_iNumberOfInputViews, "Number of DepthInputFiles must be greater than or equal to number of BaseViewNumbers" );308 for (iNumNonNULL = 0; (iNumNonNULL < m_iNumberOfInputViews) && m_pchDepthInputFileList[iNumNonNULL]; iNumNonNULL++) {}; xConfirmPara( iNumNonNULL < m_iNumberOfInputViews, "Number of DepthInputFiles must be greater than or equal to number of BaseViewNumbers" ); 309 for (iNumNonNULL = 0; (iNumNonNULL < m_iNumberOfInputViews) && m_pchVideoInputFileList[iNumNonNULL]; iNumNonNULL++) {}; xConfirmPara( iNumNonNULL < m_iNumberOfInputViews, "Number of DepthInputFiles must be greater than or equal to number of BaseViewNumbers" ); 310 310 311 311 312 312 if ( !m_bSweep ) 313 313 { 314 for (iNumNonNULL = 0; (iNumNonNULL < m_iNumberOfOutputViews) && m_pchSynthOutputFileList[iNumNonNULL]; iNumNonNULL++); xConfirmPara( iNumNonNULL < m_iNumberOfOutputViews, "Number of SynthOutputFiles must be greater than or equal to number of SynthViewNumbers" );314 for (iNumNonNULL = 0; (iNumNonNULL < m_iNumberOfOutputViews) && m_pchSynthOutputFileList[iNumNonNULL]; iNumNonNULL++) {}; xConfirmPara( iNumNonNULL < m_iNumberOfOutputViews, "Number of SynthOutputFiles must be greater than or equal to number of SynthViewNumbers" ); 315 315 } 316 316 else -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TAppCommon/TAppComCamPara.cpp
r1200 r1239 1373 1373 Int iSourceViewNum = m_aiBaseViews[ iViewIdx ]; 1374 1374 Double dBaseLine = 0.0; 1375 Double dFL1 , dCS1, dCP1, dZN1, dZF1;1376 Bool bInterpolated ;1377 double dPos[3] ;1375 Double dFL1 = 0.0, dCS1 = 0.0, dCP1 = 0.0, dZN1 = 0.0, dZF1 = 0.0; 1376 Bool bInterpolated = false; 1377 double dPos[3] = {0.0, 0.0, 0.0}; 1378 1378 1379 1379 if( m_iNumberOfBaseViews == 3 ) -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibCommon/TComCodingStatistics.h
r1227 r1239 102 102 STATS__CABAC_BITS__DMMMODE, 103 103 STATS__CABAC_BITS__DMM1_BITS_EP, 104 #endif 105 #if NH_3D_SDC_INTRA 106 STATS__CABAC_BITS__SDC_INTRA_FLAG, 107 STATS__CABAC_BITS__SDC_DELTADC_FLAG, 104 108 #endif 105 109 … … 164 168 ,"STATS__CABAC_BITS__DMM1_BITS_EP" 165 169 #endif 170 #if NH_3D_SDC_INTRA 171 ,"STATS__CABAC_BITS__SDC_INTRA_FLAG" 172 ,"STATS__CABAC_BITS__SDC_DELTADC_FLAG" 173 #endif 166 174 }; 167 175 assert(STATS__NUM_STATS == sizeof(statNames)/sizeof(Char *) && name < STATS__NUM_STATS); -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibCommon/TComSlice.cpp
r1219 r1239 2032 2032 Int TComVPS::scalTypeToScalIdx( ScalabilityType scalType ) const 2033 2033 { 2034 assert( scalType >= 0 && scalType <= MAX_NUM_SCALABILITY_TYPES );2035 assert( scalType == MAX_NUM_SCALABILITY_TYPES || getScalabilityMaskFlag( scalType ) );2034 assert( (Int)scalType >= 0 && (Int)scalType <= MAX_NUM_SCALABILITY_TYPES ); 2035 assert( (Int)scalType == MAX_NUM_SCALABILITY_TYPES || getScalabilityMaskFlag( scalType ) ); 2036 2036 Int scalIdx = 0; 2037 2037 for( Int curScalType = 0; curScalType < scalType; curScalType++ ) -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1237 r1239 1831 1831 else 1832 1832 { 1833 vpsVui->setVpsNumVideoSignalInfoMinus1( pcVPS->getMaxLayersMinus1() - pcVPS->getVpsBaseLayerInternalFlag() ? 0 : 1 );1833 vpsVui->setVpsNumVideoSignalInfoMinus1( (pcVPS->getMaxLayersMinus1() - pcVPS->getVpsBaseLayerInternalFlag()) ? 0 : 1 ); 1834 1834 } 1835 1835 -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibDecoder/TDecGop.h
r1200 r1239 81 81 TComLoopFilter* m_pcLoopFilter; 82 82 #if NH_MV 83 TDecTop* m_decTop;83 //TDecTop* m_decTop; 84 84 #endif 85 85 -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibDecoder/TDecSbac.cpp
r1227 r1239 2349 2349 if( pcCU->isIntra( absPartIdx ) && pcCU->getSDCFlag( absPartIdx )) 2350 2350 { 2351 m_pcTDecBinIf->decodeBin( symbol, m_cDdcFlagSCModel.get( 0, 0, 0 ) );2351 m_pcTDecBinIf->decodeBin( symbol, m_cDdcFlagSCModel.get( 0, 0, 0 ) RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(STATS__CABAC_BITS__SDC_DELTADC_FLAG) ); 2352 2352 assert( pcCU->getPartitionSize( absPartIdx ) == SIZE_2Nx2N ); 2353 2353 assert( pcCU->getTransformIdx(absPartIdx) == 0 ); … … 2509 2509 UInt uiSymbol = 0; 2510 2510 2511 m_pcTDecBinIf->decodeBin( uiSymbol, m_cSDCFlagSCModel.get( 0, 0, 0 ) );2511 m_pcTDecBinIf->decodeBin( uiSymbol, m_cSDCFlagSCModel.get( 0, 0, 0 ) RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(STATS__CABAC_BITS__SDC_INTRA_FLAG) ); 2512 2512 #if H_MV_ENC_DEC_TRAC 2513 2513 DTRACE_CU("dc_only_flag", uiSymbol) -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibDecoder/TDecTop.h
r1200 r1239 107 107 UInt m_uiBitDepthForLUT; 108 108 UInt m_iLog2Precision; 109 UInt m_uiInputBitDepth;109 // UInt m_uiInputBitDepth; 110 110 111 111 // look-up tables -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibEncoder/TEncSearch.cpp
r1236 r1239 3143 3143 3144 3144 #if NH_3D_DMM 3145 const TComRectangle &puRect=tuRecurseWithPU.getRect(COMPONENT_Y); 3146 const UInt uiAbsPartIdx=tuRecurseWithPU.GetAbsPartIdxTU(); 3147 3148 Pel* piOrg = pcOrgYuv ->getAddr( COMPONENT_Y, uiAbsPartIdx ); 3149 Pel* piPred = pcPredYuv->getAddr( COMPONENT_Y, uiAbsPartIdx ); 3150 UInt uiStride = pcPredYuv->getStride( COMPONENT_Y ); 3145 3151 if( m_pcEncCfg->getIsDepth() ) 3146 3152 { 3147 const TComRectangle &puRect=tuRecurseWithPU.getRect(COMPONENT_Y);3148 const UInt uiAbsPartIdx=tuRecurseWithPU.GetAbsPartIdxTU();3149 3150 Pel* piOrg = pcOrgYuv ->getAddr( COMPONENT_Y, uiAbsPartIdx );3151 Pel* piPred = pcPredYuv->getAddr( COMPONENT_Y, uiAbsPartIdx );3152 UInt uiStride = pcPredYuv->getStride( COMPONENT_Y );3153 3154 3153 if( puRect.width >= DMM_MIN_SIZE && puRect.width <= DMM_MAX_SIZE && puRect.width == puRect.height && 3155 3154 ((m_pcEncCfg->getUseDMM() && pcCU->getSlice()->getIntraSdcWedgeFlag()) || pcCU->getSlice()->getIntraContourFlag()) ) … … 3229 3228 DEBUG_STRING_NEW(sPU) 3230 3229 UInt uiBestPUMode = 0; 3231 #if H_3D_FAST_INTRA_SDC3230 #if NH_3D_ENC_DEPTH 3232 3231 UInt uiBestPUModeConv = 0; 3233 3232 UInt uiSecondBestPUModeConv = 0; … … 3242 3241 Double dBestPUCost = MAX_DOUBLE; 3243 3242 3244 #if H_3D_FAST_INTRA_SDC3243 #if NH_3D_ENC_DEPTH 3245 3244 Double dBestPUCostConv = MAX_DOUBLE; 3246 UInt varCU = m_pcRdCost->calcVAR(piOrg, uiStride, uiWidth,uiHeight,pcCU->getDepth(0));3245 UInt varCU = m_pcRdCost->calcVAR(piOrg, uiStride, puRect.width, puRect.height, pcCU->getDepth(0), pcCU->getSlice()->getSPS()->getMaxCUWidth()); 3247 3246 UInt rdSDC = m_pcEncCfg->getIsDepth() ? numModesForFullRD : 0; 3248 3247 #endif … … 3251 3250 Pel apBestDCOffsets[2] = {0,0}; 3252 3251 #endif 3253 #if H_3D_FAST_INTRA_SDC3252 #if NH_3D_ENC_DEPTH 3254 3253 for( UInt uiMode = 0; uiMode < numModesForFullRD + rdSDC; uiMode++ ) 3255 3254 #else … … 3269 3268 { 3270 3269 // set luma prediction mode 3271 #if ! H_3D_FAST_INTRA_SDC3270 #if !NH_3D_ENC_DEPTH 3272 3271 UInt uiOrgMode = uiRdModeList[uiMode]; 3273 3272 #endif 3274 3273 3275 #if H_3D_FAST_INTRA_SDC3274 #if NH_3D_ENC_DEPTH 3276 3275 UInt uiOrgMode; 3277 3276 if (uiMode < numModesForFullRD) … … 3299 3298 3300 3299 #if NH_3D_SDC_INTRA 3301 #if H_3D_FAST_INTRA_SDC3300 #if NH_3D_ENC_DEPTH 3302 3301 Bool bTestSDC = ( ( m_pcEncCfg->getUseSDC() && pcCU->getSlice()->getIntraSdcWedgeFlag() ) && pcCU->getSDCAvailable(uiPartOffset) && uiMode >= numModesForFullRD); 3303 3302 #else … … 3307 3306 for( UInt uiSDC=0; uiSDC<=(bTestSDC?1:0); uiSDC++ ) 3308 3307 { 3309 #if H_3D_FAST_INTRA_SDC3308 #if NH_3D_ENC_DEPTH 3310 3309 if (!uiSDC && uiMode >= numModesForFullRD) continue; 3311 3310 #endif … … 3392 3391 #if NH_3D_ENC_DEPTH 3393 3392 xRecurIntraCodingLumaQT( pcOrgYuv, pcPredYuv, pcResiYuv, resiLumaPU, uiPUDistY, true, dPUCost, tuRecurseWithPU DEBUG_STRING_PASS_INTO(sMode), (zeroResi != 0) ); 3394 #if H_3D_FAST_INTRA_SDC3393 #if NH_3D_ENC_DEPTH 3395 3394 if( dPUCost < dBestPUCostConv ) 3396 3395 { … … 3624 3623 if( !tuRecurseWithPU.IsLastSection() ) 3625 3624 { 3626 const TComRectangle &puRect=tuRecurseWithPU.getRect(COMPONENT_Y);3625 //const TComRectangle &puRect=tuRecurseWithPU.getRect(COMPONENT_Y); 3627 3626 const UInt uiCompWidth = puRect.width; 3628 3627 const UInt uiCompHeight = puRect.height;
Note: See TracChangeset for help on using the changeset viewer.