Changeset 108 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/Lib/TLibCommon
- Timestamp:
- 2 Apr 2013, 22:50:17 (12 years ago)
- Location:
- branches/HM-10.0-dev-SHM/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TComSlice.cpp
r102 r108 1464 1464 , m_bTemporalIdNestingFlag (false) 1465 1465 , m_numHrdParameters ( 0) 1466 #if !VPS_RENAME 1466 1467 , m_maxNuhReservedZeroLayerId ( 0) 1468 #endif 1467 1469 , m_hrdParameters (NULL) 1468 1470 , m_hrdOpSetIdx (NULL) 1469 1471 , m_cprmsPresentFlag (NULL) 1472 #if VPS_RENAME 1473 , m_maxLayerId (0) 1474 , m_numLayerSets (0) 1475 #endif 1470 1476 { 1471 1477 -
branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TComSlice.h
r103 r108 484 484 485 485 UInt m_numHrdParameters; 486 #if !VPS_RENAME 486 487 UInt m_maxNuhReservedZeroLayerId; 488 #endif 487 489 TComHRD* m_hrdParameters; 488 490 UInt* m_hrdOpSetIdx; 489 491 Bool* m_cprmsPresentFlag; 492 #if VPS_RENAME 493 UInt m_maxLayerId; 494 UInt m_numLayerSets; 495 Bool m_layerIdIncludedFlag[MAX_VPS_LAYER_SETS_PLUS1][MAX_VPS_LAYER_ID_PLUS1]; 496 #else 490 497 UInt m_numOpSets; 491 498 Bool m_layerIdIncludedFlag[MAX_VPS_OP_SETS_PLUS1][MAX_VPS_NUH_RESERVED_ZERO_LAYER_ID_PLUS1]; 499 #endif 492 500 493 501 TComPTL m_pcPTL; … … 540 548 Void setNumHrdParameters(UInt v) { m_numHrdParameters = v; } 541 549 550 #if VPS_RENAME 551 UInt getMaxLayerId() { return m_maxLayerId; } 552 Void setMaxLayerId(UInt v) { m_maxLayerId = v; } 553 554 UInt getNumLayerSets() { return m_numLayerSets; } 555 Void setNumLayerSets(UInt v) { m_numLayerSets = v; } 556 #else 542 557 UInt getMaxNuhReservedZeroLayerId() { return m_maxNuhReservedZeroLayerId; } 543 558 Void setMaxNuhReservedZeroLayerId(UInt v) { m_maxNuhReservedZeroLayerId = v; } … … 545 560 UInt getMaxOpSets() { return m_numOpSets; } 546 561 Void setMaxOpSets(UInt v) { m_numOpSets = v; } 562 #endif 547 563 Bool getLayerIdIncludedFlag(UInt opsIdx, UInt id) { return m_layerIdIncludedFlag[opsIdx][id]; } 548 564 Void setLayerIdIncludedFlag(Bool v, UInt opsIdx, UInt id) { m_layerIdIncludedFlag[opsIdx][id] = v; } -
branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TypeDef.h
r103 r108 44 44 45 45 #if SVC_EXTENSION 46 #define VPS_RENAME 1 ///< Rename variables max_layer_id and num_layer_sets_minus1 in VPS 46 47 #define MAX_LAYERS 2 ///< max number of layers the codec is supposed to handle 47 48 … … 131 132 #define L0232_RD_PENALTY 1 ///< L0232: RD-penalty for 32x32 TU for intra in non-intra slices 132 133 134 #if VPS_RENAME 135 #define MAX_VPS_LAYER_SETS_PLUS1 1024 136 #define MAX_VPS_LAYER_ID_PLUS1 1 137 #else 133 138 #define MAX_VPS_NUM_HRD_PARAMETERS 1 134 139 #define MAX_VPS_OP_SETS_PLUS1 1024 135 140 #define MAX_VPS_NUH_RESERVED_ZERO_LAYER_ID_PLUS1 1 136 141 #endif 137 142 #define RATE_CONTROL_LAMBDA_DOMAIN 1 ///< JCTVC-K0103, rate control by R-lambda model 138 143 #define L0033_RC_BUGFIX 1 ///< JCTVC-L0033, bug fix for R-lambda model based rate control
Note: See TracChangeset for help on using the changeset viewer.