Ignore:
Timestamp:
5 Jul 2014, 05:16:45 (10 years ago)
Author:
tech
Message:
  • Merged 11.0-dev0@963. (Update to HM 14.0 + MV-HEVC Draft 8 HLS)
  • Added coding results.
  • Changed version number.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibCommon/TComSampleAdaptiveOffset.h

    r872 r964  
    5555extern UInt g_saoMaxOffsetQVal[NUM_SAO_COMPONENTS];
    5656
     57#if SAO_SGN_FUNC
     58template <typename T> int sgn(T val)
     59{
     60  return (T(0) < val) - (val < T(0));
     61}
     62#endif
     63
    5764class TComSampleAdaptiveOffset
    5865{
     
    7986  UInt m_offsetStepLog2[NUM_SAO_COMPONENTS]; //offset step 
    8087  Int* m_offsetClip[NUM_SAO_COMPONENTS]; //clip table for fast operation
     88#if !SAO_SGN_FUNC
    8189  Short* m_sign; //sign table for fast operation
     90#endif
    8291  TComPicYuv*   m_tempPicYuv; //temporary buffer
    8392  Int m_picWidth;
     
    96105  Bool m_picSAOEnabled[NUM_SAO_COMPONENTS];
    97106  Int*   m_offsetClipTable[NUM_SAO_COMPONENTS];
     107#if !SAO_SGN_FUNC
    98108  Short* m_signTable;
    99 
     109#endif
    100110};
    101111
Note: See TracChangeset for help on using the changeset viewer.