Changeset 442 in SHVCSoftware for trunk/source/Lib/TLibEncoder/TEncCfg.h
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/SHM-3.0-dev merged: 350-351,357-360 /branches/SHM-3.1-dev (added) merged: 354-356,361-403,405-441 /trunk merged: 352 reverse-merged: 312-314
- Property svn:mergeinfo changed
-
trunk/source
- Property svn:mergeinfo changed
/branches/SHM-3.0-dev/source merged: 357-360 /branches/SHM-3.1-dev/source (added) merged: 355-356,361-364,366-403,405,407-441 /trunk/source merged: 352 reverse-merged: 312-314
- Property svn:mergeinfo changed
-
trunk/source/Lib/TLibEncoder/TEncCfg.h
r313 r442 69 69 Int m_numRefIdc; 70 70 Int m_refIdc[MAX_NUM_REF_PICS+1]; 71 #if EXTERNAL_USEDBYCURR_N0082 72 Int m_UseExtusedByCurrPic; 73 Int m_ExtusedByCurrPic[MAX_NUM_REF_PICS]; 74 #endif 71 75 GOPEntry() 72 76 : m_POC(-1) … … 83 87 , m_deltaRPS(0) 84 88 , m_numRefIdc(0) 89 #if EXTERNAL_USEDBYCURR_N0082 90 , m_UseExtusedByCurrPic(0) 91 #endif 85 92 { 86 93 ::memset( m_referencePics, 0, sizeof(m_referencePics) ); 87 94 ::memset( m_usedByCurrPic, 0, sizeof(m_usedByCurrPic) ); 88 95 ::memset( m_refIdc, 0, sizeof(m_refIdc) ); 96 #if EXTERNAL_USEDBYCURR_N0082 97 ::memset( m_usedByCurrPic, 0, sizeof(m_ExtusedByCurrPic) ); 98 #endif 89 99 } 90 100 }; 91 101 92 102 std::istringstream &operator>>(std::istringstream &in, GOPEntry &entry); //input 103 104 #if REPN_FORMAT_IN_VPS 105 struct RepFormatCfg 106 { 107 Int m_chromaFormatIdc; 108 Bool m_separateColourPlaneFlag; 109 Int m_picWidthInLumaSamples; 110 Int m_picHeightInLumaSamples; 111 Int m_bitDepthLuma; 112 Int m_bitDepthChroma; 113 RepFormatCfg() 114 : m_chromaFormatIdc (CHROMA_420) 115 , m_separateColourPlaneFlag (0) 116 , m_picWidthInLumaSamples (352) 117 , m_picHeightInLumaSamples (288) 118 , m_bitDepthLuma (8) 119 , m_bitDepthChroma (8) 120 {} 121 }; 122 std::istringstream &operator>>(std::istringstream &in, RepFormatCfg &repFormatCfg); 123 #endif 124 93 125 //! \ingroup TLibEncoder 94 126 //! \{ … … 155 187 #endif 156 188 #endif 189 #if N0120_MAX_TID_REF_CFG 190 Int m_maxTidIlRefPicsPlus1; 191 #endif 157 192 //======= Transform ============= 158 193 UInt m_uiQuadtreeTULog2MaxSize; … … 283 318 Int m_SOPDescriptionSEIEnabled; 284 319 Int m_scalableNestingSEIEnabled; 320 #if N0383_IL_CONSTRAINED_TILE_SETS_SEI 321 Bool m_interLayerConstrainedTileSetsSEIEnabled; 322 UInt m_ilNumSetsInMessage; 323 Bool m_skippedTileSetPresentFlag; 324 UInt m_topLeftTileIndex[1024]; 325 UInt m_bottomRightTileIndex[1024]; 326 UInt m_ilcIdc[1024]; 327 #endif 285 328 //====== Weighted Prediction ======== 286 329 Bool m_useWeightedPred; //< Use of Weighting Prediction (P_SLICE) … … 353 396 UInt m_layerId; 354 397 UInt m_numLayer; 355 #endif 356 #if REF_IDX_FRAMEWORK 357 Int m_elRapSliceBEnabled; 358 #endif 398 Int m_elRapSliceBEnabled; 359 399 #if M0040_ADAPTIVE_RESOLUTION_CHANGE 360 Int m_adaptiveResolutionChange; 400 Int m_adaptiveResolutionChange; 401 #endif 361 402 #endif 362 403 … … 438 479 #endif 439 480 #endif 481 #if N0120_MAX_TID_REF_CFG 482 Int getMaxTidIlRefPicsPlus1 () { return m_maxTidIlRefPicsPlus1; } 483 Void setMaxTidIlRefPicsPlus1 (Int num) { m_maxTidIlRefPicsPlus1 = num; } 484 #endif 440 485 //======== Transform ============= 441 486 Void setQuadtreeTULog2MaxSize ( UInt u ) { m_uiQuadtreeTULog2MaxSize = u; } … … 720 765 Void setScalableNestingSEIEnabled(Int b) { m_scalableNestingSEIEnabled = b; } 721 766 Int getScalableNestingSEIEnabled() { return m_scalableNestingSEIEnabled; } 767 #if N0383_IL_CONSTRAINED_TILE_SETS_SEI 768 Void setInterLayerConstrainedTileSetsSEIEnabled(Bool b) { m_interLayerConstrainedTileSetsSEIEnabled = b; } 769 Bool getInterLayerConstrainedTileSetsSEIEnabled() { return m_interLayerConstrainedTileSetsSEIEnabled; } 770 Void setIlNumSetsInMessage(UInt b) { m_ilNumSetsInMessage = b; } 771 Int getIlNumSetsInMessage() { return m_ilNumSetsInMessage; } 772 Void setSkippedTileSetPresentFlag(Bool b) { m_skippedTileSetPresentFlag = b; } 773 Bool getSkippedTileSetPresentFlag() { return m_skippedTileSetPresentFlag; } 774 Void setTopLeftTileIndex(UInt *b) 775 { 776 for (UInt i = 0; i < m_ilNumSetsInMessage; i++) 777 { 778 m_topLeftTileIndex[i] = b[i]; 779 } 780 } 781 UInt getTopLeftTileIndex(UInt b) { return m_topLeftTileIndex[b]; } 782 Void setBottomRightTileIndex(UInt *b) 783 { 784 for (UInt i = 0; i < m_ilNumSetsInMessage; i++) 785 { 786 m_bottomRightTileIndex[i] = b[i]; 787 } 788 } 789 UInt getBottomRightTileIndex(UInt b) { return m_bottomRightTileIndex[b]; } 790 Void setIlcIdc(UInt *b) 791 { 792 for (UInt i = 0; i < m_ilNumSetsInMessage; i++) 793 { 794 m_ilcIdc[i] = b[i]; 795 } 796 } 797 UInt getIlcIdc(UInt b) { return m_ilcIdc[b]; } 798 #endif 722 799 Void setUseWP ( Bool b ) { m_useWeightedPred = b; } 723 800 Void setWPBiPred ( Bool b ) { m_useWeightedBiPred = b; } … … 858 935 Void setConformanceMode (Int mode) { m_conformanceMode = mode; } 859 936 Void setConformanceWindow(Window& conformanceWindow ) { m_conformanceWindow = conformanceWindow; } 860 #endif861 #if REF_IDX_FRAMEWORK862 937 Void setElRapSliceTypeB(Int bEnabled) {m_elRapSliceBEnabled = bEnabled;} 863 938 Int getElRapSliceTypeB() {return m_elRapSliceBEnabled;} 864 #endif865 939 #if M0040_ADAPTIVE_RESOLUTION_CHANGE 866 940 Void setAdaptiveResolutionChange(Int x) { m_adaptiveResolutionChange = x; } 867 941 Int getAdaptiveResolutionChange() { return m_adaptiveResolutionChange; } 868 942 #endif 943 #endif 869 944 }; 870 945
Note: See TracChangeset for help on using the changeset viewer.