Changeset 1396 in 3DVCSoftware for trunk/source/Lib/TLibCommon


Ignore:
Timestamp:
11 Mar 2016, 16:54:51 (9 years ago)
Author:
tech
Message:

Merged HTM-16.0-dev1@1395.

Location:
trunk/source/Lib/TLibCommon
Files:
11 edited

Legend:

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

    r1387 r1396  
    442442#endif
    443443
    444 #if NH_3D_VSO
     444#if NH_3D_VSO || NH_3D
    445445//PICYUV
    446446#define PICYUV_PAD         16
     
    456456#define REN_UNUSED_PEL     0
    457457#define REN_IS_HOLE        0
    458 #if NH_3D_VSO
    459458#define ENC_INTERNAL_BIT_DEPTH  REN_BIT_DEPTH // consider making this a variable
    460 #endif
    461 
    462 
     459#endif // end of NH_3D_VSO
     460#if NH_3D
    463461// CAMERA PARAMETERS
    464462#define LOG2_DISP_PREC_LUT           2           ///< log2 of disparity precision used in integer disparity LUTs
    465463#define STD_CAM_PARAMETERS_PRECISION 5        ///< quarter luma sample accuarcy for derived disparities (as default)
    466 
    467 #endif // end of NH_3D
     464#endif
    468465//! \}
    469466
  • trunk/source/Lib/TLibCommon/TComDataCU.cpp

    r1386 r1396  
    51015101
    51025102  //// ******* Get disparity from left block ******* /////
    5103 #if NH_3D_FIX_TICKET_91
    51045103    pcTmpCU = getPULeft(uiIdx, uiPartIdxLB);
    5105 #else
    5106   pcTmpCU = getPULeft(uiIdx, uiPartIdxLB, true, false);
    5107 #endif
    51085104  bCheckMcpDv = true;
    51095105  if ( xCheckSpatialNBDV( pcTmpCU, uiIdx, pDInfo, bCheckMcpDv, &cIDVInfo, DVFROM_LEFT
  • trunk/source/Lib/TLibCommon/TComDataCU.h

    r1386 r1396  
    4949#include "TComRdCost.h"
    5050#include "TComPattern.h"
     51#if NH_3D
     52#include "TComYuv.h"
     53#endif
    5154
    5255//! \ingroup TLibCommon
  • trunk/source/Lib/TLibCommon/TComPic.cpp

    r1386 r1396  
    6060, m_viewId                                (0)
    6161, m_bPicOutputFlag                        (false)
    62 #if NH_3D_VSO
     62#if NH_3D_VSO || NH_3D
    6363, m_viewIndex                             (0)
    6464, m_isDepth                               (false)
     
    989989}
    990990
    991 #if NH_3D_VSO
     991#if NH_3D_VSO || NH_3D
    992992TComPicYuv* TComPicLists::getPicYuv( Int viewIndex, Bool depthFlag, Int auxId, Int poc, Bool recon )
    993993
  • trunk/source/Lib/TLibCommon/TComPic.h

    r1386 r1396  
    154154  TComDecodedRps        m_decodedRps;
    155155#endif
    156 #if NH_3D_VSO
     156#if NH_3D_VSO || NH_3D
    157157  Int                   m_viewIndex;
    158158  Bool                  m_isDepth;
     
    311311   Void          print( Int outputLevel );
    312312
    313 #if NH_3D_VSO
     313#if NH_3D_VSO ||  NH_3D
    314314   Void          setViewIndex          ( Int viewIndex )  { m_viewIndex = viewIndex;   }
    315315   Int           getViewIndex          () const           { return m_viewIndex;     }
     
    404404  TComList<TComSubDpb*>       m_subDpbs;
    405405  Bool                        m_printPicOutput;
    406 #if NH_3D_VSO
     406#if NH_3D_VSO || NH_3D
    407407  const TComVPS*              m_vps;
    408408#endif
     
    448448  Void                   print();
    449449
    450 #if NH_3D_VSO
     450#if NH_3D_VSO || NH_3D
    451451  Void                   setVPS                        ( const TComVPS* vps ) { m_vps = vps;  };
     452#endif
     453
     454#if NH_3D || NH_3D_VSO
    452455  TComPic*               getPic                        ( Int viewIndex, Bool depthFlag, Int auxId, Int poc );
    453456  TComPicYuv*            getPicYuv                     ( Int viewIndex, Bool depthFlag, Int auxId, Int poc, Bool recon );
  • trunk/source/Lib/TLibCommon/TComRdCost.cpp

    r1386 r1396  
    252252      rcDistParam.DistFunc = TComRdCost::xGetMaskedSAD;
    253253    }
     254#if NH_3D_VSO
    254255    else if( eDFunc >= DF_VSD && eDFunc <= DF_VSD16N )
    255256    {
    256257      rcDistParam.DistFunc = TComRdCost::xGetMaskedVSD;
    257258    }
     259#endif
    258260    else if( eDFunc >= DF_SAD12 && eDFunc <= DF_SADS48 )
    259261    {
     
    626628}
    627629
    628 
     630#if NH_3D_VSO
    629631UInt TComRdCost::xGetMaskedVSD( DistParam* pcDtParam )
    630632{
     
    660662  return ( uiSum );
    661663}
     664#endif
    662665#endif
    663666// --------------------------------------------------------------------------------------------------------------------
  • trunk/source/Lib/TLibCommon/TComRom.h

    r1386 r1396  
    150150// ====================================================================================================================
    151151extern       SChar   g_aucConvertToBit  [ MAX_CU_SIZE+1 ];   // from width to log2(width)-2
    152 #if NH_MV
    153 // Change later
    154 #ifndef ENC_DEC_TRACE
    155 #define ENC_DEC_TRACE 0
    156 #endif
    157 #endif
    158152#if ENC_DEC_TRACE
    159153extern FILE*  g_hTrace;
  • trunk/source/Lib/TLibCommon/TComSlice.cpp

    r1386 r1396  
    118118, m_viewId                        (0)
    119119, m_viewIndex                     (0)
    120 #if NH_3D_VSO
     120#if NH_3D_VSO || NH_3D
    121121, m_isDepth                       (false)
    122122#endif
     
    19231923  for ( Int i = 0; i < MAX_VPS_OUTPUTLAYER_SETS; i++)
    19241924  {
    1925 #if !NH_3D_FIX_TICKET_107
    1926     m_layerSetIdxForOlsMinus1[i]  = -1;
    1927 #endif
    19281925    for ( Int j = 0; j < MAX_VPS_NUH_LAYER_ID_PLUS1; j++)
    19291926    {
     
    21842181}
    21852182
    2186 #if NH_3D_VSO
     2183#if NH_3D_VSO || NH_3D
    21872184Int TComVPS::getLayerIdInNuh( Int viewIndex, Bool depthFlag, Int auxId ) const
    21882185{
  • trunk/source/Lib/TLibCommon/TComSlice.h

    r1386 r1396  
    13841384  /// VPS EXTENSION 2 SYNTAX ELEMENTS
    13851385  Int     getDepthId                   ( Int layerIdInNuh)             const    { return getScalabilityId( getLayerIdInVps(layerIdInNuh), DEPTH_ID ); }
    1386 #if NH_3D_VSO                                                            
     1386#if NH_3D_VSO || NH_3D
    13871387  Bool    getVpsDepthFlag              ( Int layerIdInNuh)             const    { return (getDepthId( layerIdInNuh ) > 0);  }
    13881388  Int     getLayerIdInNuh              ( Int viewIndex, Bool depthFlag, Int auxId ) const;   
     
    27012701  Int        m_viewId;
    27022702  Int        m_viewIndex;
    2703 #if NH_3D_VSO
     2703#if NH_3D_VSO || NH_3D
    27042704  Bool       m_isDepth;
    27052705#endif
     
    31683168#endif                       
    31693169#endif
    3170 #if NH_3D_VSO
     3170#if NH_3D_VSO || NH_3D
    31713171  Void                        setIsDepth            ( Bool isDepth )                 { m_isDepth = isDepth;                                          }
    31723172  Bool                        getIsDepth            () const                         { return m_isDepth;                                             }
  • trunk/source/Lib/TLibCommon/TComYuv.cpp

    r1386 r1396  
    487487  }
    488488}
     489#endif
    489490
    490491#if NH_3D_ARP
     
    676677}
    677678#endif
    678 #endif
    679679
    680680//! \}
  • trunk/source/Lib/TLibCommon/TypeDef.h

    r1386 r1396  
    6565#if NH_MV
    6666// Recent bug fixes
    67 #define NH_3D_FIX_TICKET_107                     1 // Clean up.
    68 #define NH_3D_FIX_TICKET_91                      1 // NBDV availability in case of tiles.
     67#define RM_INIT_FIX                      1
     68#define RM_FIX_SETUP                     1
     69#define NH_MV_FIX_VERT_MV_REST                         1
     70
     71#define NH_3D_FIX_INTRA_SDC_VSO_OFF              1
     72#define NH_3D_FIX_TICKET_114                     1  //Mismatch between text and software on DPB size syntax
     73#define NH_3D_FIX_LEAK                           1
    6974// Things that needs to be fixed also in the Specification ...
    7075#define NH_MV_FIX_NO_REF_PICS_CHECK               1 // !!SPEC!!
     
    349354#endif
    350355// This can be enabled by the makefile
    351 #if !NH_MV
    352356#ifndef ENC_DEC_TRACE
    353357#define ENC_DEC_TRACE                                     0
     358#endif
     359
     360#if NH_MV
     361#if ENC_DEC_TRACE
     362#define GT_DEBUG   1
     363#else
     364#define GT_DEBUG   0
    354365#endif
    355366#endif
     
    510521#define       RDO_DIST_MAX     MAX_UINT
    511522#endif
     523#else
     524#define       RDO_DIST_MAX     MAX_UINT
    512525#endif
    513526// ====================================================================================================================
     
    10001013  BLEND_GEN   =  3
    10011014};
     1015
     1016  enum SetMod
     1017  {
     1018    GET_FULL   = 0,
     1019    SET_FULL   = 1,
     1020    GET_SIMP   = 2,
     1021    SET_SIMP   = 3   
     1022  };
     1023
     1024 
    10021025enum
    10031026{
Note: See TracChangeset for help on using the changeset viewer.