Ignore:
Timestamp:
18 Jun 2013, 23:24:53 (11 years ago)
Author:
tech
Message:
  • changed IV-MERGE HLS to match Test Model 4 spec
  • incorporated iv-refpic list to TComSlice
  • removed TComDepthMapGenerator
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComSlice.cpp

    r478 r479  
    6868, m_iSliceQpDeltaCb               ( 0 )
    6969, m_iSliceQpDeltaCr               ( 0 )
    70 #if H_3D_IV_MERGE
    71 , m_pcTexturePic                  ( NULL )
    72 #endif
    7370, m_iDepth                        ( 0 )
    7471, m_bRefenced                     ( false )
     
    174171 
    175172  m_colRefIdx = 0;
    176 #if H_3D_IV_MERGE
    177   m_pcTexturePic = NULL;
    178 #endif
    179173  initEqualRef();
    180174#if !L0034_COMBINED_LIST_CLEANUP
     
    14971491    }
    14981492  }
     1493#if H_3D_IV_MERGE
     1494  for( Int i = 0; i < MAX_NUM_LAYERS; i++ )
     1495  {
     1496    m_ivMvPredFlag[ i ] = false;
     1497  }
     1498#endif
    14991499#endif
    15001500}
     
    18571857  }
    18581858}
    1859 #if H_3D_IV_MERGE
    1860 Void
    1861 TComSPS::setPredDepthMapGeneration( UInt uiViewIndex, Bool bIsDepth, UInt uiPdmGenMode, UInt uiPdmMvPredMode)
    1862 {
    1863   AOF( m_uiViewIndex == uiViewIndex );
    1864   AOF( m_bDepth   == bIsDepth );
    1865   AOT( ( uiViewIndex == 0 || bIsDepth ) && uiPdmGenMode );
    1866   AOT( uiPdmMvPredMode && uiPdmGenMode == 0 );
    1867 
    1868   m_uiPredDepthMapGeneration = uiPdmGenMode;
    1869   m_uiMultiviewMvPredMode    = uiPdmMvPredMode;
    1870 }
    1871 #endif
    18721859const Int TComSPS::m_winUnitX[]={1,2,2,1};
    18731860const Int TComSPS::m_winUnitY[]={1,2,1,1};
     
    19361923  ::memset( m_aaiCodedOffset, 0x00, sizeof( m_aaiCodedOffset ) );
    19371924
    1938 #if H_3D_IV_MERGE 
    1939   m_uiViewIndex           = uiViewIndex;
    1940   m_bDepth                = false;
    1941 #endif
    19421925  if( !m_bCamParInSliceHeader )
    19431926  {
     
    19511934  }
    19521935}
    1953 #if H_3D_IV_MERGE
    1954 Void
    1955 TComSPS::initCamParaSPSDepth( UInt uiViewIndex)
    1956 
    1957   m_uiCamParPrecision     = 0;
    1958   m_bCamParInSliceHeader  = false;
    1959 
    1960   ::memset( m_aaiCodedScale,  0x00, sizeof( m_aaiCodedScale  ) );
    1961   ::memset( m_aaiCodedOffset, 0x00, sizeof( m_aaiCodedOffset ) );
    1962 
    1963   m_uiViewIndex           = uiViewIndex;
    1964   m_bDepth                = true;
    1965 }
    1966 #endif
    19671936#endif
    19681937
     
    22982267  }
    22992268}
     2269#if H_3D_GEN
     2270Void TComSlice::setIvPicLists( TComPicLists* m_ivPicLists )
     2271{
     2272  for (Int i = 0; i < MAX_NUM_LAYERS; i++ )
     2273  {     
     2274    for ( Int depthId = 0; depthId < 2; depthId++ )
     2275    {
     2276      m_ivPicsCurrPoc[ depthId ][ i ] = ( i <= m_viewIndex ) ? m_ivPicLists->getPic( i, ( depthId == 1) , getPOC() ) : NULL;
     2277    }       
     2278  } 
     2279}
     2280#endif
    23002281#endif
    23012282/** get scaling matrix from RefMatrixID
     
    26062587}
    26072588#endif
     2589
    26082590//! \}
Note: See TracChangeset for help on using the changeset viewer.