Changeset 492 in 3DVCSoftware for branches/HTM-DEV-0.3-dev0/source/Lib/TLibCommon
- Timestamp:
- 24 Jun 2013, 16:01:58 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev0/source/Lib/TLibCommon/TComSlice.h
r491 r492 494 494 UInt* m_hrdOpSetIdx; 495 495 Bool* m_cprmsPresentFlag; 496 UInt m_numOpSets; 497 #if H_MV 496 497 #if H_MV 498 UInt m_vpsNumLayerSetsMinus1; 498 499 Bool m_layerIdIncludedFlag[MAX_VPS_OP_SETS_PLUS1][MAX_VPS_NUH_LAYER_ID_PLUS1]; 499 500 #else 501 UInt m_numOpSets; 500 502 Bool m_layerIdIncludedFlag[MAX_VPS_OP_SETS_PLUS1][MAX_VPS_NUH_RESERVED_ZERO_LAYER_ID_PLUS1]; 501 503 #endif … … 607 609 UInt getVpsMaxLayerId() { return m_maxLayerId; } 608 610 Void setVpsMaxLayerId(UInt v) { m_maxLayerId = v; } 611 612 UInt getVpsNumLayerSetsMinus1() { return m_vpsNumLayerSetsMinus1; } 613 Void setVpsNumLayerSetsMinus1(UInt v) { m_vpsNumLayerSetsMinus1 = v; } 609 614 #else 610 615 UInt getMaxNuhReservedZeroLayerId() { return m_maxNuhReservedZeroLayerId; } 611 616 Void setMaxNuhReservedZeroLayerId(UInt v) { m_maxNuhReservedZeroLayerId = v; } 612 #endif613 617 614 618 UInt getMaxOpSets() { return m_numOpSets; } 615 619 Void setMaxOpSets(UInt v) { m_numOpSets = v; } 620 #endif 621 616 622 Bool getLayerIdIncludedFlag(UInt opsIdx, UInt id) { return m_layerIdIncludedFlag[opsIdx][id]; } 617 623 Void setLayerIdIncludedFlag(Bool v, UInt opsIdx, UInt id) { m_layerIdIncludedFlag[opsIdx][id] = v; } … … 729 735 { 730 736 assert( lsIdx >= 0 ); 731 assert( lsIdx < getMaxOpSets() );737 assert( lsIdx <= getVpsNumLayerSetsMinus1() ); 732 738 Int numLayersInIdList = 0; 733 739 for (Int layerId = 0; layerId < getVpsMaxLayerId(); layerId++ )
Note: See TracChangeset for help on using the changeset viewer.