Ignore:
Timestamp:
10 Aug 2015, 23:04:12 (9 years ago)
Author:
seregin
Message:

CGS code formatting

File:
1 edited

Legend:

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

    r1430 r1432  
    152152  TComPicYuv*             m_pColorMappedPic;
    153153
    154   Int m_iTap;
    155   const Int (*m_phase_filter)[13];
    156   const Int (*m_phase_filter_luma)[13];
    157   const Int (*m_phase_filter_chroma)[13];
    158   Int m_iM, m_iN;
    159   static const Int m_phase_filter_0_t0[4][13];
    160   static const Int m_phase_filter_0_t1[4][13];
    161   static const Int m_phase_filter_0_t1_chroma[4][13];
    162   static const Int m_phase_filter_1[8][13];
    163   Int   **m_temp;
    164 #endif
    165   Int   m_lastPocPeriodId;
    166   Bool  m_noRaslOutputFlag;
    167   Bool  m_prevPicHasEos;
    168   static Bool m_signalledVPS;
     154  Char                    m_cgsFilterLength;
     155  Char                    m_cgsFilterPhases;
     156  Int                     m_iN;
     157  Int                   **m_temp;
     158  const Pel             (*m_phaseFilter)[CGS_FILTER_LENGTH];
     159  const Pel             (*m_phaseFilterLuma)[CGS_FILTER_LENGTH];
     160  const Pel             (*m_phaseFilterChroma)[CGS_FILTER_LENGTH];
     161  static const Pel        m_phaseFilter0T0[CGS_FILTER_PHASES_2X][CGS_FILTER_LENGTH];
     162  static const Pel        m_phaseFilter0T1[CGS_FILTER_PHASES_2X][CGS_FILTER_LENGTH];
     163  static const Pel        m_phaseFilter0T1Chroma[CGS_FILTER_PHASES_2X][CGS_FILTER_LENGTH];
     164  static const Pel        m_phaseFilter1[CGS_FILTER_PHASES_1X][CGS_FILTER_LENGTH];
     165#endif
     166  Int                     m_lastPocPeriodId;
     167  Bool                    m_noRaslOutputFlag;
     168  Bool                    m_prevPicHasEos;
     169  static Bool             m_signalledVPS;
    169170#endif
    170171 
     
    275276#if Q0074_COLOUR_REMAPPING_SEI
    276277  TComSEIColourRemappingInfo* xGetSEIColourRemappingInfo()  { return &m_seiColourRemappingInfo; }
    277   Void  setCRISEIFile( Char* pch )       { m_seiColourRemappingInfo.m_colourRemapSEIFile = pch; }
    278 
    279   Void freeColourCRI();
    280   Int  readingCRIparameters();
     278  Void xSetCRISEIFile( Char* pch )                          { m_seiColourRemappingInfo.m_colourRemapSEIFile = pch; }
     279
     280  Void xFreeColourCRI();
     281  Int  xReadingCRIparameters();
    281282  Void xCheckParameter();
    282283#endif
     
    287288#if CGS_3D_ASYMLUT
    288289  Void xDetermine3DAsymLUT( TComSlice * pSlice , TComPic * pCurPic , UInt refLayerIdc , TEncCfg * pCfg , Bool bSignalPPS );
    289   Void downScalePic( TComPicYuv* pcYuvSrc, TComPicYuv* pcYuvDest, BitDepths& bitDepth, const Int posScalingFactorX);
    290   Void downScaleComponent2x2( const Pel* pSrc, Pel* pDest, const Int iSrcStride, const Int iDestStride, const Int iSrcWidth, const Int iSrcHeight, const Int inputBitDepth, const Int outputBitDepth );
    291   inline Short xClip( Short x , Int bitdepth );
    292   Void initDs(Int iWidth, Int iHeight, Int iType, const Int posScalingFactorX);
    293   Void filterImg( Pel *src, Int iSrcStride, Pel *dst, Int iDstStride, Int height1, Int width1, BitDepths& bitDepth, Int plane );
    294 
    295   Int get_mem2DintWithPad(Int ***array2D, Int dim0, Int dim1, Int iPadY, Int iPadX);
    296   Void free_mem2DintWithPad(Int **array2D, Int iPadY, Int iPadX);
     290  Void xDownScalePic( TComPicYuv* pcYuvSrc, TComPicYuv* pcYuvDest, BitDepths& bitDepth, const Int posScalingFactorX);
     291  Void xDownScaleComponent2x2( const Pel* pSrc, Pel* pDest, const Int iSrcStride, const Int iDestStride, const Int iSrcWidth, const Int iSrcHeight, const Int inputBitDepth, const Int outputBitDepth );
     292  inline Short xClip( Short x, Int bitdepth );
     293  Void xInitDs( const Int iWidth, const Int iHeight, const Bool allIntra, const Int posScalingFactorX);
     294  Void xFilterImg( Pel *src, Int iSrcStride, Pel *dst, Int iDstStride, Int height1, Int width1, BitDepths& bitDepth, ComponentID comp );
     295
     296  Int  xCreate2DArray(Int ***array2D, Int dim0, Int dim1, Int iPadY, Int iPadX);
     297  Void xDestroy2DArray(Int **array2D, Int iPadY, Int iPadX);
    297298#endif
    298299  Void xCheckLayerReset(TComSlice *slice);
Note: See TracChangeset for help on using the changeset viewer.