Changeset 837 in 3DVCSoftware for branches/HTM-10.0rc1-dev0/source/Lib/TLibCommon/TComDataCU.h
- Timestamp:
- 8 Feb 2014, 00:23:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-10.0rc1-dev0/source/Lib/TLibCommon/TComDataCU.h
r833 r837 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-2013, ITU/ISO/IEC6 * Copyright (c) 2010-2014, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 59 59 //! \{ 60 60 61 // ====================================================================================================================62 // Non-deblocking in-loop filter processing block data structure63 // ====================================================================================================================64 65 /// Non-deblocking filter processing block border tag66 enum NDBFBlockBorderTag67 {68 SGU_L = 0,69 SGU_R,70 SGU_T,71 SGU_B,72 SGU_TL,73 SGU_TR,74 SGU_BL,75 SGU_BR,76 NUM_SGU_BORDER77 };78 79 /// Non-deblocking filter processing block information80 struct NDBFBlockInfo81 {82 Int tileID; //!< tile ID83 Int sliceID; //!< slice ID84 UInt startSU; //!< starting SU z-scan address in LCU85 UInt endSU; //!< ending SU z-scan address in LCU86 UInt widthSU; //!< number of SUs in width87 UInt heightSU; //!< number of SUs in height88 UInt posX; //!< top-left X coordinate in picture89 UInt posY; //!< top-left Y coordinate in picture90 UInt width; //!< number of pixels in width91 UInt height; //!< number of pixels in height92 Bool isBorderAvailable[NUM_SGU_BORDER]; //!< the border availabilities93 Bool allBordersAvailable;94 95 NDBFBlockInfo():tileID(0), sliceID(0), startSU(0), endSU(0) {} //!< constructor96 const NDBFBlockInfo& operator= (const NDBFBlockInfo& src); //!< "=" operator97 };98 61 99 62 #if H_3D_DBBP … … 176 139 Pel* m_pcIPCMSampleCr; ///< PCM sample buffer (Cr) 177 140 178 Int* m_piSliceSUMap; ///< pointer of slice ID map179 std::vector<NDBFBlockInfo> m_vNDFBlock;180 181 141 // ------------------------------------------------------------------------------------------------------------------- 182 142 // neighbour access variables … … 342 302 343 303 Void initCU ( TComPic* pcPic, UInt uiCUAddr ); 344 Void initEstData ( UInt uiDepth, Int qp );304 Void initEstData ( UInt uiDepth, Int qp, Bool bTransquantBypass ); 345 305 Void initSubCU ( TComDataCU* pcCU, UInt uiPartUnitIdx, UInt uiDepth, Int qp ); 346 306 Void setOutsideCUPart ( UInt uiAbsPartIdx, UInt uiDepth ); … … 522 482 DisInfo getDvInfo (UInt uiIdx) { return m_pDvInfo[uiIdx]; } 523 483 #endif 524 /// get slice ID for SU525 Int getSUSliceID (UInt uiIdx) {return m_piSliceSUMap[uiIdx]; }526 527 /// get the pointer of slice ID map528 Int* getSliceSUMap () {return m_piSliceSUMap; }529 530 /// set the pointer of slice ID map531 Void setSliceSUMap (Int *pi) {m_piSliceSUMap = pi; }532 533 std::vector<NDBFBlockInfo>* getNDBFilterBlocks() {return &m_vNDFBlock;}534 Void setNDBFilterBlockBorderAvailability(UInt numLCUInPicWidth, UInt numLCUInPicHeight, UInt numSUInLCUWidth, UInt numSUInLCUHeight, UInt picWidth, UInt picHeight535 ,std::vector<Bool>& LFCrossSliceBoundary536 ,Bool bTopTileBoundary, Bool bDownTileBoundary, Bool bLeftTileBoundary, Bool bRightTileBoundary537 ,Bool bIndependentTileBoundaryEnabled );538 484 #if H_3D_NBDV 539 485 Void xDeriveRightBottomNbIdx(Int &uiLCUIdxRBNb, Int &uiPartIdxRBNb );
Note: See TracChangeset for help on using the changeset viewer.