1 | /* The copyright in this software is being made available under the BSD |
---|
2 | * License, included below. This software may be subject to other third party |
---|
3 | * and contributor rights, including patent rights, and no such rights are |
---|
4 | * granted under this license. |
---|
5 | * |
---|
6 | * Copyright (c) 2010-2014, ITU/ISO/IEC |
---|
7 | * All rights reserved. |
---|
8 | * |
---|
9 | * Redistribution and use in source and binary forms, with or without |
---|
10 | * modification, are permitted provided that the following conditions are met: |
---|
11 | * |
---|
12 | * * Redistributions of source code must retain the above copyright notice, |
---|
13 | * this list of conditions and the following disclaimer. |
---|
14 | * * Redistributions in binary form must reproduce the above copyright notice, |
---|
15 | * this list of conditions and the following disclaimer in the documentation |
---|
16 | * and/or other materials provided with the distribution. |
---|
17 | * * Neither the name of the ITU/ISO/IEC nor the names of its contributors may |
---|
18 | * be used to endorse or promote products derived from this software without |
---|
19 | * specific prior written permission. |
---|
20 | * |
---|
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
---|
22 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
---|
23 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
---|
24 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS |
---|
25 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
---|
26 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
---|
27 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
---|
28 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
---|
29 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
---|
30 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
---|
31 | * THE POSSIBILITY OF SUCH DAMAGE. |
---|
32 | */ |
---|
33 | |
---|
34 | /** \file TEncCfg.h |
---|
35 | \brief encoder configuration class (header) |
---|
36 | */ |
---|
37 | |
---|
38 | #ifndef __TENCCFG__ |
---|
39 | #define __TENCCFG__ |
---|
40 | |
---|
41 | #if _MSC_VER > 1000 |
---|
42 | #pragma once |
---|
43 | #endif // _MSC_VER > 1000 |
---|
44 | |
---|
45 | #include "TLibCommon/CommonDef.h" |
---|
46 | #include "TLibCommon/TComSlice.h" |
---|
47 | #include <assert.h> |
---|
48 | #if H_3D |
---|
49 | #include "TAppCommon/TAppComCamPara.h" |
---|
50 | #include "TLibRenderer/TRenModSetupStrParser.h" |
---|
51 | #endif |
---|
52 | |
---|
53 | struct GOPEntry |
---|
54 | { |
---|
55 | Int m_POC; |
---|
56 | Int m_QPOffset; |
---|
57 | Double m_QPFactor; |
---|
58 | Int m_tcOffsetDiv2; |
---|
59 | Int m_betaOffsetDiv2; |
---|
60 | Int m_temporalId; |
---|
61 | Bool m_refPic; |
---|
62 | Int m_numRefPicsActive; |
---|
63 | Char m_sliceType; |
---|
64 | Int m_numRefPics; |
---|
65 | Int m_referencePics[MAX_NUM_REF_PICS]; |
---|
66 | Int m_usedByCurrPic[MAX_NUM_REF_PICS]; |
---|
67 | #if AUTO_INTER_RPS |
---|
68 | Int m_interRPSPrediction; |
---|
69 | #else |
---|
70 | Bool m_interRPSPrediction; |
---|
71 | #endif |
---|
72 | Int m_deltaRPS; |
---|
73 | Int m_numRefIdc; |
---|
74 | Int m_refIdc[MAX_NUM_REF_PICS+1]; |
---|
75 | #if H_MV |
---|
76 | Int m_numActiveRefLayerPics; |
---|
77 | Int m_interLayerPredLayerIdc [MAX_NUM_REF_PICS]; |
---|
78 | Int m_interViewRefPosL[2][MAX_NUM_REF_PICS]; |
---|
79 | #endif |
---|
80 | GOPEntry() |
---|
81 | : m_POC(-1) |
---|
82 | , m_QPOffset(0) |
---|
83 | , m_QPFactor(0) |
---|
84 | , m_tcOffsetDiv2(0) |
---|
85 | , m_betaOffsetDiv2(0) |
---|
86 | , m_temporalId(0) |
---|
87 | , m_refPic(false) |
---|
88 | , m_numRefPicsActive(0) |
---|
89 | , m_sliceType('P') |
---|
90 | , m_numRefPics(0) |
---|
91 | , m_interRPSPrediction(false) |
---|
92 | , m_deltaRPS(0) |
---|
93 | , m_numRefIdc(0) |
---|
94 | #if H_MV |
---|
95 | , m_numActiveRefLayerPics(0) |
---|
96 | #endif |
---|
97 | { |
---|
98 | ::memset( m_referencePics, 0, sizeof(m_referencePics) ); |
---|
99 | ::memset( m_usedByCurrPic, 0, sizeof(m_usedByCurrPic) ); |
---|
100 | ::memset( m_refIdc, 0, sizeof(m_refIdc) ); |
---|
101 | #if H_MV |
---|
102 | ::memset( m_interLayerPredLayerIdc, 0, sizeof(m_interLayerPredLayerIdc) ); |
---|
103 | ::memset( m_interViewRefPosL[0], -1, sizeof(m_interViewRefPosL[0]) ); |
---|
104 | ::memset( m_interViewRefPosL[1], -1, sizeof(m_interViewRefPosL[1]) ); |
---|
105 | #endif |
---|
106 | } |
---|
107 | }; |
---|
108 | |
---|
109 | std::istringstream &operator>>(std::istringstream &in, GOPEntry &entry); //input |
---|
110 | //! \ingroup TLibEncoder |
---|
111 | //! \{ |
---|
112 | |
---|
113 | // ==================================================================================================================== |
---|
114 | // Class definition |
---|
115 | // ==================================================================================================================== |
---|
116 | |
---|
117 | /// encoder configuration class |
---|
118 | class TEncCfg |
---|
119 | { |
---|
120 | protected: |
---|
121 | //==== File I/O ======== |
---|
122 | Int m_iFrameRate; |
---|
123 | Int m_FrameSkip; |
---|
124 | Int m_iSourceWidth; |
---|
125 | Int m_iSourceHeight; |
---|
126 | Int m_conformanceMode; |
---|
127 | Window m_conformanceWindow; |
---|
128 | Int m_framesToBeEncoded; |
---|
129 | Double m_adLambdaModifier[ MAX_TLAYER ]; |
---|
130 | |
---|
131 | /* profile & level */ |
---|
132 | Profile::Name m_profile; |
---|
133 | Level::Tier m_levelTier; |
---|
134 | Level::Name m_level; |
---|
135 | Bool m_progressiveSourceFlag; |
---|
136 | Bool m_interlacedSourceFlag; |
---|
137 | Bool m_nonPackedConstraintFlag; |
---|
138 | Bool m_frameOnlyConstraintFlag; |
---|
139 | |
---|
140 | //====== Coding Structure ======== |
---|
141 | UInt m_uiIntraPeriod; |
---|
142 | UInt m_uiDecodingRefreshType; ///< the type of decoding refresh employed for the random access. |
---|
143 | Int m_iGOPSize; |
---|
144 | #if H_MV |
---|
145 | GOPEntry m_GOPList[MAX_GOP+1]; |
---|
146 | #else |
---|
147 | GOPEntry m_GOPList[MAX_GOP]; |
---|
148 | #endif |
---|
149 | Int m_extraRPSs; |
---|
150 | Int m_maxDecPicBuffering[MAX_TLAYER]; |
---|
151 | Int m_numReorderPics[MAX_TLAYER]; |
---|
152 | |
---|
153 | Int m_iQP; // if (AdaptiveQP == OFF) |
---|
154 | |
---|
155 | Int m_aiPad[2]; |
---|
156 | |
---|
157 | |
---|
158 | Int m_iMaxRefPicNum; ///< this is used to mimic the sliding mechanism used by the decoder |
---|
159 | // TODO: We need to have a common sliding mechanism used by both the encoder and decoder |
---|
160 | |
---|
161 | Int m_maxTempLayer; ///< Max temporal layer |
---|
162 | Bool m_useAMP; |
---|
163 | //======= Transform ============= |
---|
164 | UInt m_uiQuadtreeTULog2MaxSize; |
---|
165 | UInt m_uiQuadtreeTULog2MinSize; |
---|
166 | UInt m_uiQuadtreeTUMaxDepthInter; |
---|
167 | UInt m_uiQuadtreeTUMaxDepthIntra; |
---|
168 | |
---|
169 | //====== Loop/Deblock Filter ======== |
---|
170 | Bool m_bLoopFilterDisable; |
---|
171 | Bool m_loopFilterOffsetInPPS; |
---|
172 | Int m_loopFilterBetaOffsetDiv2; |
---|
173 | Int m_loopFilterTcOffsetDiv2; |
---|
174 | Bool m_DeblockingFilterControlPresent; |
---|
175 | Bool m_DeblockingFilterMetric; |
---|
176 | Bool m_bUseSAO; |
---|
177 | Int m_maxNumOffsetsPerPic; |
---|
178 | Bool m_saoLcuBoundary; |
---|
179 | //====== Motion search ======== |
---|
180 | Int m_iFastSearch; // 0:Full search 1:Diamond 2:PMVFAST |
---|
181 | Int m_iSearchRange; // 0:Full frame |
---|
182 | Int m_bipredSearchRange; |
---|
183 | |
---|
184 | //====== Quality control ======== |
---|
185 | Int m_iMaxDeltaQP; // Max. absolute delta QP (1:default) |
---|
186 | Int m_iMaxCuDQPDepth; // Max. depth for a minimum CuDQP (0:default) |
---|
187 | |
---|
188 | Int m_chromaCbQpOffset; // Chroma Cb QP Offset (0:default) |
---|
189 | Int m_chromaCrQpOffset; // Chroma Cr Qp Offset (0:default) |
---|
190 | |
---|
191 | #if ADAPTIVE_QP_SELECTION |
---|
192 | Bool m_bUseAdaptQpSelect; |
---|
193 | #endif |
---|
194 | |
---|
195 | Bool m_bUseAdaptiveQP; |
---|
196 | Int m_iQPAdaptationRange; |
---|
197 | |
---|
198 | //====== Tool list ======== |
---|
199 | Bool m_bUseASR; |
---|
200 | Bool m_bUseHADME; |
---|
201 | Bool m_useRDOQ; |
---|
202 | Bool m_useRDOQTS; |
---|
203 | UInt m_rdPenalty; |
---|
204 | Bool m_bUseFastEnc; |
---|
205 | Bool m_bUseEarlyCU; |
---|
206 | Bool m_useFastDecisionForMerge; |
---|
207 | Bool m_bUseCbfFastMode; |
---|
208 | Bool m_useEarlySkipDetection; |
---|
209 | Bool m_useTransformSkip; |
---|
210 | Bool m_useTransformSkipFast; |
---|
211 | Int* m_aidQP; |
---|
212 | UInt m_uiDeltaQpRD; |
---|
213 | |
---|
214 | Bool m_bUseConstrainedIntraPred; |
---|
215 | Bool m_usePCM; |
---|
216 | UInt m_pcmLog2MaxSize; |
---|
217 | UInt m_uiPCMLog2MinSize; |
---|
218 | //====== Slice ======== |
---|
219 | Int m_sliceMode; |
---|
220 | Int m_sliceArgument; |
---|
221 | //====== Dependent Slice ======== |
---|
222 | Int m_sliceSegmentMode; |
---|
223 | Int m_sliceSegmentArgument; |
---|
224 | Bool m_bLFCrossSliceBoundaryFlag; |
---|
225 | |
---|
226 | Bool m_bPCMInputBitDepthFlag; |
---|
227 | UInt m_uiPCMBitDepthLuma; |
---|
228 | UInt m_uiPCMBitDepthChroma; |
---|
229 | Bool m_bPCMFilterDisableFlag; |
---|
230 | Bool m_loopFilterAcrossTilesEnabledFlag; |
---|
231 | Int m_iUniformSpacingIdr; |
---|
232 | Int m_iNumColumnsMinus1; |
---|
233 | UInt* m_puiColumnWidth; |
---|
234 | Int m_iNumRowsMinus1; |
---|
235 | UInt* m_puiRowHeight; |
---|
236 | |
---|
237 | Int m_iWaveFrontSynchro; |
---|
238 | Int m_iWaveFrontSubstreams; |
---|
239 | |
---|
240 | Int m_decodedPictureHashSEIEnabled; ///< Checksum(3)/CRC(2)/MD5(1)/disable(0) acting on decoded picture hash SEI message |
---|
241 | Int m_bufferingPeriodSEIEnabled; |
---|
242 | Int m_pictureTimingSEIEnabled; |
---|
243 | Int m_recoveryPointSEIEnabled; |
---|
244 | Bool m_toneMappingInfoSEIEnabled; |
---|
245 | Int m_toneMapId; |
---|
246 | Bool m_toneMapCancelFlag; |
---|
247 | Bool m_toneMapPersistenceFlag; |
---|
248 | Int m_codedDataBitDepth; |
---|
249 | Int m_targetBitDepth; |
---|
250 | Int m_modelId; |
---|
251 | Int m_minValue; |
---|
252 | Int m_maxValue; |
---|
253 | Int m_sigmoidMidpoint; |
---|
254 | Int m_sigmoidWidth; |
---|
255 | Int m_numPivots; |
---|
256 | Int m_cameraIsoSpeedIdc; |
---|
257 | Int m_cameraIsoSpeedValue; |
---|
258 | Int m_exposureCompensationValueSignFlag; |
---|
259 | Int m_exposureCompensationValueNumerator; |
---|
260 | Int m_exposureCompensationValueDenomIdc; |
---|
261 | Int m_refScreenLuminanceWhite; |
---|
262 | Int m_extendedRangeWhiteLevel; |
---|
263 | Int m_nominalBlackLevelLumaCodeValue; |
---|
264 | Int m_nominalWhiteLevelLumaCodeValue; |
---|
265 | Int m_extendedWhiteLevelLumaCodeValue; |
---|
266 | Int* m_startOfCodedInterval; |
---|
267 | Int* m_codedPivotValue; |
---|
268 | Int* m_targetPivotValue; |
---|
269 | Int m_framePackingSEIEnabled; |
---|
270 | Int m_framePackingSEIType; |
---|
271 | Int m_framePackingSEIId; |
---|
272 | Int m_framePackingSEIQuincunx; |
---|
273 | Int m_framePackingSEIInterpretation; |
---|
274 | Int m_displayOrientationSEIAngle; |
---|
275 | Int m_temporalLevel0IndexSEIEnabled; |
---|
276 | Int m_gradualDecodingRefreshInfoEnabled; |
---|
277 | Int m_decodingUnitInfoSEIEnabled; |
---|
278 | Int m_SOPDescriptionSEIEnabled; |
---|
279 | Int m_scalableNestingSEIEnabled; |
---|
280 | //====== Weighted Prediction ======== |
---|
281 | Bool m_useWeightedPred; //< Use of Weighting Prediction (P_SLICE) |
---|
282 | Bool m_useWeightedBiPred; //< Use of Bi-directional Weighting Prediction (B_SLICE) |
---|
283 | UInt m_log2ParallelMergeLevelMinus2; ///< Parallel merge estimation region |
---|
284 | UInt m_maxNumMergeCand; ///< Maximum number of merge candidates |
---|
285 | Int m_useScalingListId; ///< Using quantization matrix i.e. 0=off, 1=default, 2=file. |
---|
286 | Char* m_scalingListFile; ///< quantization matrix file name |
---|
287 | Int m_TMVPModeId; |
---|
288 | Int m_signHideFlag; |
---|
289 | Bool m_RCEnableRateControl; |
---|
290 | Int m_RCTargetBitrate; |
---|
291 | Int m_RCKeepHierarchicalBit; |
---|
292 | Bool m_RCLCULevelRC; |
---|
293 | Bool m_RCUseLCUSeparateModel; |
---|
294 | Int m_RCInitialQP; |
---|
295 | Bool m_RCForceIntraQP; |
---|
296 | |
---|
297 | #if KWU_RC_MADPRED_E0227 |
---|
298 | UInt m_depthMADPred; |
---|
299 | #endif |
---|
300 | #if KWU_RC_VIEWRC_E0227 |
---|
301 | Bool m_bViewWiseRateCtrl; |
---|
302 | #endif |
---|
303 | Bool m_TransquantBypassEnableFlag; ///< transquant_bypass_enable_flag setting in PPS. |
---|
304 | Bool m_CUTransquantBypassFlagForce; ///< if transquant_bypass_enable_flag, then, if true, all CU transquant bypass flags will be set to true. |
---|
305 | #if H_MV |
---|
306 | TComVPS* m_cVPS; ///< pointer to VPS, same for all layers |
---|
307 | #else |
---|
308 | TComVPS m_cVPS; |
---|
309 | #endif |
---|
310 | |
---|
311 | #if H_3D |
---|
312 | TComDLT* m_cDLT; |
---|
313 | #endif |
---|
314 | |
---|
315 | Bool m_recalculateQPAccordingToLambda; ///< recalculate QP value according to the lambda value |
---|
316 | Int m_activeParameterSetsSEIEnabled; ///< enable active parameter set SEI message |
---|
317 | Bool m_vuiParametersPresentFlag; ///< enable generation of VUI parameters |
---|
318 | Bool m_aspectRatioInfoPresentFlag; ///< Signals whether aspect_ratio_idc is present |
---|
319 | Int m_aspectRatioIdc; ///< aspect_ratio_idc |
---|
320 | Int m_sarWidth; ///< horizontal size of the sample aspect ratio |
---|
321 | Int m_sarHeight; ///< vertical size of the sample aspect ratio |
---|
322 | Bool m_overscanInfoPresentFlag; ///< Signals whether overscan_appropriate_flag is present |
---|
323 | Bool m_overscanAppropriateFlag; ///< Indicates whether conformant decoded pictures are suitable for display using overscan |
---|
324 | Bool m_videoSignalTypePresentFlag; ///< Signals whether video_format, video_full_range_flag, and colour_description_present_flag are present |
---|
325 | Int m_videoFormat; ///< Indicates representation of pictures |
---|
326 | Bool m_videoFullRangeFlag; ///< Indicates the black level and range of luma and chroma signals |
---|
327 | Bool m_colourDescriptionPresentFlag; ///< Signals whether colour_primaries, transfer_characteristics and matrix_coefficients are present |
---|
328 | Int m_colourPrimaries; ///< Indicates chromaticity coordinates of the source primaries |
---|
329 | Int m_transferCharacteristics; ///< Indicates the opto-electronic transfer characteristics of the source |
---|
330 | Int m_matrixCoefficients; ///< Describes the matrix coefficients used in deriving luma and chroma from RGB primaries |
---|
331 | Bool m_chromaLocInfoPresentFlag; ///< Signals whether chroma_sample_loc_type_top_field and chroma_sample_loc_type_bottom_field are present |
---|
332 | Int m_chromaSampleLocTypeTopField; ///< Specifies the location of chroma samples for top field |
---|
333 | Int m_chromaSampleLocTypeBottomField; ///< Specifies the location of chroma samples for bottom field |
---|
334 | Bool m_neutralChromaIndicationFlag; ///< Indicates that the value of all decoded chroma samples is equal to 1<<(BitDepthCr-1) |
---|
335 | Window m_defaultDisplayWindow; ///< Represents the default display window parameters |
---|
336 | Bool m_frameFieldInfoPresentFlag; ///< Indicates that pic_struct and other field coding related values are present in picture timing SEI messages |
---|
337 | Bool m_pocProportionalToTimingFlag; ///< Indicates that the POC value is proportional to the output time w.r.t. first picture in CVS |
---|
338 | Int m_numTicksPocDiffOneMinus1; ///< Number of ticks minus 1 that for a POC difference of one |
---|
339 | Bool m_bitstreamRestrictionFlag; ///< Signals whether bitstream restriction parameters are present |
---|
340 | Bool m_tilesFixedStructureFlag; ///< Indicates that each active picture parameter set has the same values of the syntax elements related to tiles |
---|
341 | Bool m_motionVectorsOverPicBoundariesFlag; ///< Indicates that no samples outside the picture boundaries are used for inter prediction |
---|
342 | Int m_minSpatialSegmentationIdc; ///< Indicates the maximum size of the spatial segments in the pictures in the coded video sequence |
---|
343 | Int m_maxBytesPerPicDenom; ///< Indicates a number of bytes not exceeded by the sum of the sizes of the VCL NAL units associated with any coded picture |
---|
344 | Int m_maxBitsPerMinCuDenom; ///< Indicates an upper bound for the number of bits of coding_unit() data |
---|
345 | Int m_log2MaxMvLengthHorizontal; ///< Indicate the maximum absolute value of a decoded horizontal MV component in quarter-pel luma units |
---|
346 | Int m_log2MaxMvLengthVertical; ///< Indicate the maximum absolute value of a decoded vertical MV component in quarter-pel luma units |
---|
347 | |
---|
348 | Bool m_useStrongIntraSmoothing; ///< enable the use of strong intra smoothing (bi_linear interpolation) for 32x32 blocks when reference samples are flat. |
---|
349 | #if H_MV_HLS_7_SEI_P0204_26 |
---|
350 | Bool m_subBistreamPropSEIEnabled; |
---|
351 | Int m_numAdditionalSubStreams; |
---|
352 | std::vector<Int> m_subBitstreamMode; |
---|
353 | std::vector<Int> m_outputLayerSetIdxToVps; |
---|
354 | std::vector<Int> m_highestSublayerId; |
---|
355 | std::vector<Int> m_avgBitRate; |
---|
356 | std::vector<Int> m_maxBitRate; |
---|
357 | #endif |
---|
358 | |
---|
359 | #if H_MV |
---|
360 | Int m_layerId; |
---|
361 | Int m_layerIdInVps; |
---|
362 | Int m_viewId; |
---|
363 | Int m_viewIndex; |
---|
364 | #endif |
---|
365 | |
---|
366 | #if H_3D |
---|
367 | Bool m_isDepth; |
---|
368 | |
---|
369 | //====== Camera Parameters ====== |
---|
370 | UInt m_uiCamParPrecision; |
---|
371 | Bool m_bCamParInSliceHeader; |
---|
372 | Int** m_aaiCodedScale; |
---|
373 | Int** m_aaiCodedOffset; |
---|
374 | TAppComCamPara* m_cameraParameters; |
---|
375 | |
---|
376 | #if H_3D_VSO |
---|
377 | //====== View Synthesis Optimization ====== |
---|
378 | TRenModSetupStrParser* m_renderModelParameters; |
---|
379 | Bool m_bUseVSO; |
---|
380 | Bool m_bForceLambdaScale; |
---|
381 | Bool m_bAllowNegDist; |
---|
382 | Double m_dLambdaScaleVSO; |
---|
383 | UInt m_uiVSOMode; |
---|
384 | // LGE_WVSO_A0119 |
---|
385 | Bool m_bUseWVSO; |
---|
386 | Int m_iVSOWeight; |
---|
387 | Int m_iVSDWeight; |
---|
388 | Int m_iDWeight; |
---|
389 | // SAIT_VSO_EST_A0033 |
---|
390 | Bool m_bUseEstimatedVSD; |
---|
391 | Double m_dDispCoeff; |
---|
392 | #endif |
---|
393 | #if H_3D_ARP |
---|
394 | UInt m_uiUseAdvResPred; |
---|
395 | UInt m_uiARPStepNum; |
---|
396 | #endif |
---|
397 | #if H_3D_SPIVMP |
---|
398 | Int m_iSubPULog2Size; |
---|
399 | #endif |
---|
400 | #if QC_SPIVMP_MPI_G0119 |
---|
401 | Int m_iSubPUMPILog2Size; |
---|
402 | #endif |
---|
403 | #if H_3D_IC |
---|
404 | Bool m_bUseIC; |
---|
405 | #endif |
---|
406 | #if H_3D_INTER_SDC |
---|
407 | bool m_bInterSDC; |
---|
408 | #endif |
---|
409 | #if H_3D_DBBP |
---|
410 | Bool m_bUseDBBP; |
---|
411 | #endif |
---|
412 | //====== Depth Intra Modes ====== |
---|
413 | #if H_3D_DIM |
---|
414 | Bool m_useDMM; |
---|
415 | Bool m_useSDC; |
---|
416 | Bool m_useDLT; |
---|
417 | #endif |
---|
418 | #if H_3D_IV_MERGE |
---|
419 | Bool m_useMPI; |
---|
420 | #endif |
---|
421 | #if H_3D_QTLPC |
---|
422 | Bool m_bUseQTL; |
---|
423 | Bool m_bUsePC; |
---|
424 | #endif |
---|
425 | #endif |
---|
426 | public: |
---|
427 | TEncCfg() |
---|
428 | : m_puiColumnWidth() |
---|
429 | , m_puiRowHeight() |
---|
430 | #if H_MV |
---|
431 | , m_layerId(-1) |
---|
432 | , m_layerIdInVps(-1) |
---|
433 | , m_viewId(-1) |
---|
434 | , m_viewIndex(-1) |
---|
435 | #if H_3D |
---|
436 | , m_isDepth(false) |
---|
437 | , m_bUseVSO(false) |
---|
438 | #endif |
---|
439 | #endif |
---|
440 | {} |
---|
441 | |
---|
442 | virtual ~TEncCfg() |
---|
443 | { |
---|
444 | delete[] m_puiColumnWidth; |
---|
445 | delete[] m_puiRowHeight; |
---|
446 | } |
---|
447 | |
---|
448 | Void setProfile(Profile::Name profile) { m_profile = profile; } |
---|
449 | Void setLevel(Level::Tier tier, Level::Name level) { m_levelTier = tier; m_level = level; } |
---|
450 | |
---|
451 | Void setFrameRate ( Int i ) { m_iFrameRate = i; } |
---|
452 | Void setFrameSkip ( UInt i ) { m_FrameSkip = i; } |
---|
453 | Void setSourceWidth ( Int i ) { m_iSourceWidth = i; } |
---|
454 | Void setSourceHeight ( Int i ) { m_iSourceHeight = i; } |
---|
455 | |
---|
456 | Window &getConformanceWindow() { return m_conformanceWindow; } |
---|
457 | Void setConformanceWindow (Int confLeft, Int confRight, Int confTop, Int confBottom ) { m_conformanceWindow.setWindow (confLeft, confRight, confTop, confBottom); } |
---|
458 | |
---|
459 | Void setFramesToBeEncoded ( Int i ) { m_framesToBeEncoded = i; } |
---|
460 | |
---|
461 | #if H_MV |
---|
462 | Void setLayerId ( Int layerId ) { m_layerId = layerId; } |
---|
463 | Int getLayerId () { return m_layerId; } |
---|
464 | Int getLayerIdInVps () { return m_layerIdInVps; } |
---|
465 | Void setLayerIdInVps ( Int layerIdInVps) { m_layerIdInVps = layerIdInVps; } |
---|
466 | Void setViewId ( Int viewId ) { m_viewId = viewId; } |
---|
467 | Int getViewId () { return m_viewId; } |
---|
468 | Void setViewIndex ( Int viewIndex ) { m_viewIndex = viewIndex; } |
---|
469 | Int getViewIndex () { return m_viewIndex; } |
---|
470 | #if H_3D |
---|
471 | Void setIsDepth ( Bool isDepth ) { m_isDepth = isDepth; } |
---|
472 | Bool getIsDepth () { return m_isDepth; } |
---|
473 | #endif |
---|
474 | #endif |
---|
475 | //====== Coding Structure ======== |
---|
476 | Void setIntraPeriod ( Int i ) { m_uiIntraPeriod = (UInt)i; } |
---|
477 | Void setDecodingRefreshType ( Int i ) { m_uiDecodingRefreshType = (UInt)i; } |
---|
478 | Void setGOPSize ( Int i ) { m_iGOPSize = i; } |
---|
479 | #if H_MV |
---|
480 | Void setGopList ( GOPEntry* GOPList ) { for ( Int i = 0; i < MAX_GOP+1; i++ ) m_GOPList[i] = GOPList[i]; } |
---|
481 | #else |
---|
482 | Void setGopList ( GOPEntry* GOPList ) { for ( Int i = 0; i < MAX_GOP; i++ ) m_GOPList[i] = GOPList[i]; } |
---|
483 | #endif |
---|
484 | Void setExtraRPSs ( Int i ) { m_extraRPSs = i; } |
---|
485 | GOPEntry getGOPEntry ( Int i ) { return m_GOPList[i]; } |
---|
486 | Void setMaxDecPicBuffering ( UInt u, UInt tlayer ) { m_maxDecPicBuffering[tlayer] = u; } |
---|
487 | Void setNumReorderPics ( Int i, UInt tlayer ) { m_numReorderPics[tlayer] = i; } |
---|
488 | |
---|
489 | Void setQP ( Int i ) { m_iQP = i; } |
---|
490 | |
---|
491 | Void setPad ( Int* iPad ) { for ( Int i = 0; i < 2; i++ ) m_aiPad[i] = iPad[i]; } |
---|
492 | |
---|
493 | Int getMaxRefPicNum () { return m_iMaxRefPicNum; } |
---|
494 | Void setMaxRefPicNum ( Int iMaxRefPicNum ) { m_iMaxRefPicNum = iMaxRefPicNum; } |
---|
495 | |
---|
496 | Bool getMaxTempLayer () { return m_maxTempLayer; } |
---|
497 | Void setMaxTempLayer ( Int maxTempLayer ) { m_maxTempLayer = maxTempLayer; } |
---|
498 | |
---|
499 | #if H_3D_ARP |
---|
500 | UInt getUseAdvRP ( ) { return m_uiUseAdvResPred; } |
---|
501 | Void setUseAdvRP ( UInt u ) { m_uiUseAdvResPred = u; } |
---|
502 | |
---|
503 | UInt getARPStepNum () { return m_uiARPStepNum; } |
---|
504 | Void setARPStepNum ( UInt u ) { m_uiARPStepNum = u; } |
---|
505 | #endif |
---|
506 | #if H_3D_SPIVMP |
---|
507 | Int getSubPULog2Size () { return m_iSubPULog2Size;} |
---|
508 | Void setSubPULog2Size (Int u) { m_iSubPULog2Size = u; } |
---|
509 | #endif |
---|
510 | #if QC_SPIVMP_MPI_G0119 |
---|
511 | Int getSubPUMPILog2Size () { return m_iSubPUMPILog2Size;} |
---|
512 | Void setSubPUMPILog2Size (Int u) { m_iSubPUMPILog2Size = u; } |
---|
513 | #endif |
---|
514 | #if H_3D_IC |
---|
515 | Void setUseIC ( Bool bVal ) { m_bUseIC = bVal; } |
---|
516 | Bool getUseIC () { return m_bUseIC; } |
---|
517 | #endif |
---|
518 | #if H_3D_INTER_SDC |
---|
519 | Void setInterSDCEnable ( Bool bVal ) { m_bInterSDC = bVal; } |
---|
520 | Bool getInterSDCEnable () { return m_bInterSDC; } |
---|
521 | #endif |
---|
522 | #if H_3D_DBBP |
---|
523 | Void setUseDBBP ( Bool b ) { m_bUseDBBP = b; } |
---|
524 | Bool getUseDBBP() { return m_bUseDBBP; } |
---|
525 | #endif |
---|
526 | //======== Transform ============= |
---|
527 | Void setQuadtreeTULog2MaxSize ( UInt u ) { m_uiQuadtreeTULog2MaxSize = u; } |
---|
528 | Void setQuadtreeTULog2MinSize ( UInt u ) { m_uiQuadtreeTULog2MinSize = u; } |
---|
529 | Void setQuadtreeTUMaxDepthInter ( UInt u ) { m_uiQuadtreeTUMaxDepthInter = u; } |
---|
530 | Void setQuadtreeTUMaxDepthIntra ( UInt u ) { m_uiQuadtreeTUMaxDepthIntra = u; } |
---|
531 | |
---|
532 | Void setUseAMP( Bool b ) { m_useAMP = b; } |
---|
533 | |
---|
534 | //====== Loop/Deblock Filter ======== |
---|
535 | Void setLoopFilterDisable ( Bool b ) { m_bLoopFilterDisable = b; } |
---|
536 | Void setLoopFilterOffsetInPPS ( Bool b ) { m_loopFilterOffsetInPPS = b; } |
---|
537 | Void setLoopFilterBetaOffset ( Int i ) { m_loopFilterBetaOffsetDiv2 = i; } |
---|
538 | Void setLoopFilterTcOffset ( Int i ) { m_loopFilterTcOffsetDiv2 = i; } |
---|
539 | Void setDeblockingFilterControlPresent ( Bool b ) { m_DeblockingFilterControlPresent = b; } |
---|
540 | Void setDeblockingFilterMetric ( Bool b ) { m_DeblockingFilterMetric = b; } |
---|
541 | |
---|
542 | //====== Motion search ======== |
---|
543 | Void setFastSearch ( Int i ) { m_iFastSearch = i; } |
---|
544 | Void setSearchRange ( Int i ) { m_iSearchRange = i; } |
---|
545 | Void setBipredSearchRange ( Int i ) { m_bipredSearchRange = i; } |
---|
546 | |
---|
547 | //====== Quality control ======== |
---|
548 | Void setMaxDeltaQP ( Int i ) { m_iMaxDeltaQP = i; } |
---|
549 | Void setMaxCuDQPDepth ( Int i ) { m_iMaxCuDQPDepth = i; } |
---|
550 | |
---|
551 | Void setChromaCbQpOffset ( Int i ) { m_chromaCbQpOffset = i; } |
---|
552 | Void setChromaCrQpOffset ( Int i ) { m_chromaCrQpOffset = i; } |
---|
553 | |
---|
554 | #if ADAPTIVE_QP_SELECTION |
---|
555 | Void setUseAdaptQpSelect ( Bool i ) { m_bUseAdaptQpSelect = i; } |
---|
556 | Bool getUseAdaptQpSelect () { return m_bUseAdaptQpSelect; } |
---|
557 | #endif |
---|
558 | |
---|
559 | Void setUseAdaptiveQP ( Bool b ) { m_bUseAdaptiveQP = b; } |
---|
560 | Void setQPAdaptationRange ( Int i ) { m_iQPAdaptationRange = i; } |
---|
561 | |
---|
562 | //====== Sequence ======== |
---|
563 | Int getFrameRate () { return m_iFrameRate; } |
---|
564 | UInt getFrameSkip () { return m_FrameSkip; } |
---|
565 | Int getSourceWidth () { return m_iSourceWidth; } |
---|
566 | Int getSourceHeight () { return m_iSourceHeight; } |
---|
567 | Int getFramesToBeEncoded () { return m_framesToBeEncoded; } |
---|
568 | void setLambdaModifier ( UInt uiIndex, Double dValue ) { m_adLambdaModifier[ uiIndex ] = dValue; } |
---|
569 | Double getLambdaModifier ( UInt uiIndex ) const { return m_adLambdaModifier[ uiIndex ]; } |
---|
570 | |
---|
571 | //==== Coding Structure ======== |
---|
572 | UInt getIntraPeriod () { return m_uiIntraPeriod; } |
---|
573 | UInt getDecodingRefreshType () { return m_uiDecodingRefreshType; } |
---|
574 | Int getGOPSize () { return m_iGOPSize; } |
---|
575 | Int getMaxDecPicBuffering (UInt tlayer) { return m_maxDecPicBuffering[tlayer]; } |
---|
576 | Int getNumReorderPics (UInt tlayer) { return m_numReorderPics[tlayer]; } |
---|
577 | Int getQP () { return m_iQP; } |
---|
578 | |
---|
579 | Int getPad ( Int i ) { assert (i < 2 ); return m_aiPad[i]; } |
---|
580 | |
---|
581 | //======== Transform ============= |
---|
582 | UInt getQuadtreeTULog2MaxSize () const { return m_uiQuadtreeTULog2MaxSize; } |
---|
583 | UInt getQuadtreeTULog2MinSize () const { return m_uiQuadtreeTULog2MinSize; } |
---|
584 | UInt getQuadtreeTUMaxDepthInter () const { return m_uiQuadtreeTUMaxDepthInter; } |
---|
585 | UInt getQuadtreeTUMaxDepthIntra () const { return m_uiQuadtreeTUMaxDepthIntra; } |
---|
586 | |
---|
587 | //==== Loop/Deblock Filter ======== |
---|
588 | Bool getLoopFilterDisable () { return m_bLoopFilterDisable; } |
---|
589 | Bool getLoopFilterOffsetInPPS () { return m_loopFilterOffsetInPPS; } |
---|
590 | Int getLoopFilterBetaOffset () { return m_loopFilterBetaOffsetDiv2; } |
---|
591 | Int getLoopFilterTcOffset () { return m_loopFilterTcOffsetDiv2; } |
---|
592 | Bool getDeblockingFilterControlPresent() { return m_DeblockingFilterControlPresent; } |
---|
593 | Bool getDeblockingFilterMetric () { return m_DeblockingFilterMetric; } |
---|
594 | |
---|
595 | //==== Motion search ======== |
---|
596 | Int getFastSearch () { return m_iFastSearch; } |
---|
597 | Int getSearchRange () { return m_iSearchRange; } |
---|
598 | |
---|
599 | //==== Quality control ======== |
---|
600 | Int getMaxDeltaQP () { return m_iMaxDeltaQP; } |
---|
601 | Int getMaxCuDQPDepth () { return m_iMaxCuDQPDepth; } |
---|
602 | Bool getUseAdaptiveQP () { return m_bUseAdaptiveQP; } |
---|
603 | Int getQPAdaptationRange () { return m_iQPAdaptationRange; } |
---|
604 | |
---|
605 | //==== Tool list ======== |
---|
606 | Void setUseASR ( Bool b ) { m_bUseASR = b; } |
---|
607 | Void setUseHADME ( Bool b ) { m_bUseHADME = b; } |
---|
608 | Void setUseRDOQ ( Bool b ) { m_useRDOQ = b; } |
---|
609 | Void setUseRDOQTS ( Bool b ) { m_useRDOQTS = b; } |
---|
610 | Void setRDpenalty ( UInt b ) { m_rdPenalty = b; } |
---|
611 | Void setUseFastEnc ( Bool b ) { m_bUseFastEnc = b; } |
---|
612 | Void setUseEarlyCU ( Bool b ) { m_bUseEarlyCU = b; } |
---|
613 | Void setUseFastDecisionForMerge ( Bool b ) { m_useFastDecisionForMerge = b; } |
---|
614 | Void setUseCbfFastMode ( Bool b ) { m_bUseCbfFastMode = b; } |
---|
615 | Void setUseEarlySkipDetection ( Bool b ) { m_useEarlySkipDetection = b; } |
---|
616 | Void setUseConstrainedIntraPred ( Bool b ) { m_bUseConstrainedIntraPred = b; } |
---|
617 | Void setPCMInputBitDepthFlag ( Bool b ) { m_bPCMInputBitDepthFlag = b; } |
---|
618 | Void setPCMFilterDisableFlag ( Bool b ) { m_bPCMFilterDisableFlag = b; } |
---|
619 | Void setUsePCM ( Bool b ) { m_usePCM = b; } |
---|
620 | Void setPCMLog2MaxSize ( UInt u ) { m_pcmLog2MaxSize = u; } |
---|
621 | Void setPCMLog2MinSize ( UInt u ) { m_uiPCMLog2MinSize = u; } |
---|
622 | Void setdQPs ( Int* p ) { m_aidQP = p; } |
---|
623 | Void setDeltaQpRD ( UInt u ) {m_uiDeltaQpRD = u; } |
---|
624 | Bool getUseASR () { return m_bUseASR; } |
---|
625 | Bool getUseHADME () { return m_bUseHADME; } |
---|
626 | Bool getUseRDOQ () { return m_useRDOQ; } |
---|
627 | Bool getUseRDOQTS () { return m_useRDOQTS; } |
---|
628 | Int getRDpenalty () { return m_rdPenalty; } |
---|
629 | Bool getUseFastEnc () { return m_bUseFastEnc; } |
---|
630 | Bool getUseEarlyCU () { return m_bUseEarlyCU; } |
---|
631 | Bool getUseFastDecisionForMerge () { return m_useFastDecisionForMerge; } |
---|
632 | Bool getUseCbfFastMode () { return m_bUseCbfFastMode; } |
---|
633 | Bool getUseEarlySkipDetection () { return m_useEarlySkipDetection; } |
---|
634 | Bool getUseConstrainedIntraPred () { return m_bUseConstrainedIntraPred; } |
---|
635 | Bool getPCMInputBitDepthFlag () { return m_bPCMInputBitDepthFlag; } |
---|
636 | Bool getPCMFilterDisableFlag () { return m_bPCMFilterDisableFlag; } |
---|
637 | Bool getUsePCM () { return m_usePCM; } |
---|
638 | UInt getPCMLog2MaxSize () { return m_pcmLog2MaxSize; } |
---|
639 | UInt getPCMLog2MinSize () { return m_uiPCMLog2MinSize; } |
---|
640 | |
---|
641 | Bool getUseTransformSkip () { return m_useTransformSkip; } |
---|
642 | Void setUseTransformSkip ( Bool b ) { m_useTransformSkip = b; } |
---|
643 | Bool getUseTransformSkipFast () { return m_useTransformSkipFast; } |
---|
644 | Void setUseTransformSkipFast ( Bool b ) { m_useTransformSkipFast = b; } |
---|
645 | Int* getdQPs () { return m_aidQP; } |
---|
646 | UInt getDeltaQpRD () { return m_uiDeltaQpRD; } |
---|
647 | |
---|
648 | //====== Slice ======== |
---|
649 | Void setSliceMode ( Int i ) { m_sliceMode = i; } |
---|
650 | Void setSliceArgument ( Int i ) { m_sliceArgument = i; } |
---|
651 | Int getSliceMode () { return m_sliceMode; } |
---|
652 | Int getSliceArgument () { return m_sliceArgument; } |
---|
653 | //====== Dependent Slice ======== |
---|
654 | Void setSliceSegmentMode ( Int i ) { m_sliceSegmentMode = i; } |
---|
655 | Void setSliceSegmentArgument ( Int i ) { m_sliceSegmentArgument = i; } |
---|
656 | Int getSliceSegmentMode () { return m_sliceSegmentMode; } |
---|
657 | Int getSliceSegmentArgument () { return m_sliceSegmentArgument;} |
---|
658 | Void setLFCrossSliceBoundaryFlag ( Bool bValue ) { m_bLFCrossSliceBoundaryFlag = bValue; } |
---|
659 | Bool getLFCrossSliceBoundaryFlag () { return m_bLFCrossSliceBoundaryFlag; } |
---|
660 | |
---|
661 | Void setUseSAO (Bool bVal) {m_bUseSAO = bVal;} |
---|
662 | Bool getUseSAO () {return m_bUseSAO;} |
---|
663 | Void setMaxNumOffsetsPerPic (Int iVal) { m_maxNumOffsetsPerPic = iVal; } |
---|
664 | Int getMaxNumOffsetsPerPic () { return m_maxNumOffsetsPerPic; } |
---|
665 | Void setSaoLcuBoundary (Bool val) { m_saoLcuBoundary = val; } |
---|
666 | Bool getSaoLcuBoundary () { return m_saoLcuBoundary; } |
---|
667 | Void setLFCrossTileBoundaryFlag ( Bool val ) { m_loopFilterAcrossTilesEnabledFlag = val; } |
---|
668 | Bool getLFCrossTileBoundaryFlag () { return m_loopFilterAcrossTilesEnabledFlag; } |
---|
669 | Void setUniformSpacingIdr ( Int i ) { m_iUniformSpacingIdr = i; } |
---|
670 | Int getUniformSpacingIdr () { return m_iUniformSpacingIdr; } |
---|
671 | Void setNumColumnsMinus1 ( Int i ) { m_iNumColumnsMinus1 = i; } |
---|
672 | Int getNumColumnsMinus1 () { return m_iNumColumnsMinus1; } |
---|
673 | Void setColumnWidth ( UInt* columnWidth ) |
---|
674 | { |
---|
675 | if( m_iUniformSpacingIdr == 0 && m_iNumColumnsMinus1 > 0 ) |
---|
676 | { |
---|
677 | Int m_iWidthInCU = ( m_iSourceWidth%g_uiMaxCUWidth ) ? m_iSourceWidth/g_uiMaxCUWidth + 1 : m_iSourceWidth/g_uiMaxCUWidth; |
---|
678 | m_puiColumnWidth = new UInt[ m_iNumColumnsMinus1 ]; |
---|
679 | |
---|
680 | for(Int i=0; i<m_iNumColumnsMinus1; i++) |
---|
681 | { |
---|
682 | m_puiColumnWidth[i] = columnWidth[i]; |
---|
683 | printf("col: m_iWidthInCU= %4d i=%4d width= %4d\n",m_iWidthInCU,i,m_puiColumnWidth[i]); //AFU |
---|
684 | } |
---|
685 | } |
---|
686 | } |
---|
687 | UInt getColumnWidth ( UInt columnidx ) { return *( m_puiColumnWidth + columnidx ); } |
---|
688 | Void setNumRowsMinus1 ( Int i ) { m_iNumRowsMinus1 = i; } |
---|
689 | Int getNumRowsMinus1 () { return m_iNumRowsMinus1; } |
---|
690 | Void setRowHeight (UInt* rowHeight) |
---|
691 | { |
---|
692 | if( m_iUniformSpacingIdr == 0 && m_iNumRowsMinus1 > 0 ) |
---|
693 | { |
---|
694 | Int m_iHeightInCU = ( m_iSourceHeight%g_uiMaxCUHeight ) ? m_iSourceHeight/g_uiMaxCUHeight + 1 : m_iSourceHeight/g_uiMaxCUHeight; |
---|
695 | m_puiRowHeight = new UInt[ m_iNumRowsMinus1 ]; |
---|
696 | |
---|
697 | for(Int i=0; i<m_iNumRowsMinus1; i++) |
---|
698 | { |
---|
699 | m_puiRowHeight[i] = rowHeight[i]; |
---|
700 | printf("row: m_iHeightInCU=%4d i=%4d height=%4d\n",m_iHeightInCU,i,m_puiRowHeight[i]); //AFU |
---|
701 | } |
---|
702 | } |
---|
703 | } |
---|
704 | UInt getRowHeight ( UInt rowIdx ) { return *( m_puiRowHeight + rowIdx ); } |
---|
705 | Void xCheckGSParameters(); |
---|
706 | Void setWaveFrontSynchro(Int iWaveFrontSynchro) { m_iWaveFrontSynchro = iWaveFrontSynchro; } |
---|
707 | Int getWaveFrontsynchro() { return m_iWaveFrontSynchro; } |
---|
708 | Void setWaveFrontSubstreams(Int iWaveFrontSubstreams) { m_iWaveFrontSubstreams = iWaveFrontSubstreams; } |
---|
709 | Int getWaveFrontSubstreams() { return m_iWaveFrontSubstreams; } |
---|
710 | Void setDecodedPictureHashSEIEnabled(Int b) { m_decodedPictureHashSEIEnabled = b; } |
---|
711 | Int getDecodedPictureHashSEIEnabled() { return m_decodedPictureHashSEIEnabled; } |
---|
712 | Void setBufferingPeriodSEIEnabled(Int b) { m_bufferingPeriodSEIEnabled = b; } |
---|
713 | Int getBufferingPeriodSEIEnabled() { return m_bufferingPeriodSEIEnabled; } |
---|
714 | Void setPictureTimingSEIEnabled(Int b) { m_pictureTimingSEIEnabled = b; } |
---|
715 | Int getPictureTimingSEIEnabled() { return m_pictureTimingSEIEnabled; } |
---|
716 | Void setRecoveryPointSEIEnabled(Int b) { m_recoveryPointSEIEnabled = b; } |
---|
717 | Int getRecoveryPointSEIEnabled() { return m_recoveryPointSEIEnabled; } |
---|
718 | Void setToneMappingInfoSEIEnabled(Bool b) { m_toneMappingInfoSEIEnabled = b; } |
---|
719 | Bool getToneMappingInfoSEIEnabled() { return m_toneMappingInfoSEIEnabled; } |
---|
720 | Void setTMISEIToneMapId(Int b) { m_toneMapId = b; } |
---|
721 | Int getTMISEIToneMapId() { return m_toneMapId; } |
---|
722 | Void setTMISEIToneMapCancelFlag(Bool b) { m_toneMapCancelFlag=b; } |
---|
723 | Bool getTMISEIToneMapCancelFlag() { return m_toneMapCancelFlag; } |
---|
724 | Void setTMISEIToneMapPersistenceFlag(Bool b) { m_toneMapPersistenceFlag = b; } |
---|
725 | Bool getTMISEIToneMapPersistenceFlag() { return m_toneMapPersistenceFlag; } |
---|
726 | Void setTMISEICodedDataBitDepth(Int b) { m_codedDataBitDepth = b; } |
---|
727 | Int getTMISEICodedDataBitDepth() { return m_codedDataBitDepth; } |
---|
728 | Void setTMISEITargetBitDepth(Int b) { m_targetBitDepth = b; } |
---|
729 | Int getTMISEITargetBitDepth() { return m_targetBitDepth; } |
---|
730 | Void setTMISEIModelID(Int b) { m_modelId = b; } |
---|
731 | Int getTMISEIModelID() { return m_modelId; } |
---|
732 | Void setTMISEIMinValue(Int b) { m_minValue = b; } |
---|
733 | Int getTMISEIMinValue() { return m_minValue; } |
---|
734 | Void setTMISEIMaxValue(Int b) { m_maxValue = b; } |
---|
735 | Int getTMISEIMaxValue() { return m_maxValue; } |
---|
736 | Void setTMISEISigmoidMidpoint(Int b) { m_sigmoidMidpoint = b; } |
---|
737 | Int getTMISEISigmoidMidpoint() { return m_sigmoidMidpoint; } |
---|
738 | Void setTMISEISigmoidWidth(Int b) { m_sigmoidWidth = b; } |
---|
739 | Int getTMISEISigmoidWidth() { return m_sigmoidWidth; } |
---|
740 | Void setTMISEIStartOfCodedInterva( Int* p ) { m_startOfCodedInterval = p; } |
---|
741 | Int* getTMISEIStartOfCodedInterva() { return m_startOfCodedInterval; } |
---|
742 | Void setTMISEINumPivots(Int b) { m_numPivots = b; } |
---|
743 | Int getTMISEINumPivots() { return m_numPivots; } |
---|
744 | Void setTMISEICodedPivotValue( Int* p ) { m_codedPivotValue = p; } |
---|
745 | Int* getTMISEICodedPivotValue() { return m_codedPivotValue; } |
---|
746 | Void setTMISEITargetPivotValue( Int* p ) { m_targetPivotValue = p; } |
---|
747 | Int* getTMISEITargetPivotValue() { return m_targetPivotValue; } |
---|
748 | Void setTMISEICameraIsoSpeedIdc(Int b) { m_cameraIsoSpeedIdc = b; } |
---|
749 | Int getTMISEICameraIsoSpeedIdc() { return m_cameraIsoSpeedIdc; } |
---|
750 | Void setTMISEICameraIsoSpeedValue(Int b) { m_cameraIsoSpeedValue = b; } |
---|
751 | Int getTMISEICameraIsoSpeedValue() { return m_cameraIsoSpeedValue; } |
---|
752 | Void setTMISEIExposureCompensationValueSignFlag(Int b) { m_exposureCompensationValueSignFlag = b; } |
---|
753 | Int getTMISEIExposureCompensationValueSignFlag() { return m_exposureCompensationValueSignFlag; } |
---|
754 | Void setTMISEIExposureCompensationValueNumerator(Int b) { m_exposureCompensationValueNumerator = b; } |
---|
755 | Int getTMISEIExposureCompensationValueNumerator() { return m_exposureCompensationValueNumerator; } |
---|
756 | Void setTMISEIExposureCompensationValueDenomIdc(Int b) { m_exposureCompensationValueDenomIdc =b; } |
---|
757 | Int getTMISEIExposureCompensationValueDenomIdc() { return m_exposureCompensationValueDenomIdc; } |
---|
758 | Void setTMISEIRefScreenLuminanceWhite(Int b) { m_refScreenLuminanceWhite = b; } |
---|
759 | Int getTMISEIRefScreenLuminanceWhite() { return m_refScreenLuminanceWhite; } |
---|
760 | Void setTMISEIExtendedRangeWhiteLevel(Int b) { m_extendedRangeWhiteLevel = b; } |
---|
761 | Int getTMISEIExtendedRangeWhiteLevel() { return m_extendedRangeWhiteLevel; } |
---|
762 | Void setTMISEINominalBlackLevelLumaCodeValue(Int b) { m_nominalBlackLevelLumaCodeValue = b; } |
---|
763 | Int getTMISEINominalBlackLevelLumaCodeValue() { return m_nominalBlackLevelLumaCodeValue; } |
---|
764 | Void setTMISEINominalWhiteLevelLumaCodeValue(Int b) { m_nominalWhiteLevelLumaCodeValue = b; } |
---|
765 | Int getTMISEINominalWhiteLevelLumaCodeValue() { return m_nominalWhiteLevelLumaCodeValue; } |
---|
766 | Void setTMISEIExtendedWhiteLevelLumaCodeValue(Int b) { m_extendedWhiteLevelLumaCodeValue =b; } |
---|
767 | Int getTMISEIExtendedWhiteLevelLumaCodeValue() { return m_extendedWhiteLevelLumaCodeValue; } |
---|
768 | Void setFramePackingArrangementSEIEnabled(Int b) { m_framePackingSEIEnabled = b; } |
---|
769 | Int getFramePackingArrangementSEIEnabled() { return m_framePackingSEIEnabled; } |
---|
770 | Void setFramePackingArrangementSEIType(Int b) { m_framePackingSEIType = b; } |
---|
771 | Int getFramePackingArrangementSEIType() { return m_framePackingSEIType; } |
---|
772 | Void setFramePackingArrangementSEIId(Int b) { m_framePackingSEIId = b; } |
---|
773 | Int getFramePackingArrangementSEIId() { return m_framePackingSEIId; } |
---|
774 | Void setFramePackingArrangementSEIQuincunx(Int b) { m_framePackingSEIQuincunx = b; } |
---|
775 | Int getFramePackingArrangementSEIQuincunx() { return m_framePackingSEIQuincunx; } |
---|
776 | Void setFramePackingArrangementSEIInterpretation(Int b) { m_framePackingSEIInterpretation = b; } |
---|
777 | Int getFramePackingArrangementSEIInterpretation() { return m_framePackingSEIInterpretation; } |
---|
778 | Void setDisplayOrientationSEIAngle(Int b) { m_displayOrientationSEIAngle = b; } |
---|
779 | Int getDisplayOrientationSEIAngle() { return m_displayOrientationSEIAngle; } |
---|
780 | Void setTemporalLevel0IndexSEIEnabled(Int b) { m_temporalLevel0IndexSEIEnabled = b; } |
---|
781 | Int getTemporalLevel0IndexSEIEnabled() { return m_temporalLevel0IndexSEIEnabled; } |
---|
782 | Void setGradualDecodingRefreshInfoEnabled(Int b) { m_gradualDecodingRefreshInfoEnabled = b; } |
---|
783 | Int getGradualDecodingRefreshInfoEnabled() { return m_gradualDecodingRefreshInfoEnabled; } |
---|
784 | Void setDecodingUnitInfoSEIEnabled(Int b) { m_decodingUnitInfoSEIEnabled = b; } |
---|
785 | Int getDecodingUnitInfoSEIEnabled() { return m_decodingUnitInfoSEIEnabled; } |
---|
786 | Void setSOPDescriptionSEIEnabled(Int b) { m_SOPDescriptionSEIEnabled = b; } |
---|
787 | Int getSOPDescriptionSEIEnabled() { return m_SOPDescriptionSEIEnabled; } |
---|
788 | Void setScalableNestingSEIEnabled(Int b) { m_scalableNestingSEIEnabled = b; } |
---|
789 | Int getScalableNestingSEIEnabled() { return m_scalableNestingSEIEnabled; } |
---|
790 | |
---|
791 | #if H_MV_HLS_7_SEI_P0204_26 |
---|
792 | Bool getSubBitstreamPropSEIEnabled() { return m_subBistreamPropSEIEnabled;} |
---|
793 | Void setSubBitstreamPropSEIEnabled(Bool x) { m_subBistreamPropSEIEnabled = x;} |
---|
794 | |
---|
795 | Int getNumAdditionalSubStreams() { return m_numAdditionalSubStreams;} |
---|
796 | Void setNumAdditionalSubStreams(Int x) { m_numAdditionalSubStreams = x;} |
---|
797 | |
---|
798 | std::vector<Int> const &getSubBitstreamMode() { return m_subBitstreamMode;} |
---|
799 | Int getSubBitstreamMode(Int idx) { return m_subBitstreamMode[idx];} |
---|
800 | Void setSubBitstreamMode(std::vector<Int> &x) { m_subBitstreamMode = x;} |
---|
801 | |
---|
802 | std::vector<Int> const &getOutputLayerSetIdxToVps() { return m_outputLayerSetIdxToVps;} |
---|
803 | Int getOutputLayerSetIdxToVps(Int idx) { return m_outputLayerSetIdxToVps[idx];} |
---|
804 | Void setOutputLayerSetIdxToVps(std::vector<Int> &x) { m_outputLayerSetIdxToVps = x;} |
---|
805 | |
---|
806 | std::vector<Int> const &getHighestSublayerId() { return m_highestSublayerId;} |
---|
807 | Int getHighestSublayerId(Int idx) { return m_highestSublayerId[idx];} |
---|
808 | Void setHighestSublayerId(std::vector<Int> &x) { m_highestSublayerId = x;} |
---|
809 | |
---|
810 | std::vector<Int> const &getAvgBitRate() { return m_avgBitRate;} |
---|
811 | Int getAvgBitRate(Int idx) { return m_avgBitRate[idx];} |
---|
812 | Void setAvgBitRate(std::vector<Int> &x) { m_avgBitRate = x;} |
---|
813 | |
---|
814 | std::vector<Int> const &getMaxBitRate() { return m_maxBitRate;} |
---|
815 | Int getMaxBitRate(Int idx) { return m_maxBitRate[idx];} |
---|
816 | Void setMaxBitRate(std::vector<Int> &x) { m_maxBitRate = x;} |
---|
817 | |
---|
818 | #endif |
---|
819 | Void setUseWP ( Bool b ) { m_useWeightedPred = b; } |
---|
820 | Void setWPBiPred ( Bool b ) { m_useWeightedBiPred = b; } |
---|
821 | Bool getUseWP () { return m_useWeightedPred; } |
---|
822 | Bool getWPBiPred () { return m_useWeightedBiPred; } |
---|
823 | Void setLog2ParallelMergeLevelMinus2 ( UInt u ) { m_log2ParallelMergeLevelMinus2 = u; } |
---|
824 | UInt getLog2ParallelMergeLevelMinus2 () { return m_log2ParallelMergeLevelMinus2; } |
---|
825 | Void setMaxNumMergeCand ( UInt u ) { m_maxNumMergeCand = u; } |
---|
826 | UInt getMaxNumMergeCand () { return m_maxNumMergeCand; } |
---|
827 | Void setUseScalingListId ( Int u ) { m_useScalingListId = u; } |
---|
828 | Int getUseScalingListId () { return m_useScalingListId; } |
---|
829 | Void setScalingListFile ( Char* pch ){ m_scalingListFile = pch; } |
---|
830 | Char* getScalingListFile () { return m_scalingListFile; } |
---|
831 | Void setTMVPModeId ( Int u ) { m_TMVPModeId = u; } |
---|
832 | Int getTMVPModeId () { return m_TMVPModeId; } |
---|
833 | Void setSignHideFlag( Int signHideFlag ) { m_signHideFlag = signHideFlag; } |
---|
834 | Int getSignHideFlag() { return m_signHideFlag; } |
---|
835 | Bool getUseRateCtrl () { return m_RCEnableRateControl; } |
---|
836 | Void setUseRateCtrl ( Bool b ) { m_RCEnableRateControl = b; } |
---|
837 | Int getTargetBitrate () { return m_RCTargetBitrate; } |
---|
838 | Void setTargetBitrate ( Int bitrate ) { m_RCTargetBitrate = bitrate; } |
---|
839 | Int getKeepHierBit () { return m_RCKeepHierarchicalBit; } |
---|
840 | Void setKeepHierBit ( Int i ) { m_RCKeepHierarchicalBit = i; } |
---|
841 | Bool getLCULevelRC () { return m_RCLCULevelRC; } |
---|
842 | Void setLCULevelRC ( Bool b ) { m_RCLCULevelRC = b; } |
---|
843 | Bool getUseLCUSeparateModel () { return m_RCUseLCUSeparateModel; } |
---|
844 | Void setUseLCUSeparateModel ( Bool b ) { m_RCUseLCUSeparateModel = b; } |
---|
845 | Int getInitialQP () { return m_RCInitialQP; } |
---|
846 | Void setInitialQP ( Int QP ) { m_RCInitialQP = QP; } |
---|
847 | Bool getForceIntraQP () { return m_RCForceIntraQP; } |
---|
848 | Void setForceIntraQP ( Bool b ) { m_RCForceIntraQP = b; } |
---|
849 | |
---|
850 | #if KWU_RC_MADPRED_E0227 |
---|
851 | UInt getUseDepthMADPred () { return m_depthMADPred; } |
---|
852 | Void setUseDepthMADPred (UInt b) { m_depthMADPred = b; } |
---|
853 | #endif |
---|
854 | #if KWU_RC_VIEWRC_E0227 |
---|
855 | Bool getUseViewWiseRateCtrl () { return m_bViewWiseRateCtrl; } |
---|
856 | Void setUseViewWiseRateCtrl (Bool b) { m_bViewWiseRateCtrl = b; } |
---|
857 | #endif |
---|
858 | Bool getTransquantBypassEnableFlag() { return m_TransquantBypassEnableFlag; } |
---|
859 | Void setTransquantBypassEnableFlag(Bool flag) { m_TransquantBypassEnableFlag = flag; } |
---|
860 | Bool getCUTransquantBypassFlagForceValue() { return m_CUTransquantBypassFlagForce; } |
---|
861 | Void setCUTransquantBypassFlagForceValue(Bool flag) { m_CUTransquantBypassFlagForce = flag; } |
---|
862 | #if H_MV |
---|
863 | Void setVPS ( TComVPS *p ) { m_cVPS = p; } |
---|
864 | TComVPS* getVPS () { return m_cVPS; } |
---|
865 | #else |
---|
866 | Void setVPS(TComVPS *p) { m_cVPS = *p; } |
---|
867 | TComVPS *getVPS() { return &m_cVPS; } |
---|
868 | #endif |
---|
869 | |
---|
870 | #if H_3D |
---|
871 | Void setDLT ( TComDLT *p ) { m_cDLT = p; } |
---|
872 | TComDLT* getDLT () { return m_cDLT; } |
---|
873 | #endif |
---|
874 | |
---|
875 | Void setUseRecalculateQPAccordingToLambda ( Bool b ) { m_recalculateQPAccordingToLambda = b; } |
---|
876 | Bool getUseRecalculateQPAccordingToLambda () { return m_recalculateQPAccordingToLambda; } |
---|
877 | |
---|
878 | Void setUseStrongIntraSmoothing ( Bool b ) { m_useStrongIntraSmoothing = b; } |
---|
879 | Bool getUseStrongIntraSmoothing () { return m_useStrongIntraSmoothing; } |
---|
880 | |
---|
881 | Void setActiveParameterSetsSEIEnabled ( Int b ) { m_activeParameterSetsSEIEnabled = b; } |
---|
882 | Int getActiveParameterSetsSEIEnabled () { return m_activeParameterSetsSEIEnabled; } |
---|
883 | Bool getVuiParametersPresentFlag() { return m_vuiParametersPresentFlag; } |
---|
884 | Void setVuiParametersPresentFlag(Bool i) { m_vuiParametersPresentFlag = i; } |
---|
885 | Bool getAspectRatioInfoPresentFlag() { return m_aspectRatioInfoPresentFlag; } |
---|
886 | Void setAspectRatioInfoPresentFlag(Bool i) { m_aspectRatioInfoPresentFlag = i; } |
---|
887 | Int getAspectRatioIdc() { return m_aspectRatioIdc; } |
---|
888 | Void setAspectRatioIdc(Int i) { m_aspectRatioIdc = i; } |
---|
889 | Int getSarWidth() { return m_sarWidth; } |
---|
890 | Void setSarWidth(Int i) { m_sarWidth = i; } |
---|
891 | Int getSarHeight() { return m_sarHeight; } |
---|
892 | Void setSarHeight(Int i) { m_sarHeight = i; } |
---|
893 | Bool getOverscanInfoPresentFlag() { return m_overscanInfoPresentFlag; } |
---|
894 | Void setOverscanInfoPresentFlag(Bool i) { m_overscanInfoPresentFlag = i; } |
---|
895 | Bool getOverscanAppropriateFlag() { return m_overscanAppropriateFlag; } |
---|
896 | Void setOverscanAppropriateFlag(Bool i) { m_overscanAppropriateFlag = i; } |
---|
897 | Bool getVideoSignalTypePresentFlag() { return m_videoSignalTypePresentFlag; } |
---|
898 | Void setVideoSignalTypePresentFlag(Bool i) { m_videoSignalTypePresentFlag = i; } |
---|
899 | Int getVideoFormat() { return m_videoFormat; } |
---|
900 | Void setVideoFormat(Int i) { m_videoFormat = i; } |
---|
901 | Bool getVideoFullRangeFlag() { return m_videoFullRangeFlag; } |
---|
902 | Void setVideoFullRangeFlag(Bool i) { m_videoFullRangeFlag = i; } |
---|
903 | Bool getColourDescriptionPresentFlag() { return m_colourDescriptionPresentFlag; } |
---|
904 | Void setColourDescriptionPresentFlag(Bool i) { m_colourDescriptionPresentFlag = i; } |
---|
905 | Int getColourPrimaries() { return m_colourPrimaries; } |
---|
906 | Void setColourPrimaries(Int i) { m_colourPrimaries = i; } |
---|
907 | Int getTransferCharacteristics() { return m_transferCharacteristics; } |
---|
908 | Void setTransferCharacteristics(Int i) { m_transferCharacteristics = i; } |
---|
909 | Int getMatrixCoefficients() { return m_matrixCoefficients; } |
---|
910 | Void setMatrixCoefficients(Int i) { m_matrixCoefficients = i; } |
---|
911 | Bool getChromaLocInfoPresentFlag() { return m_chromaLocInfoPresentFlag; } |
---|
912 | Void setChromaLocInfoPresentFlag(Bool i) { m_chromaLocInfoPresentFlag = i; } |
---|
913 | Int getChromaSampleLocTypeTopField() { return m_chromaSampleLocTypeTopField; } |
---|
914 | Void setChromaSampleLocTypeTopField(Int i) { m_chromaSampleLocTypeTopField = i; } |
---|
915 | Int getChromaSampleLocTypeBottomField() { return m_chromaSampleLocTypeBottomField; } |
---|
916 | Void setChromaSampleLocTypeBottomField(Int i) { m_chromaSampleLocTypeBottomField = i; } |
---|
917 | Bool getNeutralChromaIndicationFlag() { return m_neutralChromaIndicationFlag; } |
---|
918 | Void setNeutralChromaIndicationFlag(Bool i) { m_neutralChromaIndicationFlag = i; } |
---|
919 | Window &getDefaultDisplayWindow() { return m_defaultDisplayWindow; } |
---|
920 | Void setDefaultDisplayWindow (Int offsetLeft, Int offsetRight, Int offsetTop, Int offsetBottom ) { m_defaultDisplayWindow.setWindow (offsetLeft, offsetRight, offsetTop, offsetBottom); } |
---|
921 | Bool getFrameFieldInfoPresentFlag() { return m_frameFieldInfoPresentFlag; } |
---|
922 | Void setFrameFieldInfoPresentFlag(Bool i) { m_frameFieldInfoPresentFlag = i; } |
---|
923 | Bool getPocProportionalToTimingFlag() { return m_pocProportionalToTimingFlag; } |
---|
924 | Void setPocProportionalToTimingFlag(Bool x) { m_pocProportionalToTimingFlag = x; } |
---|
925 | Int getNumTicksPocDiffOneMinus1() { return m_numTicksPocDiffOneMinus1; } |
---|
926 | Void setNumTicksPocDiffOneMinus1(Int x) { m_numTicksPocDiffOneMinus1 = x; } |
---|
927 | Bool getBitstreamRestrictionFlag() { return m_bitstreamRestrictionFlag; } |
---|
928 | Void setBitstreamRestrictionFlag(Bool i) { m_bitstreamRestrictionFlag = i; } |
---|
929 | Bool getTilesFixedStructureFlag() { return m_tilesFixedStructureFlag; } |
---|
930 | Void setTilesFixedStructureFlag(Bool i) { m_tilesFixedStructureFlag = i; } |
---|
931 | Bool getMotionVectorsOverPicBoundariesFlag() { return m_motionVectorsOverPicBoundariesFlag; } |
---|
932 | Void setMotionVectorsOverPicBoundariesFlag(Bool i) { m_motionVectorsOverPicBoundariesFlag = i; } |
---|
933 | Int getMinSpatialSegmentationIdc() { return m_minSpatialSegmentationIdc; } |
---|
934 | Void setMinSpatialSegmentationIdc(Int i) { m_minSpatialSegmentationIdc = i; } |
---|
935 | Int getMaxBytesPerPicDenom() { return m_maxBytesPerPicDenom; } |
---|
936 | Void setMaxBytesPerPicDenom(Int i) { m_maxBytesPerPicDenom = i; } |
---|
937 | Int getMaxBitsPerMinCuDenom() { return m_maxBitsPerMinCuDenom; } |
---|
938 | Void setMaxBitsPerMinCuDenom(Int i) { m_maxBitsPerMinCuDenom = i; } |
---|
939 | Int getLog2MaxMvLengthHorizontal() { return m_log2MaxMvLengthHorizontal; } |
---|
940 | Void setLog2MaxMvLengthHorizontal(Int i) { m_log2MaxMvLengthHorizontal = i; } |
---|
941 | Int getLog2MaxMvLengthVertical() { return m_log2MaxMvLengthVertical; } |
---|
942 | Void setLog2MaxMvLengthVertical(Int i) { m_log2MaxMvLengthVertical = i; } |
---|
943 | |
---|
944 | Bool getProgressiveSourceFlag() const { return m_progressiveSourceFlag; } |
---|
945 | Void setProgressiveSourceFlag(Bool b) { m_progressiveSourceFlag = b; } |
---|
946 | |
---|
947 | Bool getInterlacedSourceFlag() const { return m_interlacedSourceFlag; } |
---|
948 | Void setInterlacedSourceFlag(Bool b) { m_interlacedSourceFlag = b; } |
---|
949 | |
---|
950 | Bool getNonPackedConstraintFlag() const { return m_nonPackedConstraintFlag; } |
---|
951 | Void setNonPackedConstraintFlag(Bool b) { m_nonPackedConstraintFlag = b; } |
---|
952 | |
---|
953 | Bool getFrameOnlyConstraintFlag() const { return m_frameOnlyConstraintFlag; } |
---|
954 | Void setFrameOnlyConstraintFlag(Bool b) { m_frameOnlyConstraintFlag = b; } |
---|
955 | #if H_3D |
---|
956 | /// 3D Tools |
---|
957 | |
---|
958 | //==== CAMERA PARAMETERS ========== |
---|
959 | Void setCamParPrecision ( UInt u ) { m_uiCamParPrecision = u; } |
---|
960 | Void setCamParInSliceHeader ( Bool b ) { m_bCamParInSliceHeader = b; } |
---|
961 | Void setCodedScale ( Int** p ) { m_aaiCodedScale = p; } |
---|
962 | Void setCodedOffset ( Int** p ) { m_aaiCodedOffset = p; } |
---|
963 | Void setCameraParameters ( TAppComCamPara* c) { m_cameraParameters = c; } |
---|
964 | |
---|
965 | #if H_3D_VSO |
---|
966 | //==== VSO ========== |
---|
967 | Void setRenderModelParameters ( TRenModSetupStrParser* c ) { m_renderModelParameters = c; } |
---|
968 | Bool getUseVSO () { return m_bUseVSO; } |
---|
969 | Void setUseVSO ( Bool b ) { m_bUseVSO = b; } |
---|
970 | UInt getVSOMode () { return m_uiVSOMode; } |
---|
971 | Void setVSOMode ( UInt ui ) { m_uiVSOMode = ui; } |
---|
972 | Bool getForceLambdaScaleVSO () { return m_bForceLambdaScale; } |
---|
973 | Void setForceLambdaScaleVSO ( Bool b ) { m_bForceLambdaScale = b; }; |
---|
974 | Double getLambdaScaleVSO () { return m_dLambdaScaleVSO; } |
---|
975 | Void setLambdaScaleVSO ( Double d ) { m_dLambdaScaleVSO = d; }; |
---|
976 | Bool getAllowNegDist () { return m_bAllowNegDist; } |
---|
977 | Void setAllowNegDist ( Bool b ) { m_bAllowNegDist = b; }; |
---|
978 | |
---|
979 | // LGE_WVSO_A0119 |
---|
980 | Bool getUseWVSO () { return m_bUseWVSO; } |
---|
981 | Void setUseWVSO ( Bool b ) { m_bUseWVSO = b; } |
---|
982 | Int getVSOWeight () { return m_iVSOWeight; } |
---|
983 | Void setVSOWeight ( Int i ) { m_iVSOWeight = i; } |
---|
984 | Int getVSDWeight () { return m_iVSDWeight; } |
---|
985 | Void setVSDWeight ( Int i ) { m_iVSDWeight = i; } |
---|
986 | Int getDWeight () { return m_iDWeight; } |
---|
987 | Void setDWeight ( Int i ) { m_iDWeight = i; } |
---|
988 | |
---|
989 | // SAIT_VSO_EST_A0033 |
---|
990 | Bool getUseEstimatedVSD () { return m_bUseEstimatedVSD; } |
---|
991 | Void setUseEstimatedVSD ( Bool b ) { m_bUseEstimatedVSD = b; } |
---|
992 | Double getDispCoeff () { return m_dDispCoeff; } |
---|
993 | Void setDispCoeff ( Double d ) { m_dDispCoeff = d; } |
---|
994 | #endif // H_3D_VSO |
---|
995 | |
---|
996 | //==== DIM ========== |
---|
997 | #if H_3D_DIM |
---|
998 | Bool getUseDMM () { return m_useDMM; } |
---|
999 | Void setUseDMM ( Bool b) { m_useDMM = b; } |
---|
1000 | Bool getUseSDC () { return m_useSDC; } |
---|
1001 | Void setUseSDC ( Bool b) { m_useSDC = b; } |
---|
1002 | Bool getUseDLT () { return m_useDLT; } |
---|
1003 | Void setUseDLT ( Bool b) { m_useDLT = b; } |
---|
1004 | #endif |
---|
1005 | #if H_3D_QTLPC |
---|
1006 | Void setUseQTL ( Bool b ) { m_bUseQTL = b; } |
---|
1007 | Bool getUseQTL () { return m_bUseQTL; } |
---|
1008 | Void setUsePC ( Bool b ) { m_bUsePC = b; } |
---|
1009 | Bool getUsePC () { return m_bUsePC; } |
---|
1010 | #endif |
---|
1011 | #if H_3D_IV_MERGE |
---|
1012 | Void setUseMPI ( Bool b ) { m_useMPI = b; } |
---|
1013 | Bool getUseMPI () { return m_useMPI; } |
---|
1014 | #endif |
---|
1015 | #endif // H_3D |
---|
1016 | }; |
---|
1017 | |
---|
1018 | //! \} |
---|
1019 | |
---|
1020 | #endif // !defined(AFX_TENCCFG_H__6B99B797_F4DA_4E46_8E78_7656339A6C41__INCLUDED_) |
---|