Ignore:
Timestamp:
7 Sep 2015, 18:40:35 (10 years ago)
Author:
tech
Message:

Removed 3D-HEVC.

File:
1 edited

Legend:

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

    r1313 r1325  
    9191  m_iPicHeight        = iPicHeight;
    9292
    93 #if NH_3D_IV_MERGE
    94   m_iCuWidth        = uiMaxCUWidth;
    95   m_iCuHeight       = uiMaxCUHeight;
    96 
    97   m_iNumCuInWidth   = m_iPicWidth / m_iCuWidth;
    98   m_iNumCuInWidth  += ( m_iPicWidth % m_iCuWidth ) ? 1 : 0;
    99 
    100   m_iBaseUnitWidth  = uiMaxCUWidth  >> uiMaxCUDepth;
    101   m_iBaseUnitHeight = uiMaxCUHeight >> uiMaxCUDepth;
    102 #endif
    10393
    10494  m_chromaFormatIDC   = chromaFormatIDC;
     
    295285  fclose(pFile);
    296286}
    297 #if NH_3D_IV_MERGE
    298 Void
    299 TComPicYuv::getTopLeftSamplePos( Int iCuAddr, Int iAbsZorderIdx, Int& riX, Int& riY )
    300 {
    301   Int iRastPartIdx    = g_auiZscanToRaster[iAbsZorderIdx];
    302   Int iCuSizeInBases  = m_iCuWidth   / m_iBaseUnitWidth;
    303   Int iCuX            = iCuAddr      % m_iNumCuInWidth;
    304   Int iCuY            = iCuAddr      / m_iNumCuInWidth;
    305   Int iBaseX          = iRastPartIdx % iCuSizeInBases;
    306   Int iBaseY          = iRastPartIdx / iCuSizeInBases;
    307   riX                 = iCuX * m_iCuWidth  + iBaseX * m_iBaseUnitWidth;
    308   riY                 = iCuY * m_iCuHeight + iBaseY * m_iBaseUnitHeight;
    309 }
    310 
    311 Void
    312 TComPicYuv::getCUAddrAndPartIdx( Int iX, Int iY, Int& riCuAddr, Int& riAbsZorderIdx )
    313 {
    314   Int iCuX            = iX / m_iCuWidth;
    315   Int iCuY            = iY / m_iCuHeight;
    316   Int iBaseX          = ( iX - iCuX * m_iCuWidth  ) / m_iBaseUnitWidth;
    317   Int iBaseY          = ( iY - iCuY * m_iCuHeight ) / m_iBaseUnitHeight;
    318   Int iCuSizeInBases  = m_iCuWidth                  / m_iBaseUnitWidth;
    319   riCuAddr            = iCuY   * m_iNumCuInWidth + iCuX;
    320   Int iRastPartIdx    = iBaseY * iCuSizeInBases  + iBaseX;
    321   riAbsZorderIdx      = g_auiRasterToZscan[ iRastPartIdx ];
    322 }
    323 
    324 #endif
    325 
    326 #if NH_3D_VSO
    327 Void TComPicYuv::setChromaTo( Pel pVal )
    328 {
    329   xSetPels( getAddr( COMPONENT_Cb ), getStride( COMPONENT_Cb ), getWidth( COMPONENT_Cb), getHeight( COMPONENT_Cb ), pVal );
    330   xSetPels( getAddr( COMPONENT_Cr ), getStride( COMPONENT_Cr ), getWidth( COMPONENT_Cr), getHeight( COMPONENT_Cr ), pVal );
    331 }
    332 
    333 Void TComPicYuv::xSetPels( Pel* piPelSource , Int iSourceStride, Int iWidth, Int iHeight, Pel iVal )
    334 {
    335   for (Int iYPos = 0; iYPos < iHeight; iYPos++)
    336   {
    337     for (Int iXPos = 0; iXPos < iWidth; iXPos++)
    338     {
    339       piPelSource[iXPos] = iVal;
    340     }
    341     piPelSource += iSourceStride;
    342   }
    343 }
    344 #endif
     287
    345288//! \}
Note: See TracChangeset for help on using the changeset viewer.