Changeset 608 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComPicYuv.h
- Timestamp:
- 1 Sep 2013, 22:47:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibCommon/TComPicYuv.h
r443 r608 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 2, ITU/ISO/IEC6 * Copyright (c) 2010-2013, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 76 76 Int m_iCuWidth; ///< Width of Coding Unit (CU) 77 77 Int m_iCuHeight; ///< Height of Coding Unit (CU) 78 UInt m_uiMaxCuDepth; ///< maximum coding unit depth79 Int m_iBaseUnitWidth; ///< Width of Base Unit (with maximum depth or minimum size, m_iCuWidth >> Max. Depth)80 Int m_iBaseUnitHeight; ///< Height of Base Unit (with maximum depth or minimum size, m_iCuHeight >> Max. Depth)81 Int m_iNumCuInWidth;82 83 78 Int* m_cuOffsetY; 84 79 Int* m_cuOffsetC; … … 93 88 Bool m_bIsBorderExtended; 94 89 90 #if H_3D_IV_MERGE 91 Int m_iBaseUnitWidth; ///< Width of Base Unit (with maximum depth or minimum size, m_iCuWidth >> Max. Depth) 92 Int m_iBaseUnitHeight; ///< Height of Base Unit (with maximum depth or minimum size, m_iCuHeight >> Max. Depth) 93 Int m_iNumCuInWidth; 94 #endif 95 95 protected: 96 96 Void xExtendPicCompBorder (Pel* piTxt, Int iStride, Int iWidth, Int iHeight, Int iMarginX, Int iMarginY); 97 #if H_3D 97 98 Void xSetPels( Pel* piPelSource , Int iSourceStride, Int iWidth, Int iHeight, Pel iVal ); 99 #endif 98 100 99 101 public: … … 118 120 Int getHeight () { return m_iPicHeight; } 119 121 120 UInt getMaxCuWidth () { return (UInt)m_iCuWidth; }121 UInt getMaxCuHeight() { return (UInt)m_iCuHeight; }122 UInt getMaxCuDepth () { return m_uiMaxCuDepth; }123 124 122 Int getStride () { return (m_iPicWidth ) + (m_iLumaMarginX <<1); } 125 123 Int getCStride () { return (m_iPicWidth >> 1) + (m_iChromaMarginX<<1); } … … 127 125 Int getLumaMargin () { return m_iLumaMarginX; } 128 126 Int getChromaMargin () { return m_iChromaMarginX;} 129 130 Void getLumaMinMax( Int* pMin, Int* pMax );131 127 132 128 // ------------------------------------------------------------------------------------------------ … … 152 148 Pel* getCrAddr ( Int iCuAddr, Int uiAbsZorderIdx ) { return m_piPicOrgV + m_cuOffsetC[iCuAddr] + m_buOffsetC[g_auiZscanToRaster[uiAbsZorderIdx]]; } 153 149 154 155 150 // ------------------------------------------------------------------------------------------------ 156 151 // Miscellaneous 157 152 // ------------------------------------------------------------------------------------------------ 158 153 159 // sample to block and block to sample conversion160 Void getTopLeftSamplePos( Int iCuAddr, Int iAbsZorderIdx, Int& riX, Int& riY );161 Void getCUAddrAndPartIdx( Int iX, Int iY, Int& riCuAddr, Int& riAbsZorderIdx );162 163 164 154 // Copy function to picture 165 155 Void copyToPic ( TComPicYuv* pcPicYuvDst ); … … 172 162 173 163 // Dump picture 174 Void dump ( char* pFileName, Bool bAdd = false);164 Void dump (Char* pFileName, Bool bAdd = false); 175 165 176 166 // Set border extension flag 177 167 Void setBorderExtension(Bool b) { m_bIsBorderExtended = b; } 178 #if FIXED_ROUNDING_FRAME_MEMORY 179 Void xFixedRoundingPic(); 180 #endif 181 168 #if H_3D 182 169 // Set Function 183 170 Void setLumaTo ( Pel pVal ); 184 171 Void setChromaTo ( Pel pVal ); 185 #if QC_ARP_D0177 186 Void clearPic(); 172 #if H_3D_IV_MERGE 173 // sample to block and block to sample conversion 174 Void getTopLeftSamplePos( Int iCuAddr, Int iAbsZorderIdx, Int& riX, Int& riY ); 175 Void getCUAddrAndPartIdx( Int iX, Int iY, Int& riCuAddr, Int& riAbsZorderIdx ); 176 #endif 187 177 #endif 188 178 };// END CLASS DEFINITION TComPicYuv 189 179 190 void calcMD5(TComPicYuv& pic, unsigned char digest[16]); 191 180 void calcChecksum(TComPicYuv& pic, UChar digest[3][16]); 181 void calcCRC(TComPicYuv& pic, UChar digest[3][16]); 182 void calcMD5(TComPicYuv& pic, UChar digest[3][16]); 192 183 //! \} 193 184
Note: See TracChangeset for help on using the changeset viewer.