Ignore:
Timestamp:
12 Apr 2018, 11:12:21 (7 years ago)
Author:
tech
Message:
  • Update HM-16.18
  • Cleanups
  • Encoder Extension

-- Representation formats
-- Parameter set sharing
-- GOP configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-16.2-dev/source/Lib/TLibEncoder/TEncSlice.h

    r1405 r1412  
    44 * granted under this license.
    55 *
    6  * Copyright (c) 2010-2016, ITU/ISO/IEC
     6 * Copyright (c) 2010-2017, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
     
    9393#else
    9494  UInt64                  m_uiPicDist;                          ///< total distortion for the picture
    95 #endif
    96   Double                  m_dPicRdCost;                         ///< picture-level RD cost
     95#endif 
     96 Double                  m_dPicRdCost;                         ///< picture-level RD cost
    9797  std::vector<Double>     m_vdRdPicLambda;                      ///< array of lambda candidates
    9898  std::vector<Double>     m_vdRdPicQp;                          ///< array of picture QP candidates (double-type for lambda)
     
    103103  TEncSbac                m_entropyCodingSyncContextState;      ///< context storate for state of contexts at the wavefront/WPP/entropy-coding-sync second CTU of tile-row
    104104  SliceType               m_encCABACTableIdx;
     105  Int                     m_gopID;
     106#if NH_MV
     107  SliceType               m_eSliceTypeBaseView;
     108#endif
    105109
     110  Double   calculateLambda( const TComSlice* pSlice, const Int GOPid, const Int depth, const Double refQP, const Double dQP, Int &iQP );
    106111  Void     setUpLambda(TComSlice* slice, const Double dLambda, Int iQP);
    107112  Void     calculateBoundingCtuTsAddrForSlice(UInt &startCtuTSAddrSlice, UInt &boundingCtuTSAddrSlice, Bool &haveReachedTileBoundary, TComPic* pcPic, const Int sliceMode, const Int sliceArgument);
     
    123128                                const Int iGOPid,   TComSlice*& rpcSlice, const Bool isField );
    124129#endif
     130
    125131  Void    resetQP             ( TComPic* pic, Int sliceQP, Double lambda );
     132  Void    setGopID( Int iGopID )      { m_gopID = iGopID; }
     133  Int     getGopID() const            { return m_gopID;   }
     134  Void    updateLambda(TComSlice* pSlice, Double dQP);
     135
    126136  // compress and encode slice
    127137  Void    precompressSlice    ( TComPic* pcPic                                     );      ///< precompress slice for multi-loop slice-level QP opt.
Note: See TracChangeset for help on using the changeset viewer.