Changeset 768 in 3DVCSoftware for branches/HTM-9.2-dev0/source/Lib/TLibCommon


Ignore:
Timestamp:
13 Jan 2014, 00:44:19 (11 years ago)
Author:
tech
Message:

Further fixes.

Location:
branches/HTM-9.2-dev0/source/Lib/TLibCommon
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-9.2-dev0/source/Lib/TLibCommon/TComSlice.cpp

    r767 r768  
    37533753  }
    37543754}
    3755 #endif
     3755
     3756Void TComVUI::inferVideoSignalInfo( TComVPS* vps, Int layerIdCurr )
     3757{
     3758  if ( layerIdCurr == 0 || !vps->getVpsVuiPresentFlag() )
     3759  {
     3760    return;
     3761  }
     3762
     3763  TComVPSVUI* vpsVUI = vps->getVPSVUI();
     3764  assert( vpsVUI != NULL ); 
     3765
     3766  TComVideoSignalInfo* videoSignalInfo = vpsVUI->getVideoSignalInfo( vpsVUI->getVpsVideoSignalInfoIdx( vps->getLayerIdInVps( layerIdCurr ) ) );
     3767  assert( videoSignalInfo != NULL );
     3768
     3769  setVideoFormat            ( videoSignalInfo->getVideoVpsFormat            () );
     3770  setVideoFullRangeFlag     ( videoSignalInfo->getVideoFullRangeVpsFlag     () );
     3771  setColourPrimaries        ( videoSignalInfo->getColourPrimariesVps        () );
     3772  setTransferCharacteristics( videoSignalInfo->getTransferCharacteristicsVps() );
     3773  setMatrixCoefficients     ( videoSignalInfo->getMatrixCoeffsVps           () );
     3774}
     3775#endif
     3776
  • branches/HTM-9.2-dev0/source/Lib/TLibCommon/TComSlice.h

    r767 r768  
    617617  Int  getBitDepthVpsChromaMinus8(  ) { return m_bitDepthVpsChromaMinus8; }
    618618};
    619 #endif
     619
    620620
    621621class TComDpbSize
     
    664664  Int  getMaxVpsLatencyIncreasePlus1( Int i, Int j ) { return m_maxVpsLatencyIncreasePlus1[i][j]; }
    665665};
    666 
     666#endif
    667667class TComVPS
    668668{
     
    13521352  TComHRD* getHrdParameters                 ()             { return &m_hrdParameters; }
    13531353  TimingInfo* getTimingInfo() { return &m_timingInfo; }
    1354 
    1355   Void inferVideoSignalInfo( TComVPS* vps, Int layerIdCurr )
    1356   {
    1357     if ( layerIdCurr == 0 || !vps->getVpsVuiPresentFlag() )
    1358     {
    1359       return;
    1360     }
    1361 
    1362     TComVPSVUI* vpsVUI = vps->getVPSVUI();
    1363     assert( vpsVUI != NULL ); 
    1364 
    1365     TComVideoSignalInfo* videoSignalInfo = vpsVUI->getVideoSignalInfo( vpsVUI->getVpsVideoSignalInfoIdx( vps->getLayerIdInVps( layerIdCurr ) ) );
    1366     assert( videoSignalInfo != NULL );
    1367 
    1368     setVideoFormat            ( videoSignalInfo->getVideoVpsFormat            () );
    1369     setVideoFullRangeFlag     ( videoSignalInfo->getVideoFullRangeVpsFlag     () );
    1370     setColourPrimaries        ( videoSignalInfo->getColourPrimariesVps        () );
    1371     setTransferCharacteristics( videoSignalInfo->getTransferCharacteristicsVps() );
    1372     setMatrixCoefficients     ( videoSignalInfo->getMatrixCoeffsVps           () );     
    1373   }
     1354#if H_MV
     1355  Void inferVideoSignalInfo( TComVPS* vps, Int layerIdCurr );
     1356#endif
    13741357};
    13751358
  • branches/HTM-9.2-dev0/source/Lib/TLibCommon/TypeDef.h

    r767 r768  
    5555
    5656#ifndef HEVC_EXT
    57 #define HEVC_EXT                    2
     57#define HEVC_EXT                    0
    5858#endif
    5959
Note: See TracChangeset for help on using the changeset viewer.