Changeset 459 in 3DVCSoftware for branches/HTM-DEV-0.3-dev1/source/Lib/TLibCommon/ContextTables.h
- Timestamp:
- 6 Jun 2013, 11:46:05 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev1/source/Lib/TLibCommon/ContextTables.h
r324 r459 97 97 #define CNU 154 ///< dummy initialization value for unused context models 'Context model Not Used' 98 98 99 #if H_3D_DIM 100 #define NUM_DEPTH_INTRA_MODE_CTX 8 ///< number of context models for depth intra modes 101 #define NUM_DDC_FLAG_CTX 2 ///< number of context models for deltaDC flag (DMM or RBC) 102 #define NUM_DDC_DATA_CTX 2 ///< number of context models for deltaDC data (DMM or RBC) 103 #if H_3D_DIM_DMM 104 #define NUM_DMM1_DATA_CTX 1 ///< number of context models for DMM1 data 105 #define NUM_DMM2_DATA_CTX 1 ///< number of context models for DMM2 data 106 #define NUM_DMM3_DATA_CTX 1 ///< number of context models for DMM3 data 107 #endif 108 #if H_3D_DIM_RBC 109 #define NUM_RBC_DATA_CTX 1 ///< number of context models for RBC data 110 #endif 111 #endif 112 99 113 // ==================================================================================================================== 100 114 // Tables … … 334 348 { 139, 139}, 335 349 }; 350 351 #if H_3D_DIM 352 static const UChar 353 INIT_DEPTH_INTRA_MODE[3][NUM_DEPTH_INTRA_MODE_CTX] = 354 { 355 {0, 0, 64, 0, CNU, 0, CNU, 0}, 356 {0, 64, 0, CNU, 0, CNU, 0, 0}, 357 {64, 0, CNU, 0, CNU, 0, 0, 0} 358 }; 359 static const UChar 360 INIT_DDC_FLAG[3][NUM_DDC_FLAG_CTX] = 361 { 362 {0 , CNU}, 363 {0 , CNU}, 364 {64, CNU} 365 }; 366 static const UChar 367 INIT_DDC_DATA[3][NUM_DDC_DATA_CTX] = 368 { 369 { CNU, CNU }, 370 { CNU, CNU }, 371 { CNU, CNU }, 372 }; 373 #if H_3D_DIM_DMM 374 static const UChar 375 INIT_DMM1_DATA[3][NUM_DMM1_DATA_CTX] = 376 { 377 { CNU }, 378 { CNU }, 379 { CNU }, 380 }; 381 static const UChar 382 INIT_DMM2_DATA[3][NUM_DMM2_DATA_CTX] = 383 { 384 { CNU }, 385 { CNU }, 386 { CNU }, 387 }; 388 static const UChar 389 INIT_DMM3_DATA[3][NUM_DMM3_DATA_CTX] = 390 { 391 { CNU }, 392 { CNU }, 393 { CNU }, 394 }; 395 #endif 396 #if H_3D_DIM_RBC 397 static const UChar 398 INIT_RBC_DATA[3][NUM_RBC_DATA_CTX] = 399 { 400 { CNU }, 401 { CNU }, 402 { CNU }, 403 }; 404 #endif 405 #endif 336 406 //! \} 337 407
Note: See TracChangeset for help on using the changeset viewer.