Ignore:
Timestamp:
15 Apr 2015, 11:36:33 (10 years ago)
Author:
tech
Message:

Removed 3D-HEVC.

File:
1 edited

Legend:

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

    r1179 r1191  
    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 SEC_DEPTH_INTRA_SKIP_MODE_K0033
    54 #define NUM_DIS_FLAG_CTX              1
    55 #define NUM_DIS_TYPE_CTX              1       
    56 #else
    57 #if H_3D_SINGLE_DEPTH
    58 #define NUM_SINGLEDEPTH_FLAG_CTX                     1
    59 #define NUM_SINGLE_DEPTH_VALUE_DATA_CTX              1       
    60 #endif
    61 #endif
    6253#define NUM_MERGE_FLAG_EXT_CTX        1       ///< number of context models for merge flag of merge extended
    6354#define NUM_MERGE_IDX_EXT_CTX         1       ///< number of context models for merge index of merge extended
     
    10192#define NUM_CU_TRANSQUANT_BYPASS_FLAG_CTX  1
    10293
    103 #if H_3D_ARP
    104 #define NUM_ARPW_CTX                  3       ///< number of context models for weighting factor index used by advanced residual prediction
    105 #endif
    106 
    107 #if H_3D_IC
    108 #define NUM_IC_FLAG_CTX               1       ///< number of context models for illumination compensation flag
    109 #endif
     94
    11095
    11196#define CNU                          154      ///< dummy initialization value for unused context models 'Context model Not Used'
    11297
    113 #if H_3D_DIM
    114 #define NUM_DEPTH_INTRA_MODE_CTX      1       ///< number of context models for depth intra modes
    115 #define NUM_DDC_FLAG_CTX              2       ///< number of context models for deltaDC flag (DMM or RBC)
    116 #define NUM_DDC_DATA_CTX              1       ///< number of context models for deltaDC data (DMM or RBC)
    117 #if H_3D_DIM_DMM
    118 #define NUM_DMM1_DATA_CTX             1       ///< number of context models for DMM1 data
    119 #endif
    120 #define NUM_ANGLE_FLAG_CTX            1
    121 #endif
    122 
    123 #if H_3D_DIM_SDC
    124 #define SDC_NUM_RESIDUAL_FLAG_CTX     1
    125 #define SDC_NUM_RESIDUAL_CTX          1
    126 #define NUM_SDC_FLAG_CTX              1      ///< number of context
    127 #endif
    128 #if H_3D_DBBP
    129 #define DBBP_NUM_FLAG_CTX                 1
    130 #endif
     98
    13199// ====================================================================================================================
    132100// Tables
     
    158126  { CNU,  CNU,  CNU, },
    159127};
    160 #if SEC_DEPTH_INTRA_SKIP_MODE_K0033
    161 static const UChar
    162 INIT_DIS_FLAG[3][NUM_DIS_FLAG_CTX] = 
    163 {
    164     { 185 },
    165     { 185 },
    166     { 185 },
    167 };
    168 static const UChar
    169 INIT_DIS_TYPE[3][NUM_DIS_TYPE_CTX] =
    170 {
    171     { 137 },
    172     { 137 },
    173     { 137 },
    174 };
    175 #else
    176 #if H_3D_SINGLE_DEPTH
    177 static const UChar
    178 INIT_SINGLEDEPTH_FLAG[3][NUM_SINGLEDEPTH_FLAG_CTX] = 
    179 {
    180   { 185 },
    181   { 185 },
    182   { 185 },
    183 };
    184 static const UChar
    185 INIT_SINGLE_DEPTH_VALUE_DATA[3][NUM_SINGLE_DEPTH_VALUE_DATA_CTX] =
    186 {
    187   { 137 },
    188   { 137 },
    189   { 137 },
    190 };
    191 #endif
    192 #endif
    193128static const UChar
    194129INIT_MERGE_FLAG_EXT[3][NUM_MERGE_FLAG_EXT_CTX] =
     
    379314};
    380315
    381 #if H_3D_ARP
    382 static const UChar
    383 INIT_ARPW[3][NUM_ARPW_CTX] =
    384 {
    385     { 162, 153, 162 },
    386     { 162, 153, 162 },
    387     { 162, 153, 162 },
    388 };
     316
     317
     318//! \}
     319
    389320
    390321#endif
    391 #if H_3D_IC
    392 static const UChar
    393 INIT_IC_FLAG[3][NUM_IC_FLAG_CTX] = 
    394 {
    395     { 154 },
    396     { 154 },
    397     { 154 },
    398 };
    399 
    400 #endif
    401 #if H_3D_DIM
    402 static const UChar
    403 INIT_DEPTH_INTRA_MODE[3][NUM_DEPTH_INTRA_MODE_CTX] =
    404 {
    405   { 154, },
    406   { 154, },
    407   { 154, }
    408 };
    409 
    410 static const UChar
    411 INIT_ANGLE_FLAG[3][NUM_ANGLE_FLAG_CTX] =
    412 {
    413   { 154 },
    414   { 141 },
    415   { 155 },
    416 };
    417 
    418 static const UChar
    419 INIT_DDC_FLAG[3][NUM_DDC_FLAG_CTX] =
    420 {
    421   {0 , CNU},
    422   {0 , CNU},
    423   {64, CNU}
    424 };
    425 static const UChar
    426 INIT_DDC_DATA[3][NUM_DDC_DATA_CTX] =
    427 {
    428   { 154 },
    429   { 154 },
    430   { 154 },
    431 };
    432 #if H_3D_DIM_DMM
    433 static const UChar
    434 INIT_DMM1_DATA[3][NUM_DMM1_DATA_CTX] =
    435 {
    436   { CNU },
    437   { CNU },
    438   { CNU },
    439 };
    440 #endif
    441 #if H_3D_DIM_SDC
    442 static const UChar
    443 INIT_SDC_RESIDUAL_FLAG[3][SDC_NUM_RESIDUAL_FLAG_CTX] =
    444 {
    445   { CNU },
    446   { CNU },
    447   { CNU },
    448 };
    449 static const UChar
    450 INIT_SDC_RESIDUAL[3][SDC_NUM_RESIDUAL_CTX] =
    451 {
    452   { 155 },
    453   { 155 },
    454   { 155 },
    455 };
    456 #endif
    457 #endif
    458 
    459 
    460 //! \}
    461 #if H_3D_DIM_SDC
    462 static const UChar
    463 INIT_SDC_FLAG[3][NUM_SDC_FLAG_CTX] =
    464 {
    465   { 154 }, 
    466   { 154 },
    467   { 154 },
    468 };
    469 #endif
    470 
    471 #if H_3D_DBBP
    472 static const UChar INIT_DBBP_FLAG[3][DBBP_NUM_FLAG_CTX] =
    473 {
    474   { CNU },
    475   { CNU },
    476   { CNU },
    477 };
    478 #endif
    479 
    480 #endif
Note: See TracChangeset for help on using the changeset viewer.