Changeset 1074 in 3DVCSoftware for branches/HTM-12.1-dev0/source/Lib/TLibCommon/TComSlice.cpp
- Timestamp:
- 21 Oct 2014, 20:39:50 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-12.1-dev0/source/Lib/TLibCommon/TComSlice.cpp
r1066 r1074 142 142 , m_depthToDisparityF ( NULL ) 143 143 #endif 144 #if MTK_SINGLE_DEPTH_MODE_I0095144 #if H_3D_SINGLE_DEPTH 145 145 , m_bApplySingleDepthMode (false) 146 146 #endif … … 650 650 651 651 TComPic** refPicSetStCurr [2] = { RefPicSetStCurr0, RefPicSetStCurr1 }; 652 #if FIX_WARNING653 652 Int numPocStCurr[2] = { (Int)NumPocStCurr0, (Int)NumPocStCurr1 }; 654 #else655 Int numPocStCurr[2] = { NumPocStCurr0, NumPocStCurr1 };656 #endif657 653 658 654 for (Int li = 0; li < ((m_eSliceType==B_SLICE) ? 2 : 1); li++) … … 1105 1101 } 1106 1102 #endif 1107 #if MTK_SINGLE_DEPTH_MODE_I00951103 #if H_3D_SINGLE_DEPTH 1108 1104 m_bApplySingleDepthMode = pSrc->m_bApplySingleDepthMode; 1109 1105 #endif … … 1970 1966 m_viewIndex [i] = -1; 1971 1967 m_vpsDepthModesFlag [i] = false; 1972 #if SEC_HLS_CLEANUP_I01001973 1968 m_ivMvScalingFlag[i] = true; 1974 #else1975 m_ivMvScalingFlag = true;1976 #endif1977 #if SEPARATE_FLAG_I00851978 1969 m_bIVPFlag [i] = false; 1979 #endif1980 1970 #endif 1981 1971 … … 2016 2006 #endif 2017 2007 #endif 2018 #if MTK_I0099_VPS_EX22008 #if H_3D_QTLPC 2019 2009 m_bLimQtPredFlag [ i ] = false; 2020 2010 #endif … … 2028 2018 m_bInterSDCFlag [ i ] = false; 2029 2019 #endif 2030 #if SEPARATE_FLAG_I00852020 #if H_3D 2031 2021 m_bIVPFlag [ i ] = false; 2032 2022 #endif … … 2309 2299 for ( i = 0; i < iNumViews ; i++ ) 2310 2300 { 2311 #if H_3D_FIX_UNINIT2312 2301 m_bCamParPresent[i] = false; 2313 #endif2314 2302 m_bCamParInSliceHeader[i] = false; 2315 2303 m_aaaiCodedScale[i] = new Int*[ 2 ]; … … 2910 2898 , m_pcmLog2MaxSize ( 5) 2911 2899 , m_uiPCMLog2MinSize ( 7) 2912 #if !MTK_I0099_VPS_EX22913 #if H_3D_QTLPC2914 , m_bUseQTL (false)2915 , m_bUsePC (false)2916 #endif2917 #endif2918 2900 , m_bitDepthY ( 8) 2919 2901 , m_bitDepthC ( 8) … … 3186 3168 // allocate some memory and initialize with default mapping 3187 3169 m_iNumDepthmapValues[i] = ((1 << m_uiDepthViewBitDepth)-1)+1; 3188 #if !FIX_TICKET_773189 m_iBitsPerDepthValue[i] = numBitsForValue(m_iNumDepthmapValues[i]);3190 #endif3191 3170 m_iDepthValue2Idx[i] = (Int*) xMalloc(Int, m_iNumDepthmapValues[i]); 3192 3171 m_iIdx2DepthValue[i] = (Int*) xMalloc(Int, m_iNumDepthmapValues[i]); … … 3277 3256 // update DLT variables 3278 3257 m_iNumDepthmapValues[layerIdInVps] = iNumDepthValues; 3279 #if !FIX_TICKET_77 3280 m_iBitsPerDepthValue[layerIdInVps] = numBitsForValue(m_iNumDepthmapValues[layerIdInVps]); 3281 #endif 3282 } 3283 3284 #if H_3D_DELTA_DLT 3258 } 3259 3285 3260 Void TComDLT::getDeltaDLT( Int layerIdInVps, Int* piDLTInRef, UInt uiDLTInRefNum, Int* piDeltaDLTOut, UInt *puiDeltaDLTOutNum ) 3286 3261 { … … 3347 3322 setDepthLUTs(layerIdInVps, aiIdx2DepthValue, uiNumDepthValues); 3348 3323 } 3349 #endif3350 3324 3351 3325 #endif … … 4065 4039 m_bApplyIC = true; 4066 4040 Int refLayer = curLayer-1; 4067 #if MTK_LOW_LATENCY_IC_ENCODING_H0086_FIX 4041 4068 4042 Int ICEnableCandidate = getICEnableCandidate(refLayer); 4069 4043 Int ICEnableNum = getICEnableNum(refLayer); … … 4083 4057 setICEnableCandidate(curLayer, 0); 4084 4058 setICEnableNum(curLayer, 0); 4085 #else4086 if( (refLayer>=0) && (g_aICEnableCANDIDATE[refLayer]>0) )4087 {4088 Double ratio=Double(g_aICEnableNUM[refLayer])/Double(g_aICEnableCANDIDATE[refLayer]);4089 4090 if( ratio > IC_LOW_LATENCY_ENCODING_THRESHOLD)4091 {4092 m_bApplyIC=true;4093 }4094 else4095 {4096 m_bApplyIC=false;4097 }4098 }4099 g_aICEnableNUM[curLayer]=0;4100 g_aICEnableCANDIDATE[curLayer]=0;4101 g_lastlayer=getDepth();4102 #endif4103 4059 } 4104 4060 } … … 4210 4166 4211 4167 #if H_3D_DDD 4212 #if LGE_FCO_I01164168 #if H_3D_FCO 4213 4169 if( getIsDepth() && getViewIndex() > 0 && getVPS()->getMPIFlag(layerIdInVPS)) 4214 4170 #else
Note: See TracChangeset for help on using the changeset viewer.