Ignore:
Timestamp:
6 Aug 2012, 05:35:11 (12 years ago)
Author:
lg
Message:

Implemented the Region boundary chain coding (A0070) and R/D selection between Non-Zero Residual and All-Zero Residual Intra Coding (A0087) with macro: "LGE_EDGE_INTRA" and "LG_ZEROINTRADEPTHRESI_M26039"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-3.1-LG/source/Lib/TLibCommon/TypeDef.h

    r95 r97  
    4242//! \{
    4343
     44#define LGE_EDGE_INTRA                  1       //JCT2-A0070
     45#if LGE_EDGE_INTRA
     46#define LGE_EDGE_INTRA_MIN_SIZE         4
     47#define LGE_EDGE_INTRA_MAX_SIZE        32
     48#define LGE_EDGE_INTRA_THRESHOLD       20
     49#define LGE_EDGE_INTRA_MAX_EDGE_NUM_PER_4x4 8
     50#define LGE_EDGE_INTRA_DELTA_DC         1
     51#define LGE_EDGE_INTRA_PIXEL_DIFFERENCE 1
     52#endif
     53
     54#define LG_ZEROINTRADEPTHRESI_M26039      1  //JCT2-A0087
     55
    4456#define SONY_COLPIC_AVAILABILITY          1
    4557
     
    5466#define MTK_INTERVIEW_MERGE_A0049         1 //  JCT2-A0049 second part
    5567
     68#if QC_MULTI_DIS_CAN                    // JCT2-A0126
     69#define USE_DVMCP         0
     70
     71#define DVFROM_LEFTBELOW  1
     72#define DVFROM_LEFT       2
     73#define DVFROM_ABOVERIGHT 3
     74#define DVFROM_ABOVE      4
     75#define DVFROM_ABOVELEFT  5
     76#define DVFROM_COL        6
     77#endif
     78
    5679
    5780#define HHI_VSO                           1
     
    231254#define LOG2_SCAN_SET_SIZE                4
    232255
     256#if LGE_EDGE_INTRA
     257#if LGE_EDGE_INTRA_DELTA_DC
     258#define FAST_UDI_MAX_RDMODE_NUM               37          ///< maximum number of RD comparison in fast-UDI estimation loop
     259#else
     260#define FAST_UDI_MAX_RDMODE_NUM               36          ///< maximum number of RD comparison in fast-UDI estimation loop
     261#endif
     262#else
    233263#define FAST_UDI_MAX_RDMODE_NUM               35          ///< maximum number of RD comparison in fast-UDI estimation loop
     264#endif
    234265
    235266#define ZERO_MVD_EST                          0           ///< Zero Mvd Estimation in normal mode
     
    270301#define NUM_DMM_MODE 4
    271302#endif
     303
     304#if LGE_EDGE_INTRA
     305#if HHI_DMM_WEDGE_INTRA && HHI_DMM_PRED_TEX
     306#define EDGE_INTRA_IDX  (NUM_INTRA_MODE+NUM_DMM_MODE)
     307#endif // HHI_DMM_WEDGE_INTRA && HHI_DMM_PRED_TEX
     308#if LGE_EDGE_INTRA_DELTA_DC
     309#define EDGE_INTRA_DELTA_IDX          (EDGE_INTRA_IDX+1)
     310#endif
     311#endif // LGE_EDGE_INTRA
    272312
    273313#define IBDI_DISTORTION                0           ///< enable/disable SSE modification when IBDI is used (JCTVC-D152)
Note: See TracChangeset for help on using the changeset viewer.