Ignore:
Timestamp:
18 Jun 2013, 23:24:53 (11 years ago)
Author:
tech
Message:
  • changed IV-MERGE HLS to match Test Model 4 spec
  • incorporated iv-refpic list to TComSlice
  • removed TComDepthMapGenerator
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/CommonDef.h

    r478 r479  
    178178}
    179179
    180 #if H_3D_IV_MERGE
    181 #define ROFVS( exp )          \
    182 {                             \
    183   if( !( exp ) )              \
    184 {                           \
    185   return;                   \
    186 }                           \
    187 }
    188 
    189 #define ROTVS( exp )          \
    190 {                             \
    191   if( ( exp ) )               \
    192 {                           \
    193   return;                   \
    194 }                           \
    195 }
    196 
    197 #define ROTRS( exp, retVal )  \
    198 {                             \
    199   if( ( exp ) )               \
    200 {                           \
    201   return retVal;            \
    202 }                           \
    203 }
    204 
    205 #define ROFRS( exp, retVal )  \
    206 {                             \
    207   if( !( exp ) )              \
    208 {                           \
    209   return retVal;            \
    210 }                           \
    211 }
    212 #endif
    213180template <typename T>
    214181__inline T gSign(const T& t)
     
    360327#define STD_CAM_PARAMETERS_PRECISION 5        ///< quarter luma sample accuarcy for derived disparities (as default)
    361328
    362 #if H_3D_IV_MERGE
    363  // GT: To be checked if all of this is still necessary.
    364 #define PDM_USE_FOR_IVIEW                 1
    365 #define PDM_USE_FOR_INTER                 2
    366 #define PDM_USE_FOR_MERGE                 4
    367 
    368 #define MAX_VIEW_NUM                      10
    369 #define PDM_SUBSAMPLING_EXP               2         // subsampling factor is 2^PDM_SUBSAMPLING_EXP
    370 #define PDM_SUB_SAMP_EXP_X(Pdm)           ((Pdm)==1?PDM_SUBSAMPLING_EXP:0)
    371 #define PDM_SUB_SAMP_EXP_Y(Pdm)           ((Pdm)==1?PDM_SUBSAMPLING_EXP:0)
    372 
    373 #define PDM_INTERNAL_CALC_BIT_DEPTH       31        // bit depth for internal calculations (32 - 1 for signed values)
    374 #define PDM_BITDEPTH_VIRT_DEPTH           15        // bit depth for virtual depth storage (16 - 1 for signed values)
    375 #define PDM_LOG2_MAX_ABS_NORMAL_DISPARITY 8         // maximum absolute normal disparity = 256 (for setting accuracy)
    376 #define PDM_VIRT_DEPTH_PRECISION          4         // must be greater than or equal to 2 (since MVs are given in quarter-pel units)
    377 
    378 #define PDM_INTER_CALC_SHIFT              ( PDM_INTERNAL_CALC_BIT_DEPTH - PDM_BITDEPTH_VIRT_DEPTH )         // avoids overflow
    379 #define PDM_LOG4_SCALE_DENOMINATOR        ( PDM_LOG2_MAX_ABS_NORMAL_DISPARITY + PDM_VIRT_DEPTH_PRECISION )  // accuracy of scaling factor
    380 #define PDM_OFFSET_SHIFT                  ( PDM_LOG2_MAX_ABS_NORMAL_DISPARITY )                             // accuracy of offset
    381 
    382 #endif
    383329#endif // end of H_3D
    384330//! \}
Note: See TracChangeset for help on using the changeset viewer.