Changeset 5 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComDataCU.h
- Timestamp:
- 12 Dec 2011, 18:35:44 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibCommon/TComDataCU.h
r2 r5 1 /* The copyright in this software is being made available under the BSD 2 * License, included below. This software may be subject to other third party 3 * and contributor rights, including patent rights, and no such rights are 4 * granted under this license. 5 * 6 * Copyright (c) 2010-2011, ISO/IEC 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions are met: 11 * 12 * * Redistributions of source code must retain the above copyright notice, 13 * this list of conditions and the following disclaimer. 14 * * Redistributions in binary form must reproduce the above copyright notice, 15 * this list of conditions and the following disclaimer in the documentation 16 * and/or other materials provided with the distribution. 17 * * Neither the name of the ISO/IEC nor the names of its contributors may 18 * be used to endorse or promote products derived from this software without 19 * specific prior written permission. 20 * 21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 22 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS 25 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 26 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 27 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 31 * THE POSSIBILITY OF SUCH DAMAGE. 32 */ 33 1 34 2 35 … … 51 84 UChar* m_puhHeight; ///< array of heights 52 85 UChar* m_puhDepth; ///< array of depths 86 #if HHI_MPI 53 87 Int* m_piTextureModeDepth; ///< at which depth is prediction data inherited from texture picture ( -1 : none ) 88 #endif 54 89 55 90 // ------------------------------------------------------------------------------------------------------------------- … … 90 125 Bool* m_pbMergeFlag; ///< array of merge flags 91 126 UChar* m_puhMergeIndex; ///< array of merge candidate indices 127 #if HHI_INTER_VIEW_RESIDUAL_PRED 92 128 Bool* m_pbResPredAvailable; ///< array of residual prediction available flags 93 129 Bool* m_pbResPredFlag; ///< array of residual prediction flags 130 #endif 94 131 UChar* m_apuhNeighbourCandIdx[ MRG_MAX_NUM_CANDS ];///< array of motion vector predictor candidates indices 95 132 UChar* m_puhLumaIntraDir; ///< array of intra directions (luma) … … 100 137 UInt* m_puiAlfCtrlFlag; ///< array of ALF flags 101 138 UInt* m_puiTmpAlfCtrlFlag; ///< temporal array of ALF flags 102 #if HHI_DMM_ INTRA139 #if HHI_DMM_WEDGE_INTRA 103 140 UInt* m_puiWedgeFullTabIdx; 104 141 Int* m_piWedgeFullDeltaDC1; … … 109 146 Int* m_piWedgePredDirDeltaDC2; 110 147 Int* m_piWedgePredDirDeltaEnd; 111 148 #endif 149 #if HHI_DMM_PRED_TEX 112 150 UInt* m_puiWedgePredTexTabIdx; 113 151 Int* m_piWedgePredTexDeltaDC1; … … 116 154 Int* m_piContourPredTexDeltaDC1; 117 155 Int* m_piContourPredTexDeltaDC2; 118 119 Bool* m_pbTextureModesAllowed;120 156 #endif 121 157 … … 201 237 Void setDepth ( UInt uiIdx, UChar uh ) { m_puhDepth[uiIdx] = uh; } 202 238 239 #if HHI_MPI 203 240 Int* getTextureModeDepth () { return m_piTextureModeDepth; } 204 241 Int getTextureModeDepth ( UInt uiIdx ) { return m_piTextureModeDepth[uiIdx]; } … … 206 243 Void setTextureModeDepthSubParts( Int iTextureModeDepth, UInt uiAbsPartIdx, UInt uiDepth ); 207 244 Void copyTextureMotionDataFrom( TComDataCU* pcCU, UInt uiDepth, UInt uiAbsPartIdxSrc, UInt uiAbsPartIdxDst = 0 ); 245 #endif 208 246 209 247 Void setDepthSubParts ( UInt uiDepth, UInt uiAbsPartIdx ); … … 291 329 Void setNeighbourCandIdxSubParts ( UInt uiCandIdx, UChar uhNumCands, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth ); 292 330 331 #if HHI_INTER_VIEW_RESIDUAL_PRED 293 332 Bool* getResPredAvail () { return m_pbResPredAvailable; } 294 333 Bool getResPredAvail ( UInt uiIdx ) { return m_pbResPredAvailable[uiIdx]; } … … 302 341 303 342 Void setResPredIndicator ( Bool bAv, Bool bRP ) { m_pbResPredAvailable[0] = bAv; m_pbResPredFlag[0] = bRP; } 343 #endif 304 344 305 345 Void setSubPartBool ( Bool bParameter, Bool* pbBaseLCU, UInt uiCUAddr, UInt uiCUDepth, UInt uiPUIdx ); … … 331 371 Void copyAlfCtrlFlagFromTmp(); 332 372 333 #if HHI_DMM_ INTRA373 #if HHI_DMM_WEDGE_INTRA 334 374 UInt* getWedgeFullTabIdx () { return m_puiWedgeFullTabIdx; } 335 375 UInt getWedgeFullTabIdx ( UInt uiIdx ) { return m_puiWedgeFullTabIdx[uiIdx]; } … … 366 406 Void setWedgePredDirDeltaEnd ( UInt uiIdx, Int iD ) { m_piWedgePredDirDeltaEnd[uiIdx] = iD; } 367 407 Void setWedgePredDirDeltaEndSubParts( Int iDelta, UInt uiAbsPartIdx, UInt uiDepth ); 368 408 #endif 409 #if HHI_DMM_PRED_TEX 369 410 UInt* getWedgePredTexTabIdx () { return m_puiWedgePredTexTabIdx; } 370 411 UInt getWedgePredTexTabIdx ( UInt uiIdx ) { return m_puiWedgePredTexTabIdx[uiIdx]; } … … 391 432 Void setContourPredTexDeltaDC2 ( UInt uiIdx, Int i ) { m_piContourPredTexDeltaDC2[uiIdx] = i; } 392 433 Void setContourPredTexDeltaDC2SubParts( Int iDC2, UInt uiAbsPartIdx, UInt uiDepth ); 393 394 Bool* getTextureModeAllowance () { return m_pbTextureModesAllowed; } 395 Bool getTextureModeAllowance ( UInt uiIdx ) { return m_pbTextureModesAllowed[uiIdx]; } 396 Void setTextureModeAllowance ( UInt uiIdx, Bool b ) { m_pbTextureModesAllowed[uiIdx] = b; } 397 Void setTextureModeAllowanceSubParts ( Bool bTMAllowed, UInt uiAbsPartIdx, UInt uiDepth ); 398 #endif 399 434 #endif 435 436 #if HHI_INTER_VIEW_MOTION_PRED 400 437 Int getPdmMergeCandidate( UInt uiPartIdx, Int* paiPdmRefIdx, TComMv* pacPdmMv ); 401 438 Bool getPdmMvPred( UInt uiPartIdx, RefPicList eRefPicList, Int iRefIdx, TComMv& rcMv, Bool bMerge = false ); 402 439 Bool getIViewOrgDepthMvPred( UInt uiPartIdx, RefPicList eRefPicList, Int iRefIdx, TComMv& rcMv ); 440 #endif 441 #if HHI_INTER_VIEW_RESIDUAL_PRED 403 442 Bool getResidualSamples( UInt uiPartIdx, TComYuv* pcYuv = 0 ); 443 #endif 404 444 405 445 // ------------------------------------------------------------------------------------------------------------------- … … 517 557 518 558 UInt getCtxSplitFlag ( UInt uiAbsPartIdx, UInt uiDepth ); 519 #if MW_MVI_SIGNALLING_MODE == 0520 UInt getCtxMvInheritanceFlag ( UInt uiAbsPartIdx, UInt uiDepth );521 #endif522 559 UInt getCtxCbf ( UInt uiAbsPartIdx, TextType eType, UInt uiTrDepth ); 523 560 UInt getCtxQtCbf ( UInt uiAbsPartIdx, TextType eType, UInt uiTrDepth );
Note: See TracChangeset for help on using the changeset viewer.