Changeset 1313 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecCu.h


Ignore:
Timestamp:
13 Aug 2015, 17:38:13 (9 years ago)
Author:
tech
Message:

Merged 14.1-update-dev1@1312.

File:
1 edited

Legend:

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

    r1196 r1313  
    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 *
    6 * Copyright (c) 2010-2015, ITU/ISO/IEC
     6 * Copyright (c) 2010-2015, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
     
    4444
    4545#include "TLibCommon/TComTrQuant.h"
    46 #include "TLibCommon/TComPrediction.h"
    4746#include "TDecEntropy.h"
    4847
     
    6261  TComYuv**           m_ppcYuvReco;       ///< array of prediction & reconstruction buffer
    6362  TComDataCU**        m_ppcCU;            ///< CU data array
    64  
    65 #if H_3D_DBBP
     63
     64#if NH_3D_DBBP
    6665  TComYuv**           m_ppcYuvRecoDBBP;
    6766#endif
     
    7372
    7473  Bool                m_bDecodeDQP;
    75  
     74  Bool                m_IsChromaQpAdjCoded;
     75
    7676public:
    7777  TDecCu();
    7878  virtual ~TDecCu();
    79  
     79
    8080  /// initialize access channels
    8181  Void  init                    ( TDecEntropy* pcEntropyDecoder, TComTrQuant* pcTrQuant, TComPrediction* pcPrediction );
    82  
     82
    8383  /// create internal buffers
    84   Void  create                  ( UInt uiMaxDepth, UInt uiMaxWidth, UInt uiMaxHeight );
    85  
     84  Void  create                  ( UInt uiMaxDepth, UInt uiMaxWidth, UInt uiMaxHeight, ChromaFormat chromaFormatIDC );
     85
    8686  /// destroy internal buffers
    8787  Void  destroy                 ();
    88  
    89   /// decode CU information
    90   Void  decodeCU                ( TComDataCU* pcCU, UInt& ruiIsLast );
    91  
    92   /// reconstruct CU information
    93   Void  decompressCU            ( TComDataCU* pcCU );
    94  
     88
     89  /// decode Ctu information
     90  Void  decodeCtu               ( TComDataCU* pCtu, Bool &isLastCtuOfSliceSegment );
     91
     92  /// reconstruct Ctu information
     93  Void  decompressCtu           ( TComDataCU* pCtu );
     94
    9595protected:
    96  
    97   Void xDecodeCU                ( TComDataCU* pcCU,                       UInt uiAbsPartIdx, UInt uiDepth, UInt &ruiIsLast);
    98   Void xFinishDecodeCU          ( TComDataCU* pcCU,                       UInt uiAbsPartIdx, UInt uiDepth, UInt &ruiIsLast);
    99   Bool xDecodeSliceEnd          ( TComDataCU* pcCU,                       UInt uiAbsPartIdx, UInt uiDepth);
    100   Void xDecompressCU            ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    101  
     96
     97  Void xDecodeCU                ( TComDataCU* const pcCU, const UInt uiAbsPartIdx, const UInt uiDepth, Bool &isLastCtuOfSliceSegment);
     98  Void xFinishDecodeCU          ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool &isLastCtuOfSliceSegment);
     99  Bool xDecodeSliceEnd          ( TComDataCU* pcCU, UInt uiAbsPartIdx );
     100  Void xDecompressCU            ( TComDataCU* pCtu, UInt uiAbsPartIdx, UInt uiDepth );
     101
    102102  Void xReconInter              ( TComDataCU* pcCU, UInt uiDepth );
    103  
    104 #if H_3D_DBBP
     103
     104#if NH_3D_DBBP
    105105  Void xReconInterDBBP          ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    106106#endif
    107107 
    108   Void  xReconIntraQT           ( TComDataCU* pcCU, UInt uiDepth );
    109   Void  xIntraRecLumaBlk        ( TComDataCU* pcCU, UInt uiTrDepth, UInt uiAbsPartIdx, TComYuv* pcRecoYuv, TComYuv* pcPredYuv, TComYuv* pcResiYuv );
    110   Void  xIntraRecChromaBlk      ( TComDataCU* pcCU, UInt uiTrDepth, UInt uiAbsPartIdx, TComYuv* pcRecoYuv, TComYuv* pcPredYuv, TComYuv* pcResiYuv, UInt uiChromaId );
    111  
    112   Void  xReconPCM               ( TComDataCU* pcCU, UInt uiDepth );
     108  Void xReconIntraQT            ( TComDataCU* pcCU, UInt uiDepth );
     109  Void xIntraRecBlk             ( TComYuv* pcRecoYuv, TComYuv* pcPredYuv, TComYuv* pcResiYuv, const ComponentID component, TComTU &rTu );
     110  Void xIntraRecQT              ( TComYuv* pcRecoYuv, TComYuv* pcPredYuv, TComYuv* pcResiYuv, const ChannelType chType, TComTU &rTu );
    113111
    114   Void xDecodeInterTexture      ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    115   Void xDecodePCMTexture        ( TComDataCU* pcCU, UInt uiPartIdx, Pel *piPCM, Pel* piReco, UInt uiStride, UInt uiWidth, UInt uiHeight, TextType ttText);
    116  
     112  Void xReconPCM                ( TComDataCU* pcCU, UInt uiDepth );
     113
     114  Void xDecodeInterTexture      ( TComDataCU* pcCU, UInt uiDepth );
     115  Void xDecodePCMTexture        ( TComDataCU* pcCU, const UInt uiPartIdx, const Pel *piPCM, Pel* piReco, const UInt uiStride, const UInt uiWidth, const UInt uiHeight, const ComponentID compID);
     116
    117117  Void xCopyToPic               ( TComDataCU* pcCU, TComPic* pcPic, UInt uiZorderIdx, UInt uiDepth );
    118 
    119   Void  xIntraLumaRecQT         ( TComDataCU* pcCU, UInt uiTrDepth, UInt uiAbsPartIdx, TComYuv* pcRecoYuv, TComYuv* pcPredYuv, TComYuv* pcResiYuv );
    120   Void  xIntraChromaRecQT       ( TComDataCU* pcCU, UInt uiTrDepth, UInt uiAbsPartIdx, TComYuv* pcRecoYuv, TComYuv* pcPredYuv, TComYuv* pcResiYuv );
    121118
    122119  Bool getdQPFlag               ()                        { return m_bDecodeDQP;        }
    123120  Void setdQPFlag               ( Bool b )                { m_bDecodeDQP = b;           }
     121  Bool getIsChromaQpAdjCoded    ()                        { return m_IsChromaQpAdjCoded;        }
     122  Void setIsChromaQpAdjCoded    ( Bool b )                { m_IsChromaQpAdjCoded = b;           }
     123
    124124  Void xFillPCMBuffer           (TComDataCU* pCU, UInt depth);
    125 #if H_3D
     125
     126#if NH_3D_DIS
    126127  Void xReconDIS               ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    127128#endif
    128 #if H_3D_DIM_SDC
     129#if NH_3D_SDC_INTRA
    129130  Void xReconIntraSDC           ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    130131#endif
    131 #if H_3D_INTER_SDC
     132#if NH_3D_SDC_INTER
    132133  Void xReconInterSDC           ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    133134#endif
     135
    134136};
    135137
Note: See TracChangeset for help on using the changeset viewer.