Ignore:
Timestamp:
16 May 2013, 16:05:31 (11 years ago)
Author:
mitsubishi-htm
Message:

-D0166 part 1, set refView selection for NBDV.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-6.2-dev2-MERL/source/Lib/TLibCommon/TypeDef.h

    r402 r412  
    182182
    183183///// ***** VSP *********
    184 #define MERL_VSP_C0152                    1 // JCT3V-C0152: 1: enable VSP-related tools; 0: disable VSP-related tools
    185                                             // LGE_SIMP_DVP_REFINE_C0112           
    186                                             // MERL_MTK_VSP_DVP_REFINE_C0152_C0131
     184#define MERL_VSP_C0152                       1 // JCT3V-C0152: 1: enable VSP-related tools; 0: disable VSP-related tools
     185                                               // LGE_SIMP_DVP_REFINE_C0112
     186                                               // MERL_MTK_VSP_DVP_REFINE_C0152_C0131
    187187#if MERL_VSP_C0152
    188 #define MERL_VSP_C0152_BugFix_ForNoDepthCase     1// MERL bugfix for test condition of no depth
    189 /*
    190  * Two macros are used to configure combinations of JCT3V-C0152 and JCT3V-C0131
    191  *
    192  *   a) (full) A full JCT3V-C0152 implementation, including JCT3V-C0131
    193  *      #define MERL_VSP_COMPENSATION_C0152          1
    194  *      #define MERL_MTK_VSP_DVP_REFINE_C0152_C0131  1
    195  *
    196  *   b) (mvp2off) For partial JCT3V-C0152 excluding overlaps from JCT3V-C0131
    197  *      #define MERL_VSP_COMPENSATION_C0152          1
    198  *      #define MERL_MTK_VSP_DVP_REFINE_C0152_C0131  0
    199  *
    200  *   c) (nocand) For JCT3V-C0131 only
    201  *      #define MERL_VSP_COMPENSATION_C0152          0
    202  *      #define MERL_MTK_VSP_DVP_REFINE_C0152_C0131  1
    203  */
    204 
    205 #define MERL_VSP_COMPENSATION_C0152          1 // JCT3V-C0152: 1: add VSP merge candidate to merging candidate list; 0: not to add   (nocand).
    206 
    207 
    208 #define MERL_VSP_BLOCKSIZE_C0152             1 // JCT3V-C0152: VSP block size, supported values: 1, 2 and 4.
     188
     189#define MERL_VSP_C0152_BugFix_ForNoDepthCase 1 // MERL bugfix for test condition of no depth
     190#define MERL_VSP_COMPENSATION_C0152          1 // JCT3V-C0152: 1: add VSP merge candidate to merging candidate list; 0: not to add (nocand).
     191
     192#define MERL_VSP_BLOCKSIZE_C0152             4 // JCT3V-C0152: VSP block size, supported values: 1, 2 and 4.
    209193#if MERL_VSP_BLOCKSIZE_C0152 == 1
    210 #define MERL_CVSP_D0165                      1 // JCT3V-D0165: 1:enable CVSP; 0: disable CVSP.
     194#define MERL_CVSP_D0165                      1 // JCT3V-D0165: 1: enable CVSP; 0: disable CVSP.
     195#else
     196#define MERL_CVSP_D0165                      0 // JCT3V-D0165: 1: enable CVSP; 0: disable CVSP.
    211197#endif
    212198
    213199#define VSP_MERGE_POS                        5 // JCT3V-C0152: fixed position of VSP candidate in merge list, supported values: 5.
    214                                                //MTK_DVPREFINE_BVSP_BUG_FIX               1
     200                                               // MTK_DVPREFINE_BVSP_BUG_FIX               1
    215201#define MTK_DEPTH_TO_DISP_D0138              1 // JCT3V-D0138: Use max among four corners for DoNBDV and BVSP
     202
     203#define MTK_LGE_VSP_DEPTH_OFF_D0105_D0139    1 // JCT3V-D0105/JCT3V-D0139: disable VSP for depth map
     204#define MTK_VSP_USING_NBDV_D0105             1 // JCT3V-D0105: use NBDV instead of DoNBDV for BVSP
     205
     206#define MERL_VSP_NBDV_RefVId_Fix_D0166       1 // JCT3V-D0166: 1: fix the NBDV with ref view selectioin; 0: always use base view with refViewIdx=0
     207#if MERL_VSP_NBDV_RefVId_Fix_D0166
     208#define MERL_Bi_VSP_D0166                    0 // JCT3V-D0166: 1: add supporting for Bi-VSP, the code under the macro can also handle uni-direction VSP
     209#endif
    216210
    217211#else // !MERL_VSP_C0152
    218212#define MERL_VSP_COMPENSATION_C0152          0 // JCT3V-C0152: 1: add VSP merge candidate to merging candidate list; 0: not to add
    219213#define MERL_VSP_BLOCKSIZE_C0152             4 // JCT3V-C0152: VSP block size, supported values: 1, 2 and 4.
    220 #endif
    221 
    222 #define MTK_LGE_VSP_DEPTH_OFF_D0105_D0139             1  // JCT3V-D0105/JCT3V-D0139: disable VSP for depth map
    223 #define MTK_VSP_USING_NBDV_D0105                      1  // JCT3V-D0105: use NBDV instead of DoNBDV for BVSP
     214#define MERL_VSP_C0152_BugFix_ForNoDepthCase 0 // MERL bugfix for test condition of no depth
     215define MERL_CVSP_D0165                       0 // JCT3V-D0165: 1: enable CVSP; 0: disable CVSP.
     216#define MERL_VSP_NBDV_RefVId_Fix_D0166       0 // JCT3V-D0166: 1: fix the NBDV with ref view selectioin; 0: always use base view with refViewIdx=0
     217#define MERL_Bi_VSP_D0166                    0 // JCT3V-D0166: 1: add supporting for Bi-VSP, the code under the macro can also handle uni-direction VSP
     218#define MTK_VSP_USING_NBDV_D0105             0
     219#endif
    224220
    225221///// ***** DERIVED PARAMETERS *********
Note: See TracChangeset for help on using the changeset viewer.