Ignore:
Timestamp:
2 Mar 2013, 09:25:00 (12 years ago)
Author:
seregin
Message:

port simulcast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TComPic.h

    r51 r54  
    4545#include "TComBitStream.h"
    4646#include "SEI.h"
     47#if AVC_BASE || SYNTAX_OUTPUT
     48#include <fstream>
     49#endif
    4750
    4851//! \ingroup TLibCommon
     
    5861private:
    5962  UInt                  m_uiTLayer;               //  Temporal layer
     63#if SVC_EXTENSION
     64  UInt                  m_layerId;              //  Layer ID
     65#endif
    6066  Bool                  m_bUsedByCurr;            //  Used by current picture
    6167  Bool                  m_bIsLongTerm;            //  IS long term picture
     
    8591
    8692  SEIMessages  m_SEIs; ///< Any SEI messages that have been received.  If !NULL we own the object.
     93#if SVC_EXTENSION
     94  Bool                  m_bSpatialEnhLayer;       // whether current layer is a spatial enhancement layer,
     95  TComPicYuv*           m_pcFullPelBaseRec;    // upsampled base layer recontruction for difference domain inter prediction
     96#if REF_IDX_ME_AROUND_ZEROMV || REF_IDX_ME_ZEROMV || ENCODER_FAST_MODE || REF_IDX_MFM
     97  Bool                  m_bIsILR;                 //  Is ILR picture
     98#endif
     99#endif
    87100
    88101public:
     
    90103  virtual ~TComPic();
    91104 
     105#if SVC_UPSAMPLING
    92106  Void          create( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, Window &conformanceWindow, Window &defaultDisplayWindow,
    93                         Int *numReorderPics, Bool bIsVirtual = false );
    94                        
     107                        Int *numReorderPics, TComSPS* pcSps = NULL, Bool bIsVirtual = false );
     108#if REF_IDX_FRAMEWORK
     109  Void          createWithOutYuv( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, TComSPS* pcSps = NULL, Bool bIsVirtual = false ); 
     110  Void          setPicYuvRec(TComPicYuv *pPicYuv) { m_apcPicYuv[1]=pPicYuv; }
     111#endif
     112#else
     113  Void          create( Int iWidth, Int iHeight, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, Window &conformanceWindow, Window &defaultDisplayWindow,
     114                        Int *numReorderPics, Bool bIsVirtual = false );                       
     115#endif
    95116  virtual Void  destroy();
    96117 
    97118  UInt          getTLayer()                { return m_uiTLayer;   }
    98119  Void          setTLayer( UInt uiTLayer ) { m_uiTLayer = uiTLayer; }
     120#if SVC_EXTENSION
     121  Void          setLayerId (UInt layerId) { m_layerId = layerId; }
     122  UInt          getLayerId ()               { return m_layerId; }
     123  Bool          isSpatialEnhLayer()             { return m_bSpatialEnhLayer; }
     124  Void          setSpatialEnhLayerFlag (Bool b) { m_bSpatialEnhLayer = b; }
     125  Void          setFullPelBaseRec   ( TComPicYuv* p) { m_pcFullPelBaseRec = p; }
     126  TComPicYuv*   getFullPelBaseRec   ()  { return  m_pcFullPelBaseRec;  }
     127#endif
     128#if REF_IDX_ME_AROUND_ZEROMV || REF_IDX_ME_ZEROMV || ENCODER_FAST_MODE || REF_IDX_MFM
     129  Void          setIsILR( Bool bIsILR)      {m_bIsILR = bIsILR;}
     130  Bool          getIsILR()                  {return m_bIsILR;}
     131#endif
     132
     133#if REF_IDX_MFM
     134  Void          copyUpsampledMvField  (  TComPic* pcPicBase );
     135#if !REUSE_BLKMAPPING
     136  Void          deriveUnitIdxBase     (  UInt uiUpsamplePelX, UInt uiUpsamplePelY, UInt ratio, UInt& uiBaseCUAddr, UInt& uiBaseAbsPartIdx );
     137#endif
     138#endif
    99139
    100140  Bool          getUsedByCurr()             { return m_bUsedByCurr; }
     
    177217  const SEIMessages& getSEIs() const { return m_SEIs; }
    178218
     219#if REF_IDX_FRAMEWORK
     220  Void  copyUpsampledPictureYuv(TComPicYuv*   pcPicYuvIn, TComPicYuv*   pcPicYuvOut);
     221#endif
     222#if AVC_SYNTAX
     223  Void readBLSyntax( fstream* filestream, UInt numBytes );
     224#endif
     225#if SYNTAX_OUTPUT
     226  Void wrireBLSyntax( fstream* filestream, UInt numBytes );
     227#endif
     228
    179229};// END CLASS DEFINITION TComPic
    180230
Note: See TracChangeset for help on using the changeset viewer.