Changeset 296 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecEntropy.h


Ignore:
Timestamp:
20 Feb 2013, 22:07:43 (12 years ago)
Author:
tech
Message:

Reintegrated branch 5.1-dev0 rev. 295.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibDecoder/TDecEntropy.h

    r210 r296  
    6767  virtual Void  setBitstream          ( TComInputBitstream* p )  = 0;
    6868
    69 #if OL_FLUSH
    7069  virtual Void  decodeFlush()                                                                      = 0;
    71 #endif
    7270
    7371#if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046
    7472  virtual Void  parseVPS                  ( TComVPS* pcVPS )                       = 0;
    7573#endif
    76 #if HHI_MPI
     74#if HHI_MPI || OL_QTLIMIT_PREDCODING_B0068
    7775  virtual Void  parseSPS                  ( TComSPS* pcSPS, Bool bIsDepth )                       = 0;
    7876#else
    7977  virtual Void  parseSPS                  ( TComSPS* pcSPS )                                      = 0;
    8078#endif
    81 #if TILES_OR_ENTROPY_SYNC_IDC 
    8279  virtual Void  parsePPS                  ( TComPPS* pcPPS, ParameterSetManagerDecoder *parameterSet )                                      = 0;
    83 #else
    84   virtual Void  parsePPS                  ( TComPPS* pcPPS )                                      = 0;
    85 #endif
    8680  virtual Void  parseAPS                  ( TComAPS* pAPS  )                                      = 0;
    8781  virtual void parseSEI(SEImessages&) = 0;
    8882
    89 #if LCU_SYNTAX_ALF
     83#if MTK_DEPTH_MERGE_TEXTURE_CANDIDATE_C0137
     84  virtual Void parseSliceHeader          ( TComSlice*& rpcSlice, ParameterSetManagerDecoder *parameterSetManager, AlfCUCtrlInfo &alfCUCtrl, AlfParamSet& alfParamSet, bool isDepth)       = 0;
     85#else
    9086  virtual Void parseSliceHeader          ( TComSlice*& rpcSlice, ParameterSetManagerDecoder *parameterSetManager, AlfCUCtrlInfo &alfCUCtrl, AlfParamSet& alfParamSet)       = 0;
    91 #else
    92   virtual Void parseSliceHeader          ( TComSlice*& rpcSlice, ParameterSetManagerDecoder *parameterSetManager, AlfCUCtrlInfo &alfCUCtrl )                                = 0;
    9387#endif
    9488
    9589  virtual Void  parseTerminatingBit       ( UInt& ruilsLast )                                     = 0;
    9690 
    97 #if HHI_INTER_VIEW_MOTION_PRED
     91#if H3D_IVMP
    9892  virtual Void parseMVPIdx        ( Int& riMVPIdx, Int iNumAMVPCands ) = 0;
    9993#else
     
    109103  virtual Void parseMergeFlag     ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPUIdx ) = 0;
    110104  virtual Void parseMergeIndex    ( TComDataCU* pcCU, UInt& ruiMergeIndex, UInt uiAbsPartIdx, UInt uiDepth ) = 0;
    111 #if HHI_INTER_VIEW_RESIDUAL_PRED
     105#if H3D_IVRP
    112106  virtual Void parseResPredFlag   ( TComDataCU* pcCU, Bool& rbResPredFlag, UInt uiAbsPartIdx, UInt uiDepth ) = 0;
    113107#endif
     
    159153  UInt    m_uiBakAbsPartIdx;
    160154  UInt    m_uiBakChromaOffset;
    161 #if UNIFIED_TRANSFORM_TREE
    162155  UInt    m_bakAbsPartIdxCU;
    163 #endif
    164156 
    165157public:
     
    179171#endif
    180172 
    181 #if HHI_MPI
     173#if HHI_MPI || OL_QTLIMIT_PREDCODING_B0068
    182174  Void    decodeSPS                   ( TComSPS* pcSPS, Bool bIsDepth ) { m_pcEntropyDecoderIf->parseSPS(pcSPS, bIsDepth); }
    183175#else
    184176  Void    decodeSPS                   ( TComSPS* pcSPS     )    { m_pcEntropyDecoderIf->parseSPS(pcSPS);                    }
    185177#endif
    186 #if TILES_OR_ENTROPY_SYNC_IDC
    187178  Void    decodePPS                   ( TComPPS* pcPPS, ParameterSetManagerDecoder *parameterSet    )    { m_pcEntropyDecoderIf->parsePPS(pcPPS, parameterSet);                    }
    188 #else
    189   Void    decodePPS                   ( TComPPS* pcPPS     )    { m_pcEntropyDecoderIf->parsePPS(pcPPS);                    }
    190 #endif
    191179  Void    decodeAPS                   ( TComAPS* pAPS      )    { m_pcEntropyDecoderIf->parseAPS(pAPS);}
    192180  void decodeSEI(SEImessages& seis) { m_pcEntropyDecoderIf->parseSEI(seis); }
    193181
    194 #if LCU_SYNTAX_ALF
     182#if MTK_DEPTH_MERGE_TEXTURE_CANDIDATE_C0137
     183  Void    decodeSliceHeader           ( TComSlice*& rpcSlice, ParameterSetManagerDecoder *parameterSetManager, AlfCUCtrlInfo &alfCUCtrl, AlfParamSet& alfParamSet, bool isDepth)  { m_pcEntropyDecoderIf->parseSliceHeader(rpcSlice, parameterSetManager, alfCUCtrl, alfParamSet, isDepth);         }
     184#else
    195185  Void    decodeSliceHeader           ( TComSlice*& rpcSlice, ParameterSetManagerDecoder *parameterSetManager, AlfCUCtrlInfo &alfCUCtrl, AlfParamSet& alfParamSet)  { m_pcEntropyDecoderIf->parseSliceHeader(rpcSlice, parameterSetManager, alfCUCtrl, alfParamSet);         }
    196 #else
    197   Void    decodeSliceHeader           ( TComSlice*& rpcSlice, ParameterSetManagerDecoder *parameterSetManager, AlfCUCtrlInfo &alfCUCtrl )  { m_pcEntropyDecoderIf->parseSliceHeader(rpcSlice, parameterSetManager, alfCUCtrl);         }
    198186#endif
    199187
     
    210198  Void decodeMergeFlag         ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPUIdx );
    211199  Void decodeMergeIndex        ( TComDataCU* pcSubCU, UInt uiPartIdx, UInt uiPartAddr, PartSize eCUMode, UChar* puhInterDirNeighbours, TComMvField* pcMvFieldNeighbours, UInt uiDepth );
    212 #if HHI_INTER_VIEW_RESIDUAL_PRED
     200#if H3D_IVRP && !MTK_MDIVRP_C0138
    213201  Void decodeResPredFlag       ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, TComDataCU* pcSubCU, UInt uiPUIdx );
    214202#endif
     
    223211  Void decodeIntraDirModeChroma( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    224212 
    225 #if !UNIFIED_TRANSFORM_TREE
    226   Void decodeTransformIdx      ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    227 #endif
    228 #if UNIFIED_TRANSFORM_TREE
    229213  Void decodeQP                ( TComDataCU* pcCU, UInt uiAbsPartIdx );
    230 #else
    231   Void decodeQP                ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    232 #endif
    233214 
    234215  Void readTileMarker         ( UInt& uiTileIdx, UInt uiBitsUsed )  {  m_pcEntropyDecoderIf->readTileMarker( uiTileIdx, uiBitsUsed ); }
     
    237218 
    238219private:
    239 #if UNIFIED_TRANSFORM_TREE
    240220  Void xDecodeTransform        ( TComDataCU* pcCU, UInt offsetLuma, UInt offsetChroma, UInt uiAbsPartIdx, UInt absTUPartIdx, UInt uiDepth, UInt width, UInt height, UInt uiTrIdx, UInt uiInnerQuadIdx, UInt& uiYCbfFront3, UInt& uiUCbfFront3, UInt& uiVCbfFront3, Bool& bCodeDQP );
    241 #else
    242   Void xDecodeTransformSubdiv  ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt absTUPartIdx, UInt uiDepth, UInt uiInnerQuadIdx, UInt& uiYCbfFront3, UInt& uiUCbfFront3, UInt& uiVCbfFront3 );
    243  
    244   Void xDecodeCoeff            ( TComDataCU* pcCU, UInt uiLumaOffset, UInt uiChromaOffset, UInt uiAbsPartIdx, UInt uiDepth, UInt uiWidth, UInt uiHeight, UInt uiTrIdx, UInt uiCurrTrIdx, Bool& bCodeDQP );
    245 #endif //UNIFIED_TRANSFORM_TREE
    246221
    247222public:
     
    253228  Void setSliceGranularity (Int iSliceGranularity) {m_pcEntropyDecoderIf->setSliceGranularity(iSliceGranularity);}
    254229
    255 #if SAO_UNIT_INTERLEAVING
    256230  Void decodeSaoParam         (SAOParam* saoParam);
    257231  void decodeSaoLcu(Int rx, Int ry, Int compIdx, SAOParam* saoParam, Bool &repeatedRow );
    258232  Void decodeSaoOneLcu(SaoLcuParam* saoLcuParam);
    259 #endif
    260 
    261 #if OL_FLUSH
     233
    262234  Void decodeFlush() { m_pcEntropyDecoderIf->decodeFlush(); }
    263 #endif
    264235 
    265236#if RWTH_SDC_DLT_B0036
Note: See TracChangeset for help on using the changeset viewer.