Ignore:
Timestamp:
12 Nov 2014, 08:09:17 (10 years ago)
Author:
seregin
Message:

initial porting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-upgrade/source/App/TAppEncoder/TAppEncTop.h

    r595 r916  
    22 * License, included below. This software may be subject to other third party
    33 * and contributor rights, including patent rights, and no such rights are
    4  * granted under this license. 
     4 * granted under this license.
    55 *
    66 * Copyright (c) 2010-2014, ITU/ISO/IEC
     
    7070  TVideoIOYuv                m_cTVideoIOYuvInputFile;       ///< input YUV file
    7171  TVideoIOYuv                m_cTVideoIOYuvReconFile;       ///< output reconstruction file
    72  
     72
    7373  TComList<TComPicYuv*>      m_cListPicYuvRec;              ///< list of reconstruction YUV files
    7474#endif
    7575 
    7676  Int                        m_iFrameRcvd;                  ///< number of received frames
    77  
     77
    7878  UInt m_essentialBytes;
    7979  UInt m_totalBytes;
     80
    8081protected:
    8182  // initialization
     
    8485  Void  xInitLib          (Bool isFieldCoding);             ///< initialize encoder class
    8586  Void  xDestroyLib       ();                               ///< destroy encoder class
    86  
     87
    8788  /// obtain required buffers
    8889#if SVC_EXTENSION
     
    9495  /// delete allocated buffers
    9596  Void  xDeleteBuffer     ();
    96  
     97
    9798  // file I/O
    9899#if SVC_EXTENSION
    99100  Void xWriteRecon(UInt layer, Int iNumEncoded);
    100101  Void xWriteStream(std::ostream& bitstreamFile, Int iNumEncoded, const std::list<AccessUnit>& accessUnits);
    101   Void printOutSummary(Bool isField);
     102  Void printOutSummary(Bool isField, const Bool printMSEBasedSNR, const Bool printSequenceMSE);
    102103#else
    103104  Void xWriteOutput(std::ostream& bitstreamFile, Int iNumEncoded, const std::list<AccessUnit>& accessUnits); ///< write bitstream to file
     105  Void printChromaFormat();
    104106#endif
    105   void rateStatsAccum(const AccessUnit& au, const std::vector<UInt>& stats);
    106   void printRateSummary();
     107  Void rateStatsAccum(const AccessUnit& au, const std::vector<UInt>& stats);
     108  Void printRateSummary();
    107109 
    108110public:
    109111  TAppEncTop();
    110112  virtual ~TAppEncTop();
    111  
     113
    112114  Void        encode      ();                               ///< main encoding function
    113115#if SVC_EXTENSION
Note: See TracChangeset for help on using the changeset viewer.