Ignore:
Timestamp:
15 Apr 2015, 11:36:33 (10 years ago)
Author:
tech
Message:

Removed 3D-HEVC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-14.0-MV-draft-3/source/Lib/TLibCommon/TComPicYuv.cpp

    r1179 r1191  
    7777  m_iCuHeight       = uiMaxCUHeight;
    7878
    79 #if H_3D_IV_MERGE
    80   m_iNumCuInWidth   = m_iPicWidth / m_iCuWidth;
    81   m_iNumCuInWidth  += ( m_iPicWidth % m_iCuWidth ) ? 1 : 0;
    82 
    83   m_iBaseUnitWidth  = uiMaxCUWidth  >> uiMaxCUDepth;
    84   m_iBaseUnitHeight = uiMaxCUHeight >> uiMaxCUDepth;
    85 #endif
    8679  Int numCuInWidth  = m_iPicWidth  / m_iCuWidth  + (m_iPicWidth  % m_iCuWidth  != 0);
    8780  Int numCuInHeight = m_iPicHeight / m_iCuHeight + (m_iPicHeight % m_iCuHeight != 0);
     
    331324}
    332325
    333 #if H_3D
    334 #if H_3D_IV_MERGE
    335 Void
    336 TComPicYuv::getTopLeftSamplePos( Int iCuAddr, Int iAbsZorderIdx, Int& riX, Int& riY )
    337 {
    338   Int iRastPartIdx    = g_auiZscanToRaster[iAbsZorderIdx];
    339   Int iCuSizeInBases  = m_iCuWidth   / m_iBaseUnitWidth;
    340   Int iCuX            = iCuAddr      % m_iNumCuInWidth;
    341   Int iCuY            = iCuAddr      / m_iNumCuInWidth;
    342   Int iBaseX          = iRastPartIdx % iCuSizeInBases;
    343   Int iBaseY          = iRastPartIdx / iCuSizeInBases;
    344   riX                 = iCuX * m_iCuWidth  + iBaseX * m_iBaseUnitWidth;
    345   riY                 = iCuY * m_iCuHeight + iBaseY * m_iBaseUnitHeight;
    346 }
    347 
    348 Void
    349 TComPicYuv::getCUAddrAndPartIdx( Int iX, Int iY, Int& riCuAddr, Int& riAbsZorderIdx )
    350 {
    351   Int iCuX            = iX / m_iCuWidth;
    352   Int iCuY            = iY / m_iCuHeight;
    353   Int iBaseX          = ( iX - iCuX * m_iCuWidth  ) / m_iBaseUnitWidth;
    354   Int iBaseY          = ( iY - iCuY * m_iCuHeight ) / m_iBaseUnitHeight;
    355   Int iCuSizeInBases  = m_iCuWidth                  / m_iBaseUnitWidth;
    356   riCuAddr            = iCuY   * m_iNumCuInWidth + iCuX;
    357   Int iRastPartIdx    = iBaseY * iCuSizeInBases  + iBaseX;
    358   riAbsZorderIdx      = g_auiRasterToZscan[ iRastPartIdx ];
    359 }
    360 #endif
    361 Void TComPicYuv::setLumaTo( Pel pVal )
    362 {
    363   xSetPels( getLumaAddr(), getStride(), getWidth(), getHeight(), pVal );
    364 }
    365 
    366 Void TComPicYuv::setChromaTo( Pel pVal )
    367 {
    368   xSetPels( getCbAddr(), getCStride(), getWidth() >> 1, getHeight() >> 1, pVal );
    369   xSetPels( getCrAddr(), getCStride(), getWidth() >> 1, getHeight() >> 1, pVal );
    370 }
    371 
    372 Void TComPicYuv::xSetPels( Pel* piPelSource , Int iSourceStride, Int iWidth, Int iHeight, Pel iVal )
    373 {
    374   for (Int iYPos = 0; iYPos < iHeight; iYPos++)
    375   {
    376     for (Int iXPos = 0; iXPos < iWidth; iXPos++)
    377     {
    378       piPelSource[iXPos] = iVal;
    379     }
    380     piPelSource += iSourceStride;
    381   }
    382 }
    383 #endif
    384326
    385327//! \}
Note: See TracChangeset for help on using the changeset viewer.