Ignore:
Timestamp:
23 Sep 2015, 18:32:42 (9 years ago)
Author:
ericsson
Message:

Integration of the 3D reference displays information SEI message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-15.1-dev0-Ericsson/source/Lib/TLibCommon/SEI.h

    r1334 r1337  
    873873  Bool      m_ffinfoDuplicateFlag;
    874874};
     875#endif
    875876
    876877class SEIThreeDimensionalReferenceDisplaysInfo : public SEI
     
    883884
    884885  Void setupFromCfgFile( const Char*      cfgFile );
    885   Void setupFromSlice  ( const TComSlice* slice   );
    886   Bool checkCfg        ( const TComSlice* slice   );
     886  Bool checkCfg        ( const TComSlice* slice   );
     887
     888  Int getNumRefDisplaysMinus1( ) const
     889  {
     890    return m_numRefDisplaysMinus1;
     891  }
    887892
    888893  Int       m_precRefDisplayWidth;
     
    899904  IntAry1d  m_numSampleShiftPlus512;
    900905  Bool      m_threeDimensionalReferenceDisplaysExtensionFlag;
    901 };
    902 
     906
     907  Void resizeArrays( )
     908  {
     909    Int numReferenceDiaplays = getNumRefDisplaysMinus1() + 1;
     910 
     911    m_leftViewId    .resize( numReferenceDiaplays );
     912    m_rightViewId   .resize( numReferenceDiaplays );
     913    m_exponentRefDisplayWidth      .resize( numReferenceDiaplays );
     914    m_mantissaRefDisplayWidth      .resize( numReferenceDiaplays );
     915    m_exponentRefViewingDistance   .resize( numReferenceDiaplays );
     916    m_mantissaRefViewingDistance   .resize( numReferenceDiaplays );
     917    m_additionalShiftPresentFlag   .resize( numReferenceDiaplays );
     918    m_numSampleShiftPlus512        .resize( numReferenceDiaplays );
     919  }
     920
     921  UInt getMantissaReferenceDisplayWidthLen  ( Int i ) const ;
     922  UInt getMantissaReferenceViewingDistanceLen  ( Int i ) const ;
     923private:
     924  UInt xGetSyntaxElementLen( Int expo, Int prec, Int val ) const;
     925};
     926
     927#if NH_MV_SEI_TBD
    903928class SEIDepthRepresentationInfo : public SEI
    904929{
Note: See TracChangeset for help on using the changeset viewer.