Changeset 1225 in 3DVCSoftware for branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibCommon/TComSlice.cpp
- Timestamp:
- 22 May 2015, 05:38:04 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibCommon/TComSlice.cpp
r1214 r1225 140 140 , m_pocMsbValRequiredFlag (false) 141 141 #endif 142 #if H_3D_IC142 #if NH_3D_IC 143 143 , m_bApplyIC (false) 144 144 , m_icSkipParseFlag (false) … … 1170 1170 m_bApplyDIS = pSrc->m_bApplyDIS; 1171 1171 #endif 1172 #if H_3D_IC1172 #if NH_3D_IC 1173 1173 m_bApplyIC = pSrc->m_bApplyIC; 1174 1174 m_icSkipParseFlag = pSrc->m_icSkipParseFlag; … … 3690 3690 #endif 3691 3691 3692 #if H_3D_IC3692 #if NH_3D_IC 3693 3693 // This is an encoder only function and should be moved to TEncSlice or TEncSearch!! 3694 3694 Void TComSlice::xSetApplyIC(Bool bUseLowLatencyICEnc) … … 3779 3779 { 3780 3780 // Histogram building - luminance 3781 Int iMaxPelValue = ( 1 << g _bitDepthY);3781 Int iMaxPelValue = ( 1 << getSPS()->getBitDepth(CHANNEL_TYPE_LUMA) ); 3782 3782 Int *aiRefOrgHist = (Int *) xMalloc( Int,iMaxPelValue ); 3783 3783 Int *aiCurrHist = (Int *) xMalloc( Int,iMaxPelValue ); … … 3785 3785 memset( aiCurrHist, 0, iMaxPelValue*sizeof(Int) ); 3786 3786 3787 Int iWidth = pcCurrPicYuv->getWidth(); 3788 Int iHeight = pcCurrPicYuv->getHeight(); 3789 3790 Pel* pCurrY = pcCurrPicYuv ->getLumaAddr(); 3791 Pel* pRefOrgY = pcRefPicYuvOrg ->getLumaAddr(); 3792 Int iCurrStride = pcCurrPicYuv->getStride(); 3793 Int iRefStride = pcRefPicYuvOrg->getStride(); 3794 3787 Int iWidth = pcCurrPicYuv->getWidth(COMPONENT_Y); 3788 Int iHeight = pcCurrPicYuv->getHeight(COMPONENT_Y); 3789 Pel* pCurrY = pcCurrPicYuv->getAddr(COMPONENT_Y); 3790 Pel* pRefOrgY = pcRefPicYuvOrg->getAddr(COMPONENT_Y); 3791 Int iCurrStride = pcCurrPicYuv->getStride(COMPONENT_Y); 3792 Int iRefStride = pcRefPicYuvOrg->getStride(COMPONENT_Y); 3795 3793 for ( Int y = 0; y < iHeight; y++ ) 3796 3794 {
Note: See TracChangeset for help on using the changeset viewer.