Changeset 608 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComPicYuv.h


Ignore:
Timestamp:
1 Sep 2013, 22:47:26 (12 years ago)
Author:
tech
Message:

Merged DEV-2.0-dev0@604.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibCommon/TComPicYuv.h

    r443 r608  
    44 * granted under this license. 
    55 *
    6  * Copyright (c) 2010-2012, ITU/ISO/IEC
     6 * Copyright (c) 2010-2013, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
     
    7676  Int   m_iCuWidth;             ///< Width of Coding Unit (CU)
    7777  Int   m_iCuHeight;            ///< Height of Coding Unit (CU)
    78   UInt  m_uiMaxCuDepth;         ///< maximum coding unit depth
    79   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  
    8378  Int*  m_cuOffsetY;
    8479  Int*  m_cuOffsetC;
     
    9388  Bool  m_bIsBorderExtended;
    9489 
     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
    9595protected:
    9696  Void  xExtendPicCompBorder (Pel* piTxt, Int iStride, Int iWidth, Int iHeight, Int iMarginX, Int iMarginY);
     97#if H_3D
    9798  Void  xSetPels( Pel* piPelSource , Int iSourceStride, Int iWidth, Int iHeight, Pel iVal );
     99#endif
    98100 
    99101public:
     
    118120  Int   getHeight   ()     { return  m_iPicHeight;   }
    119121 
    120   UInt  getMaxCuWidth ()   { return  (UInt)m_iCuWidth;   }
    121   UInt  getMaxCuHeight()   { return  (UInt)m_iCuHeight;  }
    122   UInt  getMaxCuDepth ()   { return  m_uiMaxCuDepth;     }
    123 
    124122  Int   getStride   ()     { return (m_iPicWidth     ) + (m_iLumaMarginX  <<1); }
    125123  Int   getCStride  ()     { return (m_iPicWidth >> 1) + (m_iChromaMarginX<<1); }
     
    127125  Int   getLumaMargin   () { return m_iLumaMarginX;  }
    128126  Int   getChromaMargin () { return m_iChromaMarginX;}
    129  
    130   Void  getLumaMinMax( Int* pMin, Int* pMax );
    131127 
    132128  // ------------------------------------------------------------------------------------------------
     
    152148  Pel*  getCrAddr   ( Int iCuAddr, Int uiAbsZorderIdx ) { return m_piPicOrgV + m_cuOffsetC[iCuAddr] + m_buOffsetC[g_auiZscanToRaster[uiAbsZorderIdx]]; }
    153149 
    154 
    155150  // ------------------------------------------------------------------------------------------------
    156151  //  Miscellaneous
    157152  // ------------------------------------------------------------------------------------------------
    158153 
    159   // sample to block and block to sample conversion
    160   Void  getTopLeftSamplePos( Int iCuAddr, Int iAbsZorderIdx, Int& riX, Int& riY );
    161   Void  getCUAddrAndPartIdx( Int iX, Int iY, Int& riCuAddr, Int& riAbsZorderIdx );
    162 
    163 
    164154  //  Copy function to picture
    165155  Void  copyToPic       ( TComPicYuv*  pcPicYuvDst );
     
    172162 
    173163  //  Dump picture
    174   Void  dump (char* pFileName, Bool bAdd = false);
     164  Void  dump (Char* pFileName, Bool bAdd = false);
    175165 
    176166  // Set border extension flag
    177167  Void  setBorderExtension(Bool b) { m_bIsBorderExtended = b; }
    178 #if FIXED_ROUNDING_FRAME_MEMORY
    179   Void  xFixedRoundingPic();
    180 #endif 
    181 
     168#if H_3D
    182169  // Set Function
    183170  Void  setLumaTo    ( Pel pVal ); 
    184171  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
    187177#endif
    188178};// END CLASS DEFINITION TComPicYuv
    189179
    190 void calcMD5(TComPicYuv& pic, unsigned char digest[16]);
    191 
     180void calcChecksum(TComPicYuv& pic, UChar digest[3][16]);
     181void calcCRC(TComPicYuv& pic, UChar digest[3][16]);
     182void calcMD5(TComPicYuv& pic, UChar digest[3][16]);
    192183//! \}
    193184
Note: See TracChangeset for help on using the changeset viewer.