Ignore:
Timestamp:
13 Nov 2015, 17:00:20 (9 years ago)
Author:
tech
Message:

Removed 3D.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-16.0-MV-draft-5/source/Lib/TLibCommon/ContextTables.h

    r1313 r1390  
    5151#define NUM_SPLIT_FLAG_CTX            3       ///< number of context models for split flag
    5252#define NUM_SKIP_FLAG_CTX             3       ///< number of context models for skip flag
    53 #if NH_3D_DIS
    54 #define NUM_DIS_FLAG_CTX              1
    55 #define NUM_DIS_TYPE_CTX              1       
    56 #endif
    5753#define NUM_MERGE_FLAG_EXT_CTX        1       ///< number of context models for merge flag of merge extended
    5854#define NUM_MERGE_IDX_EXT_CTX         1       ///< number of context models for merge index of merge extended
     
    162158#define NUM_CU_TRANSQUANT_BYPASS_FLAG_CTX  1
    163159
    164 #if NH_3D_ARP
    165 #define NUM_ARPW_CTX                  3       ///< number of context models for weighting factor index used by advanced residual prediction
    166 #endif
    167 
    168 #if NH_3D_IC
    169 #define NUM_IC_FLAG_CTX               1       ///< number of context models for illumination compensation flag
    170 #endif
     160
    171161#define NUM_CROSS_COMPONENT_PREDICTION_CTX 10
    172162
    173163#define CNU                          154      ///< dummy initialization value for unused context models 'Context model Not Used'
    174164
    175 #if NH_3D_DMM
    176 #define NUM_NOTDMM_FLAG_CTX           1       ///< number of context models for not-DMM flag
    177 #define NUM_DMM_MODE_CTX              1       ///< number of context models for DMM modes
    178 #endif
    179 #if NH_3D_DMM || NH_3D_SDC_INTRA
    180 #define NUM_DDC_DATA_CTX              1       ///< number of context models for deltaDC data (DMM or SDC)
    181 #endif
    182 #if NH_3D_SDC_INTRA
    183 #define SDC_NUM_RESIDUAL_FLAG_CTX     1
    184 #define SDC_NUM_RESIDUAL_CTX          1
    185 #define NUM_SDC_FLAG_CTX              1      ///< number of context
    186 #define NUM_DDC_FLAG_CTX              2       ///< number of context models for deltaDC flag (SDC only)
    187 #endif
    188 #if NH_3D_DBBP
    189 #define DBBP_NUM_FLAG_CTX                 1
    190 #endif
    191165// ====================================================================================================================
    192166// Tables
     
    218192  { CNU,  CNU,  CNU, },
    219193};
    220 #if NH_3D_DIS
    221 static const UChar
    222 INIT_DIS_FLAG[3][NUM_DIS_FLAG_CTX] = 
    223 {
    224     { 185 },
    225     { 185 },
    226     { 185 },
    227 };
    228 static const UChar
    229 INIT_DIS_TYPE[3][NUM_DIS_TYPE_CTX] =
    230 {
    231     { 137 },
    232     { 137 },
    233     { 137 },
    234 };
    235 #endif
    236194static const UChar
    237195INIT_MERGE_FLAG_EXT[NUMBER_OF_SLICE_TYPES][NUM_MERGE_FLAG_EXT_CTX] =
     
    540498//! \}
    541499
    542 #if NH_3D_ARP
    543 static const UChar
    544 INIT_ARPW[3][NUM_ARPW_CTX] =
    545 {
    546     { 162, 153, 162 },
    547     { 162, 153, 162 },
    548     { 162, 153, 162 },
    549 };
     500
    550501
    551502#endif
    552 #if NH_3D_IC
    553 static const UChar
    554 INIT_IC_FLAG[3][NUM_IC_FLAG_CTX] = 
    555 {
    556     { 154 },
    557     { 154 },
    558     { 154 },
    559 };
    560 
    561 #endif
    562 
    563 #if NH_3D_DMM
    564 static const UChar
    565 INIT_NOTDMM_FLAG[3][NUM_NOTDMM_FLAG_CTX] =
    566 {
    567   { 154 },
    568   { 141 },
    569   { 155 },
    570 };
    571 static const UChar
    572 INIT_DMM_MODE[3][NUM_DMM_MODE_CTX] =
    573 {
    574   { CNU },
    575   { CNU },
    576   { CNU }
    577 };
    578 #endif
    579 #if NH_3D_DMM || NH_3D_SDC_INTRA
    580 static const UChar
    581 INIT_DDC_DATA[3][NUM_DDC_DATA_CTX] =
    582 {
    583   { CNU },
    584   { CNU },
    585   { CNU },
    586 };
    587 #endif
    588 #if NH_3D_SDC_INTRA
    589 static const UChar
    590 INIT_SDC_RESIDUAL_FLAG[3][SDC_NUM_RESIDUAL_FLAG_CTX] =
    591 {
    592   { CNU },
    593   { CNU },
    594   { CNU },
    595 };
    596 static const UChar
    597 INIT_SDC_RESIDUAL[3][SDC_NUM_RESIDUAL_CTX] =
    598 {
    599   { 155 },
    600   { 155 },
    601   { 155 },
    602 };
    603 static const UChar
    604 INIT_SDC_FLAG[3][NUM_SDC_FLAG_CTX] =
    605 {
    606   { 154 }, 
    607   { 154 },
    608   { 154 },
    609 };
    610 static const UChar
    611 INIT_DDC_FLAG[3][NUM_DDC_FLAG_CTX] =
    612 {
    613   {0 , CNU},
    614   {0 , CNU},
    615   {64, CNU}
    616 };
    617 #endif
    618 #if NH_3D_DBBP
    619 static const UChar INIT_DBBP_FLAG[3][DBBP_NUM_FLAG_CTX] =
    620 {
    621   { CNU },
    622   { CNU },
    623   { CNU },
    624 };
    625 #endif
    626 
    627 #endif
Note: See TracChangeset for help on using the changeset viewer.