Changeset 1179 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComDataCU.h


Ignore:
Timestamp:
7 Apr 2015, 17:05:30 (9 years ago)
Author:
tech
Message:

Merged branch 13.1-dev0@1178.

File:
1 edited

Legend:

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

    r1133 r1179  
    44 * granted under this license. 
    55 *
    6 * Copyright (c) 2010-2014, ITU/ISO/IEC
     6* Copyright (c) 2010-2015, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
     
    110110  // -------------------------------------------------------------------------------------------------------------------
    111111  Bool*         m_skipFlag;           ///< array of skip flags
     112#if SEC_DEPTH_INTRA_SKIP_MODE_K0033
     113  Bool*         m_bDISFlag;         
     114  UInt*         m_uiDISType;
     115#else
    112116#if H_3D_SINGLE_DEPTH
    113117  Bool*         m_singleDepthFlag;           ///< array of single depth flags
    114118  Pel*          m_apSingleDepthValue;
     119#endif
    115120#endif
    116121  Char*         m_pePartSize;         ///< array of partition sizes
     
    308313  TComPic*      getPic                ()                        { return m_pcPic;           }
    309314  TComSlice*    getSlice              ()                        { return m_pcSlice;         }
     315#if H_3D_DISABLE_CHROMA
     316  Void         setSlice              ( TComSlice* pcSlice)     { m_pcSlice = pcSlice;       }
     317#endif
    310318  UInt&         getAddr               ()                        { return m_uiCUAddr;        }
    311319  UInt&         getZorderIdxInCU      ()                        { return m_uiAbsIdxInLCU; }
     
    342350  Void         setSkipFlag           ( UInt idx, Bool skip)     { m_skipFlag[idx] = skip;   }
    343351  Void         setSkipFlagSubParts   ( Bool skip, UInt absPartIdx, UInt depth );
     352#if SEC_DEPTH_INTRA_SKIP_MODE_K0033
     353  Bool*        getDISFlag            ()                         { return m_bDISFlag;          }
     354  Bool         getDISFlag            ( UInt idx)                { return m_bDISFlag[idx];     }
     355  Void         setDISFlag            ( UInt idx, Bool bDIS)     { m_bDISFlag[idx] = bDIS;   }
     356  Void         setDISFlagSubParts    ( Bool bDIS, UInt absPartIdx, UInt depth );
     357
     358  UInt*        getDISType            ()                         { return m_uiDISType; }
     359  UInt         getDISType            ( UInt idx)                { return m_uiDISType[idx];     }
     360  Void         getDISType            ( UInt idx, UInt uiDISType)     { m_uiDISType[idx] = uiDISType;   }
     361  Void         setDISTypeSubParts    ( UInt uiDISType, UInt uiAbsPartIdx, UInt uiPUIdx, UInt uiDepth );
     362#else
    344363#if H_3D_SINGLE_DEPTH
    345364  Bool*        getSingleDepthFlag            ()                        { return m_singleDepthFlag;          }
     
    353372  Void         setSingleDepthValueSubParts   (Pel singleDepthValue, UInt uiAbsPartIdx, UInt uiPUIdx, UInt uiDepth );
    354373#endif 
     374#endif
    355375  Char*         getPredictionMode     ()                        { return m_pePredMode;        }
    356376  PredMode      getPredictionMode     ( UInt uiIdx )            { return static_cast<PredMode>( m_pePredMode[uiIdx] ); }
     
    418438  UChar         getCbf    ( UInt uiIdx, TextType eType )                  { return m_puhCbf[g_aucConvertTxtTypeToIdx[eType]][uiIdx];  }
    419439  UChar*        getCbf    ( TextType eType )                              { return m_puhCbf[g_aucConvertTxtTypeToIdx[eType]];         }
     440
    420441  UChar         getCbf    ( UInt uiIdx, TextType eType, UInt uiTrDepth )  { return ( ( getCbf( uiIdx, eType ) >> uiTrDepth ) & 0x1 ); }
    421442  Void          setCbf    ( UInt uiIdx, TextType eType, UChar uh )        { m_puhCbf[g_aucConvertTxtTypeToIdx[eType]][uiIdx] = uh;    }
     443
    422444  Void          clearCbf  ( UInt uiIdx, TextType eType, UInt uiNumParts );
    423445  UChar         getQtRootCbf          ( UInt uiIdx )                      { return getCbf( uiIdx, TEXT_LUMA, 0 ) || getCbf( uiIdx, TEXT_CHROMA_U, 0 ) || getCbf( uiIdx, TEXT_CHROMA_V, 0 ); }
     
    484506  );
    485507  Bool          xGetColDisMV      ( Int currCandPic, RefPicList eRefPicList, Int refidx, Int uiCUAddr, Int uiPartUnitIdx, TComMv& rcMv, Int & iTargetViewIdx, Int & iStartViewIdx );
     508#if SEC_ARP_REM_ENC_RESTRICT_K0035
     509  Void          getDisMvpCandNBDV ( DisInfo* pDInfo
     510#else
    486511  Bool          getDisMvpCandNBDV ( DisInfo* pDInfo
     512#endif
    487513#if H_3D_NBDV_REF
    488514   , Bool bDepthRefine = false
     
    491517   
    492518#if H_3D
     519#if SEC_ARP_REM_ENC_RESTRICT_K0035
     520  Void          getDispforDepth  ( UInt uiPartIdx, UInt uiPartAddr, DisInfo* cDisp);
     521#else
    493522  Bool          getDispforDepth  ( UInt uiPartIdx, UInt uiPartAddr, DisInfo* cDisp);
     523#endif
    494524  Bool          getDispMvPredCan(UInt uiPartIdx, RefPicList eRefPicList, Int iRefIdx, Int* paiPdmRefIdx, TComMv* pacPdmMv, DisInfo* pDis, Int* iPdm );
    495525#endif
     526#if SEC_DEPTH_INTRA_SKIP_MODE_K0033
     527   Bool          getNeighDepth (UInt uiPartIdx, UInt uiPartAddr, Pel* pNeighDepth, Int index);
     528#else
    496529#if H_3D_SINGLE_DEPTH
    497530   Bool          getNeighDepth (UInt uiPartIdx, UInt uiPartAddr, Pel* pNeighDepth, Int index);
     531#endif
    498532#endif
    499533#if H_3D_NBDV_REF
     
    591625 
    592626  Void          clipMv                ( TComMv&     rcMv     );
     627#if SONY_MV_V_CONST_C0078
     628  Void          checkMV_V (TComMv&  rcMv,  RefPicList eRefPicList, int iRefIdx );
     629#endif
    593630  Void          getMvPredLeft         ( TComMv&     rcMvPred )   { rcMvPred = m_cMvFieldA.getMv(); }
    594631  Void          getMvPredAbove        ( TComMv&     rcMvPred )   { rcMvPred = m_cMvFieldB.getMv(); }
Note: See TracChangeset for help on using the changeset viewer.