Ignore:
Timestamp:
11 Oct 2013, 05:54:02 (11 years ago)
Author:
seregin
Message:

initial porting of HM12

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncTop.h

    r414 r431  
    144144  Window                  m_scaledRefLayerWindow[MAX_LAYERS];
    145145#endif
    146 #endif
    147146#if POC_RESET_FLAG
    148147  Int                     m_pocAdjustmentValue;
     148#endif
    149149#endif
    150150protected:
     
    154154 
    155155  Void  xInitPPSforTiles  ();
    156   Void  xInitRPS          ();                             ///< initialize PPS from encoder options
     156  Void  xInitRPS          (Bool isFieldCoding);           ///< initialize PPS from encoder options
    157157#if SVC_EXTENSION
    158158  Void xInitILRP();
     
    164164  Void      create          ();
    165165  Void      destroy         ();
    166   Void      init            ();
     166  Void      init            (Bool isFieldCoding);
    167167  Void      deletePicBuffer ();
    168168
     
    209209  Int                     getNumPicRcvd         () { return m_iNumPicRcvd;            }
    210210  Void                    setNumPicRcvd         ( Int num ) { m_iNumPicRcvd = num;      }
    211 #endif
    212211#if SCALED_REF_LAYER_OFFSETS
    213212  Void                    setNumScaledRefLayerOffsets(Int x) { m_numScaledRefLayerOffsets = x; }
    214213  UInt                    getNumScaledRefLayerOffsets() { return m_numScaledRefLayerOffsets; }
    215214  Window&  getScaledRefLayerWindow(Int x)            { return m_scaledRefLayerWindow[x]; }
     215#endif
    216216#endif
    217217
     
    236236  fstream*  getBLSyntaxFile() { return m_pBLSyntaxFile; }
    237237#endif
    238   Void      encode( TComPicYuv* pcPicYuvOrg, TComList<TComPicYuv*>& rcListPicYuvRecOut, std::list<AccessUnit>& accessUnitsOut, Int iPicIdInGOP  );
     238  Void      encode( TComPicYuv* pcPicYuvOrg, TComList<TComPicYuv*>& rcListPicYuvRecOut, std::list<AccessUnit>& accessUnitsOut, Int iPicIdInGOP );
    239239  Void      encodePrep( TComPicYuv* pcPicYuvOrg );
     240  Void      encode( TComPicYuv* pcPicYuvOrg, TComList<TComPicYuv*>& rcListPicYuvRecOut, std::list<AccessUnit>& accessUnitsOut, Int iPicIdInGOP, Bool isTff );
     241  Void      encodePrep( TComPicYuv* pcPicYuvOrg, Bool isTff );
    240242#if VPS_EXTN_DIRECT_REF_LAYERS
    241243  TEncTop*  getRefLayerEnc(UInt refLayerIdc);
    242244#endif
    243 #else
    244   Void encode( Bool bEos, TComPicYuv* pcPicYuvOrg, TComList<TComPicYuv*>& rcListPicYuvRecOut,
    245               std::list<AccessUnit>& accessUnitsOut, Int& iNumEncoded ); 
    246 #endif
    247 
    248   void printSummary() { m_cGOPEncoder.printOutSummary (m_uiNumAllPicCoded); }
    249245#if POC_RESET_FLAG
    250246  Int  getPocAdjustmentValue()      { return m_pocAdjustmentValue;}
    251247  Void setPocAdjustmentValue(Int x) { m_pocAdjustmentValue = x;   }
    252248#endif
     249#else //SVC_EXTENSION
     250  Void encode( Bool bEos, TComPicYuv* pcPicYuvOrg, TComList<TComPicYuv*>& rcListPicYuvRecOut,
     251              std::list<AccessUnit>& accessUnitsOut, Int& iNumEncoded );
     252
     253  /// encode several number of pictures until end-of-sequence
     254  Void encode( bool bEos, TComPicYuv* pcPicYuvOrg, TComList<TComPicYuv*>& rcListPicYuvRecOut,
     255              std::list<AccessUnit>& accessUnitsOut, Int& iNumEncoded, Bool isTff);
     256
     257  Void printSummary(Bool isField) { m_cGOPEncoder.printOutSummary (m_uiNumAllPicCoded, isField); }
     258#endif //#if SVC_EXTENSION
    253259};
    254260
Note: See TracChangeset for help on using the changeset viewer.