source: 3DVCSoftware/branches/HTM-15.1-MV-draft-4/source/Lib/TLibEncoder/TEncCfg.h @ 1389

Last change on this file since 1389 was 1325, checked in by tech, 10 years ago

Removed 3D-HEVC.

  • Property svn:eol-style set to native
File size: 70.9 KB
Line 
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-2015, 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
49struct GOPEntry
50{
51  Int m_POC;
52  Int m_QPOffset;
53  Double m_QPFactor;
54  Int m_tcOffsetDiv2;
55  Int m_betaOffsetDiv2;
56  Int m_temporalId;
57  Bool m_refPic;
58  Int m_numRefPicsActive;
59  Char m_sliceType;
60  Int m_numRefPics;
61  Int m_referencePics[MAX_NUM_REF_PICS];
62  Int m_usedByCurrPic[MAX_NUM_REF_PICS];
63  Int m_interRPSPrediction;
64  Int m_deltaRPS;
65  Int m_numRefIdc;
66  Int m_refIdc[MAX_NUM_REF_PICS+1];
67  Bool m_isEncoded;
68  #if NH_MV
69  Int m_numActiveRefLayerPics;
70  Int m_interLayerPredLayerIdc [MAX_NUM_REF_PICS];
71  Int m_interViewRefPosL[2][MAX_NUM_REF_PICS]; 
72#endif
73
74GOPEntry()
75  : m_POC(-1)
76  , m_QPOffset(0)
77  , m_QPFactor(0)
78  , m_tcOffsetDiv2(0)
79  , m_betaOffsetDiv2(0)
80  , m_temporalId(0)
81  , m_refPic(false)
82  , m_numRefPicsActive(0)
83  , m_sliceType('P')
84  , m_numRefPics(0)
85  , m_interRPSPrediction(false)
86  , m_deltaRPS(0)
87  , m_numRefIdc(0)
88  , m_isEncoded(false)
89#if NH_MV
90  , m_numActiveRefLayerPics(0)
91#endif
92
93  {
94    ::memset( m_referencePics, 0, sizeof(m_referencePics) );
95    ::memset( m_usedByCurrPic, 0, sizeof(m_usedByCurrPic) );
96    ::memset( m_refIdc,        0, sizeof(m_refIdc) );
97#if NH_MV
98    ::memset( m_interLayerPredLayerIdc,   0, sizeof(m_interLayerPredLayerIdc) );
99    ::memset( m_interViewRefPosL[0], -1, sizeof(m_interViewRefPosL[0]) );
100    ::memset( m_interViewRefPosL[1], -1, sizeof(m_interViewRefPosL[1]) );
101#endif
102  }
103};
104
105std::istringstream &operator>>(std::istringstream &in, GOPEntry &entry);     //input
106//! \ingroup TLibEncoder
107//! \{
108
109// ====================================================================================================================
110// Class definition
111// ====================================================================================================================
112
113/// encoder configuration class
114class TEncCfg
115{
116protected:
117  //==== File I/O ========
118  Int       m_iFrameRate;
119  Int       m_FrameSkip;
120  Int       m_iSourceWidth;
121  Int       m_iSourceHeight;
122  Window    m_conformanceWindow;
123  Int       m_framesToBeEncoded;
124  Double    m_adLambdaModifier[ MAX_TLAYER ];
125
126  Bool      m_printMSEBasedSequencePSNR;
127  Bool      m_printFrameMSE;
128  Bool      m_printSequenceMSE;
129  Bool      m_cabacZeroWordPaddingEnabled;
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  UInt              m_bitDepthConstraintValue;
140  ChromaFormat      m_chromaFormatConstraintValue;
141  Bool              m_intraConstraintFlag;
142  Bool              m_onePictureOnlyConstraintFlag;
143  Bool              m_lowerBitRateConstraintFlag;
144
145  //====== Coding Structure ========
146  UInt      m_uiIntraPeriod;
147  UInt      m_uiDecodingRefreshType;            ///< the type of decoding refresh employed for the random access.
148  Int       m_iGOPSize;
149#if NH_MV
150  GOPEntry  m_GOPList[MAX_GOP+1];
151#else
152  GOPEntry  m_GOPList[MAX_GOP];
153#endif
154  Int       m_extraRPSs;
155  Int       m_maxDecPicBuffering[MAX_TLAYER];
156  Int       m_numReorderPics[MAX_TLAYER];
157
158  Int       m_iQP;                              //  if (AdaptiveQP == OFF)
159
160  Int       m_aiPad[2];
161
162
163  Int       m_iMaxRefPicNum;                     ///< this is used to mimic the sliding mechanism used by the decoder
164                                                 // TODO: We need to have a common sliding mechanism used by both the encoder and decoder
165
166  Int       m_maxTempLayer;                      ///< Max temporal layer
167  Bool      m_useAMP;
168  UInt      m_maxCUWidth;
169  UInt      m_maxCUHeight;
170  UInt      m_maxTotalCUDepth;
171  UInt      m_log2DiffMaxMinCodingBlockSize;
172
173  //======= Transform =============
174  UInt      m_uiQuadtreeTULog2MaxSize;
175  UInt      m_uiQuadtreeTULog2MinSize;
176  UInt      m_uiQuadtreeTUMaxDepthInter;
177  UInt      m_uiQuadtreeTUMaxDepthIntra;
178
179  //====== Loop/Deblock Filter ========
180  Bool      m_bLoopFilterDisable;
181  Bool      m_loopFilterOffsetInPPS;
182  Int       m_loopFilterBetaOffsetDiv2;
183  Int       m_loopFilterTcOffsetDiv2;
184  Bool      m_DeblockingFilterMetric;
185  Bool      m_bUseSAO;
186  Bool      m_bTestSAODisableAtPictureLevel;
187  Double    m_saoEncodingRate;       // When non-0 SAO early picture termination is enabled for luma and chroma
188  Double    m_saoEncodingRateChroma; // The SAO early picture termination rate to use for chroma (when m_SaoEncodingRate is >0). If <=0, use results for luma.
189  Int       m_maxNumOffsetsPerPic;
190  Bool      m_saoCtuBoundary;
191
192  //====== Motion search ========
193  Bool      m_bDisableIntraPUsInInterSlices;
194  Int       m_iFastSearch;                      //  0:Full search  1:Diamond  2:PMVFAST
195  Int       m_iSearchRange;                     //  0:Full frame
196  Int       m_bipredSearchRange;
197  Bool      m_bClipForBiPredMeEnabled;
198  Bool      m_bFastMEAssumingSmootherMVEnabled;
199
200#if NH_MV
201  Bool      m_bUseDisparitySearchRangeRestriction;
202  Int       m_iVerticalDisparitySearchRange;
203#endif
204  //====== Quality control ========
205  Int       m_iMaxDeltaQP;                      //  Max. absolute delta QP (1:default)
206  Int       m_iMaxCuDQPDepth;                   //  Max. depth for a minimum CuDQP (0:default)
207  Int       m_diffCuChromaQpOffsetDepth;        ///< If negative, then do not apply chroma qp offsets.
208
209  Int       m_chromaCbQpOffset;                 //  Chroma Cb QP Offset (0:default)
210  Int       m_chromaCrQpOffset;                 //  Chroma Cr Qp Offset (0:default)
211  ChromaFormat m_chromaFormatIDC;
212
213#if ADAPTIVE_QP_SELECTION
214  Bool      m_bUseAdaptQpSelect;
215#endif
216  Bool      m_extendedPrecisionProcessingFlag;
217  Bool      m_highPrecisionOffsetsEnabledFlag;
218  Bool      m_bUseAdaptiveQP;
219  Int       m_iQPAdaptationRange;
220
221  //====== Tool list ========
222  Int       m_bitDepth[MAX_NUM_CHANNEL_TYPE];
223  Bool      m_bUseASR;
224  Bool      m_bUseHADME;
225  Bool      m_useRDOQ;
226  Bool      m_useRDOQTS;
227#if T0196_SELECTIVE_RDOQ
228  Bool      m_useSelectiveRDOQ;
229#endif
230  UInt      m_rdPenalty;
231  Bool      m_bUseFastEnc;
232  Bool      m_bUseEarlyCU;
233  Bool      m_useFastDecisionForMerge;
234  Bool      m_bUseCbfFastMode;
235  Bool      m_useEarlySkipDetection;
236  Bool      m_crossComponentPredictionEnabledFlag;
237  Bool      m_reconBasedCrossCPredictionEstimate;
238  UInt      m_log2SaoOffsetScale[MAX_NUM_CHANNEL_TYPE];
239  Bool      m_useTransformSkip;
240  Bool      m_useTransformSkipFast;
241  UInt      m_log2MaxTransformSkipBlockSize;
242  Bool      m_transformSkipRotationEnabledFlag;
243  Bool      m_transformSkipContextEnabledFlag;
244  Bool      m_persistentRiceAdaptationEnabledFlag;
245  Bool      m_cabacBypassAlignmentEnabledFlag;
246  Bool      m_rdpcmEnabledFlag[NUMBER_OF_RDPCM_SIGNALLING_MODES];
247  Int*      m_aidQP;
248  UInt      m_uiDeltaQpRD;
249  Bool      m_bFastDeltaQP;
250
251  Bool      m_bUseConstrainedIntraPred;
252  Bool      m_bFastUDIUseMPMEnabled;
253  Bool      m_bFastMEForGenBLowDelayEnabled;
254  Bool      m_bUseBLambdaForNonKeyLowDelayPictures;
255  Bool      m_usePCM;
256  Int       m_PCMBitDepth[MAX_NUM_CHANNEL_TYPE];
257  UInt      m_pcmLog2MaxSize;
258  UInt      m_uiPCMLog2MinSize;
259  //====== Slice ========
260  SliceConstraint m_sliceMode;
261  Int       m_sliceArgument;
262  //====== Dependent Slice ========
263  SliceConstraint m_sliceSegmentMode;
264  Int       m_sliceSegmentArgument;
265  Bool      m_bLFCrossSliceBoundaryFlag;
266
267  Bool      m_bPCMInputBitDepthFlag;
268  Bool      m_bPCMFilterDisableFlag;
269  Bool      m_intraSmoothingDisabledFlag;
270  Bool      m_loopFilterAcrossTilesEnabledFlag;
271  Bool      m_tileUniformSpacingFlag;
272  Int       m_iNumColumnsMinus1;
273  Int       m_iNumRowsMinus1;
274  std::vector<Int> m_tileColumnWidth;
275  std::vector<Int> m_tileRowHeight;
276
277  Int       m_iWaveFrontSynchro;
278
279  Int       m_decodedPictureHashSEIEnabled;              ///< Checksum(3)/CRC(2)/MD5(1)/disable(0) acting on decoded picture hash SEI message
280  Int       m_bufferingPeriodSEIEnabled;
281  Int       m_pictureTimingSEIEnabled;
282  Int       m_recoveryPointSEIEnabled;
283  Bool      m_toneMappingInfoSEIEnabled;
284  Int       m_toneMapId;
285  Bool      m_toneMapCancelFlag;
286  Bool      m_toneMapPersistenceFlag;
287  Int       m_codedDataBitDepth;
288  Int       m_targetBitDepth;
289  Int       m_modelId;
290  Int       m_minValue;
291  Int       m_maxValue;
292  Int       m_sigmoidMidpoint;
293  Int       m_sigmoidWidth;
294  Int       m_numPivots;
295  Int       m_cameraIsoSpeedIdc;
296  Int       m_cameraIsoSpeedValue;
297  Int       m_exposureIndexIdc;
298  Int       m_exposureIndexValue;
299  Bool      m_exposureCompensationValueSignFlag;
300  Int       m_exposureCompensationValueNumerator;
301  Int       m_exposureCompensationValueDenomIdc;
302  Int       m_refScreenLuminanceWhite;
303  Int       m_extendedRangeWhiteLevel;
304  Int       m_nominalBlackLevelLumaCodeValue;
305  Int       m_nominalWhiteLevelLumaCodeValue;
306  Int       m_extendedWhiteLevelLumaCodeValue;
307  Int*      m_startOfCodedInterval;
308  Int*      m_codedPivotValue;
309  Int*      m_targetPivotValue;
310  Int       m_framePackingSEIEnabled;
311  Int       m_framePackingSEIType;
312  Int       m_framePackingSEIId;
313  Int       m_framePackingSEIQuincunx;
314  Int       m_framePackingSEIInterpretation;
315  Int       m_segmentedRectFramePackingSEIEnabled;
316  Bool      m_segmentedRectFramePackingSEICancel;
317  Int       m_segmentedRectFramePackingSEIType;
318  Bool      m_segmentedRectFramePackingSEIPersistence;
319  Int       m_displayOrientationSEIAngle;
320  Int       m_temporalLevel0IndexSEIEnabled;
321  Int       m_gradualDecodingRefreshInfoEnabled;
322  Int       m_noDisplaySEITLayer;
323  Int       m_decodingUnitInfoSEIEnabled;
324  Int       m_SOPDescriptionSEIEnabled;
325  Int       m_scalableNestingSEIEnabled;
326  Bool      m_tmctsSEIEnabled;
327  Bool      m_timeCodeSEIEnabled;
328  Int       m_timeCodeSEINumTs;
329  TComSEITimeSet   m_timeSetArray[MAX_TIMECODE_SEI_SETS];
330  Bool      m_kneeSEIEnabled;
331  Int       m_kneeSEIId;
332  Bool      m_kneeSEICancelFlag;
333  Bool      m_kneeSEIPersistenceFlag;
334  Int       m_kneeSEIInputDrange;
335  Int       m_kneeSEIInputDispLuminance;
336  Int       m_kneeSEIOutputDrange;
337  Int       m_kneeSEIOutputDispLuminance;
338  Int       m_kneeSEINumKneePointsMinus1;
339  Int*      m_kneeSEIInputKneePoint;
340  Int*      m_kneeSEIOutputKneePoint;
341  TComSEIMasteringDisplay m_masteringDisplay;
342  //====== Weighted Prediction ========
343  Bool      m_useWeightedPred;       //< Use of Weighting Prediction (P_SLICE)
344  Bool      m_useWeightedBiPred;    //< Use of Bi-directional Weighting Prediction (B_SLICE)
345  UInt      m_log2ParallelMergeLevelMinus2;       ///< Parallel merge estimation region
346  UInt      m_maxNumMergeCand;                    ///< Maximum number of merge candidates
347  ScalingListMode m_useScalingListId;            ///< Using quantization matrix i.e. 0=off, 1=default, 2=file.
348  Char*     m_scalingListFile;          ///< quantization matrix file name
349  Int       m_TMVPModeId;
350  Bool      m_signHideFlag;
351  Bool      m_RCEnableRateControl;
352  Int       m_RCTargetBitrate;
353  Int       m_RCKeepHierarchicalBit;
354  Bool      m_RCLCULevelRC;
355  Bool      m_RCUseLCUSeparateModel;
356  Int       m_RCInitialQP;
357  Bool      m_RCForceIntraQP;
358
359  Bool      m_TransquantBypassEnableFlag;                     ///< transquant_bypass_enable_flag setting in PPS.
360  Bool      m_CUTransquantBypassFlagForce;                    ///< if transquant_bypass_enable_flag, then, if true, all CU transquant bypass flags will be set to true.
361
362  CostMode  m_costMode;                                       ///< The cost function to use, primarily when considering lossless coding.
363#if NH_MV
364  TComVPS*  m_cVPS;                                           ///< pointer to VPS, same for all layers
365#else
366
367  TComVPS   m_cVPS;
368#endif
369
370  Bool      m_recalculateQPAccordingToLambda;                 ///< recalculate QP value according to the lambda value
371  Int       m_activeParameterSetsSEIEnabled;                  ///< enable active parameter set SEI message
372  Bool      m_vuiParametersPresentFlag;                       ///< enable generation of VUI parameters
373  Bool      m_aspectRatioInfoPresentFlag;                     ///< Signals whether aspect_ratio_idc is present
374  Bool      m_chromaSamplingFilterHintEnabled;                ///< Signals whether chroma sampling filter hint data is present
375  Int       m_chromaSamplingHorFilterIdc;                     ///< Specifies the Index of filter to use
376  Int       m_chromaSamplingVerFilterIdc;                     ///< Specifies the Index of filter to use
377  Int       m_aspectRatioIdc;                                 ///< aspect_ratio_idc
378  Int       m_sarWidth;                                       ///< horizontal size of the sample aspect ratio
379  Int       m_sarHeight;                                      ///< vertical size of the sample aspect ratio
380  Bool      m_overscanInfoPresentFlag;                        ///< Signals whether overscan_appropriate_flag is present
381  Bool      m_overscanAppropriateFlag;                        ///< Indicates whether conformant decoded pictures are suitable for display using overscan
382  Bool      m_videoSignalTypePresentFlag;                     ///< Signals whether video_format, video_full_range_flag, and colour_description_present_flag are present
383  Int       m_videoFormat;                                    ///< Indicates representation of pictures
384  Bool      m_videoFullRangeFlag;                             ///< Indicates the black level and range of luma and chroma signals
385  Bool      m_colourDescriptionPresentFlag;                   ///< Signals whether colour_primaries, transfer_characteristics and matrix_coefficients are present
386  Int       m_colourPrimaries;                                ///< Indicates chromaticity coordinates of the source primaries
387  Int       m_transferCharacteristics;                        ///< Indicates the opto-electronic transfer characteristics of the source
388  Int       m_matrixCoefficients;                             ///< Describes the matrix coefficients used in deriving luma and chroma from RGB primaries
389  Bool      m_chromaLocInfoPresentFlag;                       ///< Signals whether chroma_sample_loc_type_top_field and chroma_sample_loc_type_bottom_field are present
390  Int       m_chromaSampleLocTypeTopField;                    ///< Specifies the location of chroma samples for top field
391  Int       m_chromaSampleLocTypeBottomField;                 ///< Specifies the location of chroma samples for bottom field
392  Bool      m_neutralChromaIndicationFlag;                    ///< Indicates that the value of all decoded chroma samples is equal to 1<<(BitDepthCr-1)
393  Window    m_defaultDisplayWindow;                           ///< Represents the default display window parameters
394  Bool      m_frameFieldInfoPresentFlag;                      ///< Indicates that pic_struct and other field coding related values are present in picture timing SEI messages
395  Bool      m_pocProportionalToTimingFlag;                    ///< Indicates that the POC value is proportional to the output time w.r.t. first picture in CVS
396  Int       m_numTicksPocDiffOneMinus1;                       ///< Number of ticks minus 1 that for a POC difference of one
397  Bool      m_bitstreamRestrictionFlag;                       ///< Signals whether bitstream restriction parameters are present
398  Bool      m_tilesFixedStructureFlag;                        ///< Indicates that each active picture parameter set has the same values of the syntax elements related to tiles
399  Bool      m_motionVectorsOverPicBoundariesFlag;             ///< Indicates that no samples outside the picture boundaries are used for inter prediction
400  Int       m_minSpatialSegmentationIdc;                      ///< Indicates the maximum size of the spatial segments in the pictures in the coded video sequence
401  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
402  Int       m_maxBitsPerMinCuDenom;                           ///< Indicates an upper bound for the number of bits of coding_unit() data
403  Int       m_log2MaxMvLengthHorizontal;                      ///< Indicate the maximum absolute value of a decoded horizontal MV component in quarter-pel luma units
404  Int       m_log2MaxMvLengthVertical;                        ///< Indicate the maximum absolute value of a decoded vertical MV component in quarter-pel luma units
405
406  Bool      m_useStrongIntraSmoothing;                        ///< enable the use of strong intra smoothing (bi_linear interpolation) for 32x32 blocks when reference samples are flat.
407  Bool      m_bEfficientFieldIRAPEnabled;                     ///< enable to code fields in a specific, potentially more efficient, order.
408  Bool      m_bHarmonizeGopFirstFieldCoupleEnabled;
409
410  std::string m_summaryOutFilename;                           ///< filename to use for producing summary output file.
411  std::string m_summaryPicFilenameBase;                       ///< Base filename to use for producing summary picture output files. The actual filenames used will have I.txt, P.txt and B.txt appended.
412  UInt        m_summaryVerboseness;                           ///< Specifies the level of the verboseness of the text output.
413
414#if NH_MV
415  Bool              m_subBistreamPropSEIEnabled;
416  Int               m_numAdditionalSubStreams;
417  std::vector<Int>  m_subBitstreamMode;
418  std::vector<Int>  m_outputLayerSetIdxToVps;
419  std::vector<Int>  m_highestSublayerId;
420  std::vector<Int>  m_avgBitRate;
421  std::vector<Int>  m_maxBitRate;
422#endif
423
424#if NH_MV
425  Int       m_layerId;
426  Int       m_layerIdInVps;
427  Int       m_viewId;
428  Int       m_viewIndex; 
429#endif
430
431public:
432  TEncCfg()
433  : m_tileColumnWidth()
434  , m_tileRowHeight()
435#if NH_MV
436  , m_layerId(-1)
437  , m_layerIdInVps(-1)
438  , m_viewId(-1)
439  , m_viewIndex(-1)
440#endif
441
442  {
443    m_PCMBitDepth[CHANNEL_TYPE_LUMA]=8;
444    m_PCMBitDepth[CHANNEL_TYPE_CHROMA]=8;
445  }
446
447  virtual ~TEncCfg()
448  {}
449
450  Void setProfile(Profile::Name profile) { m_profile = profile; }
451  Void setLevel(Level::Tier tier, Level::Name level) { m_levelTier = tier; m_level = level; }
452
453  Void      setFrameRate                    ( Int   i )      { m_iFrameRate = i; }
454  Void      setFrameSkip                    ( UInt i ) { m_FrameSkip = i; }
455  Void      setSourceWidth                  ( Int   i )      { m_iSourceWidth = i; }
456  Void      setSourceHeight                 ( Int   i )      { m_iSourceHeight = i; }
457
458  Window   &getConformanceWindow()                           { return m_conformanceWindow; }
459  Void      setConformanceWindow (Int confLeft, Int confRight, Int confTop, Int confBottom ) { m_conformanceWindow.setWindow (confLeft, confRight, confTop, confBottom); }
460
461  Void      setFramesToBeEncoded            ( Int   i )      { m_framesToBeEncoded = i; }
462
463  Bool      getPrintMSEBasedSequencePSNR    ()         const { return m_printMSEBasedSequencePSNR;  }
464  Void      setPrintMSEBasedSequencePSNR    (Bool value)     { m_printMSEBasedSequencePSNR = value; }
465
466  Bool      getPrintFrameMSE                ()         const { return m_printFrameMSE;              }
467  Void      setPrintFrameMSE                (Bool value)     { m_printFrameMSE = value;             }
468
469  Bool      getPrintSequenceMSE             ()         const { return m_printSequenceMSE;           }
470  Void      setPrintSequenceMSE             (Bool value)     { m_printSequenceMSE = value;          }
471
472  Bool      getCabacZeroWordPaddingEnabled()           const { return m_cabacZeroWordPaddingEnabled;  }
473  Void      setCabacZeroWordPaddingEnabled(Bool value)       { m_cabacZeroWordPaddingEnabled = value; }
474#if NH_MV
475  Void      setLayerId                       ( Int layerId )      { m_layerId = layerId; }
476  Int       getLayerId                       ()                   { return m_layerId;    }
477  Int       getLayerIdInVps                  ()                   { return m_layerIdInVps; }
478  Void      setLayerIdInVps                  ( Int layerIdInVps)  { m_layerIdInVps = layerIdInVps; }
479  Void      setViewId                        ( Int viewId  )      { m_viewId  = viewId;  }
480  Int       getViewId                        ()                   { return m_viewId;    }
481  Void      setViewIndex                     ( Int viewIndex  )   { m_viewIndex  = viewIndex;  }
482  Int       getViewIndex                     ()                   { return m_viewIndex;    }
483#endif
484  //====== Coding Structure ========
485  Void      setIntraPeriod                  ( Int   i )      { m_uiIntraPeriod = (UInt)i; }
486  Void      setDecodingRefreshType          ( Int   i )      { m_uiDecodingRefreshType = (UInt)i; }
487  Void      setGOPSize                      ( Int   i )      { m_iGOPSize = i; }
488#if NH_MV
489  Void      setGopList                      ( GOPEntry*  GOPList ) {  for ( Int i = 0; i < MAX_GOP+1; i++ ) m_GOPList[i] = GOPList[i]; }
490#else
491  Void      setGopList                      ( GOPEntry*  GOPList ) {  for ( Int i = 0; i < MAX_GOP; i++ ) m_GOPList[i] = GOPList[i]; }
492#endif
493  Void      setExtraRPSs                    ( Int   i )      { m_extraRPSs = i; }
494  GOPEntry  getGOPEntry                     ( Int   i )      { return m_GOPList[i]; }
495  Void      setEncodedFlag                  ( Int  i, Bool value )  { m_GOPList[i].m_isEncoded = value; }
496  Void      setMaxDecPicBuffering           ( UInt u, UInt tlayer ) { m_maxDecPicBuffering[tlayer] = u;    }
497  Void      setNumReorderPics               ( Int  i, UInt tlayer ) { m_numReorderPics[tlayer] = i;    }
498
499  Void      setQP                           ( Int   i )      { m_iQP = i; }
500
501  Void      setPad                          ( Int*  iPad                   )      { for ( Int i = 0; i < 2; i++ ) m_aiPad[i] = iPad[i]; }
502
503  Int       getMaxRefPicNum                 ()                              { return m_iMaxRefPicNum;           }
504  Void      setMaxRefPicNum                 ( Int iMaxRefPicNum )           { m_iMaxRefPicNum = iMaxRefPicNum;  }
505
506  Int       getMaxTempLayer                 ()                              { return m_maxTempLayer;              } 
507  Void      setMaxTempLayer                 ( Int maxTempLayer )            { m_maxTempLayer = maxTempLayer;      }
508  Void      setMaxCUWidth                   ( UInt  u )      { m_maxCUWidth  = u; }
509  Void      setMaxCUHeight                  ( UInt  u )      { m_maxCUHeight = u; }
510  Void      setMaxTotalCUDepth              ( UInt  u )      { m_maxTotalCUDepth = u; }
511  Void      setLog2DiffMaxMinCodingBlockSize( UInt  u )      { m_log2DiffMaxMinCodingBlockSize = u; }
512
513  //======== Transform =============
514  Void      setQuadtreeTULog2MaxSize        ( UInt  u )      { m_uiQuadtreeTULog2MaxSize = u; }
515  Void      setQuadtreeTULog2MinSize        ( UInt  u )      { m_uiQuadtreeTULog2MinSize = u; }
516  Void      setQuadtreeTUMaxDepthInter      ( UInt  u )      { m_uiQuadtreeTUMaxDepthInter = u; }
517  Void      setQuadtreeTUMaxDepthIntra      ( UInt  u )      { m_uiQuadtreeTUMaxDepthIntra = u; }
518
519  Void setUseAMP( Bool b ) { m_useAMP = b; }
520
521  //====== Loop/Deblock Filter ========
522  Void      setLoopFilterDisable            ( Bool  b )      { m_bLoopFilterDisable       = b; }
523  Void      setLoopFilterOffsetInPPS        ( Bool  b )      { m_loopFilterOffsetInPPS      = b; }
524  Void      setLoopFilterBetaOffset         ( Int   i )      { m_loopFilterBetaOffsetDiv2  = i; }
525  Void      setLoopFilterTcOffset           ( Int   i )      { m_loopFilterTcOffsetDiv2    = i; }
526  Void      setDeblockingFilterMetric       ( Bool  b )      { m_DeblockingFilterMetric = b; }
527
528  //====== Motion search ========
529  Void      setDisableIntraPUsInInterSlices ( Bool  b )      { m_bDisableIntraPUsInInterSlices = b; }
530  Void      setFastSearch                   ( Int   i )      { m_iFastSearch = i; }
531  Void      setSearchRange                  ( Int   i )      { m_iSearchRange = i; }
532  Void      setBipredSearchRange            ( Int   i )      { m_bipredSearchRange = i; }
533  Void      setClipForBiPredMeEnabled       ( Bool  b )      { m_bClipForBiPredMeEnabled = b; }
534  Void      setFastMEAssumingSmootherMVEnabled ( Bool b )    { m_bFastMEAssumingSmootherMVEnabled = b; }
535#if NH_MV
536  Void      setUseDisparitySearchRangeRestriction ( Bool   b )      { m_bUseDisparitySearchRangeRestriction = b; }
537  Void      setVerticalDisparitySearchRange ( Int   i )      { m_iVerticalDisparitySearchRange = i; }
538#endif
539
540  //====== Quality control ========
541  Void      setMaxDeltaQP                   ( Int   i )      { m_iMaxDeltaQP = i; }
542  Void      setMaxCuDQPDepth                ( Int   i )      { m_iMaxCuDQPDepth = i; }
543
544  Int       getDiffCuChromaQpOffsetDepth    ()         const { return m_diffCuChromaQpOffsetDepth;  }
545  Void      setDiffCuChromaQpOffsetDepth    (Int value)      { m_diffCuChromaQpOffsetDepth = value; }
546
547  Void      setChromaCbQpOffset             ( Int   i )      { m_chromaCbQpOffset = i; }
548  Void      setChromaCrQpOffset             ( Int   i )      { m_chromaCrQpOffset = i; }
549
550  Void      setChromaFormatIdc              ( ChromaFormat cf ) { m_chromaFormatIDC = cf; }
551  ChromaFormat  getChromaFormatIdc          ( )              { return m_chromaFormatIDC; }
552
553#if ADAPTIVE_QP_SELECTION
554  Void      setUseAdaptQpSelect             ( Bool   i ) { m_bUseAdaptQpSelect    = i; }
555  Bool      getUseAdaptQpSelect             ()           { return   m_bUseAdaptQpSelect; }
556#endif
557
558  Bool      getExtendedPrecisionProcessingFlag         ()         const { return m_extendedPrecisionProcessingFlag;  }
559  Void      setExtendedPrecisionProcessingFlag         (Bool value)     { m_extendedPrecisionProcessingFlag = value; }
560
561  Bool      getHighPrecisionOffsetsEnabledFlag() const { return m_highPrecisionOffsetsEnabledFlag; }
562  Void      setHighPrecisionOffsetsEnabledFlag(Bool value) { m_highPrecisionOffsetsEnabledFlag = value; }
563
564  Void      setUseAdaptiveQP                ( Bool  b )      { m_bUseAdaptiveQP = b; }
565  Void      setQPAdaptationRange            ( Int   i )      { m_iQPAdaptationRange = i; }
566
567  //====== Sequence ========
568  Int       getFrameRate                    ()      { return  m_iFrameRate; }
569  UInt      getFrameSkip                    ()      { return  m_FrameSkip; }
570  Int       getSourceWidth                  ()      { return  m_iSourceWidth; }
571  Int       getSourceHeight                 ()      { return  m_iSourceHeight; }
572  Int       getFramesToBeEncoded            ()      { return  m_framesToBeEncoded; }
573  Void setLambdaModifier                    ( UInt uiIndex, Double dValue ) { m_adLambdaModifier[ uiIndex ] = dValue; }
574  Double getLambdaModifier                  ( UInt uiIndex ) const { return m_adLambdaModifier[ uiIndex ]; }
575
576  //==== Coding Structure ========
577  UInt      getIntraPeriod                  ()      { return  m_uiIntraPeriod; }
578  UInt      getDecodingRefreshType          ()      { return  m_uiDecodingRefreshType; }
579  Int       getGOPSize                      ()      { return  m_iGOPSize; }
580  Int       getMaxDecPicBuffering           (UInt tlayer) { return m_maxDecPicBuffering[tlayer]; }
581  Int       getNumReorderPics               (UInt tlayer) { return m_numReorderPics[tlayer]; }
582  Int       getQP                           ()      { return  m_iQP; }
583
584  Int       getPad                          ( Int i )      { assert (i < 2 );                      return  m_aiPad[i]; }
585
586  //======== Transform =============
587  UInt      getQuadtreeTULog2MaxSize        ()      const { return m_uiQuadtreeTULog2MaxSize; }
588  UInt      getQuadtreeTULog2MinSize        ()      const { return m_uiQuadtreeTULog2MinSize; }
589  UInt      getQuadtreeTUMaxDepthInter      ()      const { return m_uiQuadtreeTUMaxDepthInter; }
590  UInt      getQuadtreeTUMaxDepthIntra      ()      const { return m_uiQuadtreeTUMaxDepthIntra; }
591
592  //==== Loop/Deblock Filter ========
593  Bool      getLoopFilterDisable            ()      { return  m_bLoopFilterDisable;       }
594  Bool      getLoopFilterOffsetInPPS        ()      { return m_loopFilterOffsetInPPS; }
595  Int       getLoopFilterBetaOffset         ()      { return m_loopFilterBetaOffsetDiv2; }
596  Int       getLoopFilterTcOffset           ()      { return m_loopFilterTcOffsetDiv2; }
597  Bool      getDeblockingFilterMetric       ()      { return m_DeblockingFilterMetric; }
598
599  //==== Motion search ========
600  Bool      getDisableIntraPUsInInterSlices () const { return m_bDisableIntraPUsInInterSlices; }
601  Int       getFastSearch                   () const { return m_iFastSearch; }
602  Int       getSearchRange                  () const { return m_iSearchRange; }
603  Bool      getClipForBiPredMeEnabled       () const { return m_bClipForBiPredMeEnabled; }
604  Bool      getFastMEAssumingSmootherMVEnabled ( ) const { return m_bFastMEAssumingSmootherMVEnabled; }
605#if NH_MV
606  Bool      getUseDisparitySearchRangeRestriction ()      { return  m_bUseDisparitySearchRangeRestriction; }
607  Int       getVerticalDisparitySearchRange ()            { return  m_iVerticalDisparitySearchRange; }
608#endif
609
610  //==== Quality control ========
611  Int       getMaxDeltaQP                   ()      { return  m_iMaxDeltaQP; }
612  Int       getMaxCuDQPDepth                ()      { return  m_iMaxCuDQPDepth; }
613  Bool      getUseAdaptiveQP                ()      { return  m_bUseAdaptiveQP; }
614  Int       getQPAdaptationRange            ()      { return  m_iQPAdaptationRange; }
615
616  //==== Tool list ========
617  Void      setBitDepth( const ChannelType chType, Int internalBitDepthForChannel ) { m_bitDepth[chType] = internalBitDepthForChannel; }
618  Void      setUseASR                       ( Bool  b )     { m_bUseASR     = b; }
619  Void      setUseHADME                     ( Bool  b )     { m_bUseHADME   = b; }
620  Void      setUseRDOQ                      ( Bool  b )     { m_useRDOQ    = b; }
621  Void      setUseRDOQTS                    ( Bool  b )     { m_useRDOQTS  = b; }
622#if T0196_SELECTIVE_RDOQ
623  Void      setUseSelectiveRDOQ             ( Bool b )      { m_useSelectiveRDOQ = b; }
624#endif
625  Void      setRDpenalty                 ( UInt  b )     { m_rdPenalty  = b; }
626  Void      setUseFastEnc                   ( Bool  b )     { m_bUseFastEnc = b; }
627  Void      setUseEarlyCU                   ( Bool  b )     { m_bUseEarlyCU = b; }
628  Void      setUseFastDecisionForMerge      ( Bool  b )     { m_useFastDecisionForMerge = b; }
629  Void      setUseCbfFastMode            ( Bool  b )     { m_bUseCbfFastMode = b; }
630  Void      setUseEarlySkipDetection        ( Bool  b )     { m_useEarlySkipDetection = b; }
631  Void      setUseConstrainedIntraPred      ( Bool  b )     { m_bUseConstrainedIntraPred = b; }
632  Void      setFastUDIUseMPMEnabled         ( Bool  b )     { m_bFastUDIUseMPMEnabled = b; }
633  Void      setFastMEForGenBLowDelayEnabled ( Bool  b )     { m_bFastMEForGenBLowDelayEnabled = b; }
634  Void      setUseBLambdaForNonKeyLowDelayPictures ( Bool b ) { m_bUseBLambdaForNonKeyLowDelayPictures = b; }
635
636  Void      setPCMInputBitDepthFlag         ( Bool  b )     { m_bPCMInputBitDepthFlag = b; }
637  Void      setPCMFilterDisableFlag         ( Bool  b )     {  m_bPCMFilterDisableFlag = b; }
638  Void      setUsePCM                       ( Bool  b )     {  m_usePCM = b;               }
639  Void      setPCMBitDepth( const ChannelType chType, Int pcmBitDepthForChannel ) { m_PCMBitDepth[chType] = pcmBitDepthForChannel; }
640  Void      setPCMLog2MaxSize               ( UInt u )      { m_pcmLog2MaxSize = u;      }
641  Void      setPCMLog2MinSize               ( UInt u )     { m_uiPCMLog2MinSize = u;      }
642  Void      setdQPs                         ( Int*  p )     { m_aidQP       = p; }
643  Void      setDeltaQpRD                    ( UInt  u )     {m_uiDeltaQpRD  = u; }
644  Void      setFastDeltaQp                  ( Bool  b )     {m_bFastDeltaQP = b; }
645  Bool      getUseASR                       ()      { return m_bUseASR;     }
646  Bool      getUseHADME                     ()      { return m_bUseHADME;   }
647  Bool      getUseRDOQ                      ()      { return m_useRDOQ;    }
648  Bool      getUseRDOQTS                    ()      { return m_useRDOQTS;  }
649#if T0196_SELECTIVE_RDOQ
650  Bool      getUseSelectiveRDOQ             ()      { return m_useSelectiveRDOQ; }
651#endif
652  Int       getRDpenalty                    ()      { return m_rdPenalty;  }
653  Bool      getUseFastEnc                   ()      { return m_bUseFastEnc; }
654  Bool      getUseEarlyCU                   ()      { return m_bUseEarlyCU; }
655  Bool      getUseFastDecisionForMerge      ()      { return m_useFastDecisionForMerge; }
656  Bool      getUseCbfFastMode               ()      { return m_bUseCbfFastMode; }
657  Bool      getUseEarlySkipDetection        ()      { return m_useEarlySkipDetection; }
658  Bool      getUseConstrainedIntraPred      ()      { return m_bUseConstrainedIntraPred; }
659  Bool      getFastUDIUseMPMEnabled         ()      { return m_bFastUDIUseMPMEnabled; }
660  Bool      getFastMEForGenBLowDelayEnabled ()      { return m_bFastMEForGenBLowDelayEnabled; }
661  Bool      getUseBLambdaForNonKeyLowDelayPictures () { return m_bUseBLambdaForNonKeyLowDelayPictures; }
662  Bool      getPCMInputBitDepthFlag         ()      { return m_bPCMInputBitDepthFlag;   }
663  Bool      getPCMFilterDisableFlag         ()      { return m_bPCMFilterDisableFlag;   }
664  Bool      getUsePCM                       ()      { return m_usePCM;                 }
665  UInt      getPCMLog2MaxSize               ()      { return m_pcmLog2MaxSize;  }
666  UInt      getPCMLog2MinSize               ()      { return  m_uiPCMLog2MinSize;  }
667
668  Bool      getCrossComponentPredictionEnabledFlag     ()                const { return m_crossComponentPredictionEnabledFlag;   }
669  Void      setCrossComponentPredictionEnabledFlag     (const Bool value)      { m_crossComponentPredictionEnabledFlag = value;  }
670  Bool      getUseReconBasedCrossCPredictionEstimate ()                const { return m_reconBasedCrossCPredictionEstimate;  }
671  Void      setUseReconBasedCrossCPredictionEstimate (const Bool value)      { m_reconBasedCrossCPredictionEstimate = value; }
672  Void      setLog2SaoOffsetScale(ChannelType type, UInt uiBitShift)         { m_log2SaoOffsetScale[type] = uiBitShift; }
673
674  Bool getUseTransformSkip                             ()      { return m_useTransformSkip;        }
675  Void setUseTransformSkip                             ( Bool b ) { m_useTransformSkip  = b;       }
676  Bool getTransformSkipRotationEnabledFlag             ()            const { return m_transformSkipRotationEnabledFlag;  }
677  Void setTransformSkipRotationEnabledFlag             (const Bool value)  { m_transformSkipRotationEnabledFlag = value; }
678  Bool getTransformSkipContextEnabledFlag              ()            const { return m_transformSkipContextEnabledFlag;  }
679  Void setTransformSkipContextEnabledFlag              (const Bool value)  { m_transformSkipContextEnabledFlag = value; }
680  Bool getPersistentRiceAdaptationEnabledFlag          ()                 const { return m_persistentRiceAdaptationEnabledFlag;  }
681  Void setPersistentRiceAdaptationEnabledFlag          (const Bool value)       { m_persistentRiceAdaptationEnabledFlag = value; }
682  Bool getCabacBypassAlignmentEnabledFlag              ()       const      { return m_cabacBypassAlignmentEnabledFlag;  }
683  Void setCabacBypassAlignmentEnabledFlag              (const Bool value)  { m_cabacBypassAlignmentEnabledFlag = value; }
684  Bool getRdpcmEnabledFlag                             (const RDPCMSignallingMode signallingMode)        const      { return m_rdpcmEnabledFlag[signallingMode];  }
685  Void setRdpcmEnabledFlag                             (const RDPCMSignallingMode signallingMode, const Bool value) { m_rdpcmEnabledFlag[signallingMode] = value; }
686  Bool getUseTransformSkipFast                         ()      { return m_useTransformSkipFast;    }
687  Void setUseTransformSkipFast                         ( Bool b ) { m_useTransformSkipFast  = b;   }
688  UInt getLog2MaxTransformSkipBlockSize                () const      { return m_log2MaxTransformSkipBlockSize;     }
689  Void setLog2MaxTransformSkipBlockSize                ( UInt u )    { m_log2MaxTransformSkipBlockSize  = u;       }
690  Bool getIntraSmoothingDisabledFlag               ()      const { return m_intraSmoothingDisabledFlag; }
691  Void setIntraSmoothingDisabledFlag               (Bool bValue) { m_intraSmoothingDisabledFlag=bValue; }
692
693  Int*      getdQPs                         ()       { return m_aidQP;       }
694  UInt      getDeltaQpRD                    () const { return m_uiDeltaQpRD; }
695  Bool      getFastDeltaQp                  () const { return m_bFastDeltaQP; }
696
697  //====== Slice ========
698  Void  setSliceMode                   ( SliceConstraint  i )        { m_sliceMode = i;              }
699  Void  setSliceArgument               ( Int  i )                    { m_sliceArgument = i;          }
700  SliceConstraint getSliceMode         () const                      { return m_sliceMode;           }
701  Int   getSliceArgument               ()                            { return m_sliceArgument;       }
702  //====== Dependent Slice ========
703  Void  setSliceSegmentMode            ( SliceConstraint  i )        { m_sliceSegmentMode = i;       }
704  Void  setSliceSegmentArgument        ( Int  i )                    { m_sliceSegmentArgument = i;   }
705  SliceConstraint getSliceSegmentMode  () const                      { return m_sliceSegmentMode;    }
706  Int   getSliceSegmentArgument        ()                            { return m_sliceSegmentArgument;}
707  Void      setLFCrossSliceBoundaryFlag     ( Bool   bValue  )       { m_bLFCrossSliceBoundaryFlag = bValue; }
708  Bool      getLFCrossSliceBoundaryFlag     ()                       { return m_bLFCrossSliceBoundaryFlag;   }
709
710  Void      setUseSAO                  (Bool bVal)                   { m_bUseSAO = bVal; }
711  Bool      getUseSAO                  ()                            { return m_bUseSAO; }
712  Void  setTestSAODisableAtPictureLevel (Bool bVal)                  { m_bTestSAODisableAtPictureLevel = bVal; }
713  Bool  getTestSAODisableAtPictureLevel ( ) const                    { return m_bTestSAODisableAtPictureLevel; }
714
715  Void   setSaoEncodingRate(Double v)                                { m_saoEncodingRate = v; }
716  Double getSaoEncodingRate() const                                  { return m_saoEncodingRate; }
717  Void   setSaoEncodingRateChroma(Double v)                          { m_saoEncodingRateChroma = v; }
718  Double getSaoEncodingRateChroma() const                            { return m_saoEncodingRateChroma; }
719  Void  setMaxNumOffsetsPerPic                   (Int iVal)          { m_maxNumOffsetsPerPic = iVal; }
720  Int   getMaxNumOffsetsPerPic                   ()                  { return m_maxNumOffsetsPerPic; }
721  Void  setSaoCtuBoundary              (Bool val)                    { m_saoCtuBoundary = val; }
722  Bool  getSaoCtuBoundary              ()                            { return m_saoCtuBoundary; }
723  Void  setLFCrossTileBoundaryFlag               ( Bool   val  )     { m_loopFilterAcrossTilesEnabledFlag = val; }
724  Bool  getLFCrossTileBoundaryFlag               ()                  { return m_loopFilterAcrossTilesEnabledFlag;   }
725  Void  setTileUniformSpacingFlag      ( Bool b )                    { m_tileUniformSpacingFlag = b; }
726  Bool  getTileUniformSpacingFlag      ()                            { return m_tileUniformSpacingFlag; }
727  Void  setNumColumnsMinus1            ( Int i )                     { m_iNumColumnsMinus1 = i; }
728  Int   getNumColumnsMinus1            ()                            { return m_iNumColumnsMinus1; }
729  Void  setColumnWidth ( const std::vector<Int>& columnWidth )       { m_tileColumnWidth = columnWidth; }
730  UInt  getColumnWidth                 ( UInt columnIdx )            { return m_tileColumnWidth[columnIdx]; }
731  Void  setNumRowsMinus1               ( Int i )                     { m_iNumRowsMinus1 = i; }
732  Int   getNumRowsMinus1               ()                            { return m_iNumRowsMinus1; }
733  Void  setRowHeight ( const std::vector<Int>& rowHeight)            { m_tileRowHeight = rowHeight; }
734  UInt  getRowHeight                   ( UInt rowIdx )               { return m_tileRowHeight[rowIdx]; }
735  Void  xCheckGSParameters();
736  Void  setWaveFrontSynchro(Int iWaveFrontSynchro)                   { m_iWaveFrontSynchro = iWaveFrontSynchro; }
737  Int   getWaveFrontsynchro()                                        { return m_iWaveFrontSynchro; }
738  Void  setDecodedPictureHashSEIEnabled(Int b)                       { m_decodedPictureHashSEIEnabled = b; }
739  Int   getDecodedPictureHashSEIEnabled()                            { return m_decodedPictureHashSEIEnabled; }
740  Void  setBufferingPeriodSEIEnabled(Int b)                          { m_bufferingPeriodSEIEnabled = b; }
741  Int   getBufferingPeriodSEIEnabled()                               { return m_bufferingPeriodSEIEnabled; }
742  Void  setPictureTimingSEIEnabled(Int b)                            { m_pictureTimingSEIEnabled = b; }
743  Int   getPictureTimingSEIEnabled()                                 { return m_pictureTimingSEIEnabled; }
744  Void  setRecoveryPointSEIEnabled(Int b)                            { m_recoveryPointSEIEnabled = b; }
745  Int   getRecoveryPointSEIEnabled()                                 { return m_recoveryPointSEIEnabled; }
746  Void  setToneMappingInfoSEIEnabled(Bool b)                         { m_toneMappingInfoSEIEnabled = b;  }
747  Bool  getToneMappingInfoSEIEnabled()                               { return m_toneMappingInfoSEIEnabled;  }
748  Void  setTMISEIToneMapId(Int b)                                    { m_toneMapId = b;  }
749  Int   getTMISEIToneMapId()                                         { return m_toneMapId;  }
750  Void  setTMISEIToneMapCancelFlag(Bool b)                           { m_toneMapCancelFlag=b;  }
751  Bool  getTMISEIToneMapCancelFlag()                                 { return m_toneMapCancelFlag;  }
752  Void  setTMISEIToneMapPersistenceFlag(Bool b)                      { m_toneMapPersistenceFlag = b;  }
753  Bool   getTMISEIToneMapPersistenceFlag()                           { return m_toneMapPersistenceFlag;  }
754  Void  setTMISEICodedDataBitDepth(Int b)                            { m_codedDataBitDepth = b;  }
755  Int   getTMISEICodedDataBitDepth()                                 { return m_codedDataBitDepth;  }
756  Void  setTMISEITargetBitDepth(Int b)                               { m_targetBitDepth = b;  }
757  Int   getTMISEITargetBitDepth()                                    { return m_targetBitDepth;  }
758  Void  setTMISEIModelID(Int b)                                      { m_modelId = b;  }
759  Int   getTMISEIModelID()                                           { return m_modelId;  }
760  Void  setTMISEIMinValue(Int b)                                     { m_minValue = b;  }
761  Int   getTMISEIMinValue()                                          { return m_minValue;  }
762  Void  setTMISEIMaxValue(Int b)                                     { m_maxValue = b;  }
763  Int   getTMISEIMaxValue()                                          { return m_maxValue;  }
764  Void  setTMISEISigmoidMidpoint(Int b)                              { m_sigmoidMidpoint = b;  }
765  Int   getTMISEISigmoidMidpoint()                                   { return m_sigmoidMidpoint;  }
766  Void  setTMISEISigmoidWidth(Int b)                                 { m_sigmoidWidth = b;  }
767  Int   getTMISEISigmoidWidth()                                      { return m_sigmoidWidth;  }
768  Void  setTMISEIStartOfCodedInterva( Int*  p )                      { m_startOfCodedInterval = p;  }
769  Int*  getTMISEIStartOfCodedInterva()                               { return m_startOfCodedInterval;  }
770  Void  setTMISEINumPivots(Int b)                                    { m_numPivots = b;  }
771  Int   getTMISEINumPivots()                                         { return m_numPivots;  }
772  Void  setTMISEICodedPivotValue( Int*  p )                          { m_codedPivotValue = p;  }
773  Int*  getTMISEICodedPivotValue()                                   { return m_codedPivotValue;  }
774  Void  setTMISEITargetPivotValue( Int*  p )                         { m_targetPivotValue = p;  }
775  Int*  getTMISEITargetPivotValue()                                  { return m_targetPivotValue;  }
776  Void  setTMISEICameraIsoSpeedIdc(Int b)                            { m_cameraIsoSpeedIdc = b;  }
777  Int   getTMISEICameraIsoSpeedIdc()                                 { return m_cameraIsoSpeedIdc;  }
778  Void  setTMISEICameraIsoSpeedValue(Int b)                          { m_cameraIsoSpeedValue = b;  }
779  Int   getTMISEICameraIsoSpeedValue()                               { return m_cameraIsoSpeedValue;  }
780  Void  setTMISEIExposureIndexIdc(Int b)                             { m_exposureIndexIdc = b;  }
781  Int   getTMISEIExposurIndexIdc()                                   { return m_exposureIndexIdc;  }
782  Void  setTMISEIExposureIndexValue(Int b)                           { m_exposureIndexValue = b;  }
783  Int   getTMISEIExposurIndexValue()                                 { return m_exposureIndexValue;  }
784  Void  setTMISEIExposureCompensationValueSignFlag(Bool b)           { m_exposureCompensationValueSignFlag = b;  }
785  Bool  getTMISEIExposureCompensationValueSignFlag()                 { return m_exposureCompensationValueSignFlag;  }
786  Void  setTMISEIExposureCompensationValueNumerator(Int b)           { m_exposureCompensationValueNumerator = b;  }
787  Int   getTMISEIExposureCompensationValueNumerator()                { return m_exposureCompensationValueNumerator;  }
788  Void  setTMISEIExposureCompensationValueDenomIdc(Int b)            { m_exposureCompensationValueDenomIdc =b;  }
789  Int   getTMISEIExposureCompensationValueDenomIdc()                 { return m_exposureCompensationValueDenomIdc;  }
790  Void  setTMISEIRefScreenLuminanceWhite(Int b)                      { m_refScreenLuminanceWhite = b;  }
791  Int   getTMISEIRefScreenLuminanceWhite()                           { return m_refScreenLuminanceWhite;  }
792  Void  setTMISEIExtendedRangeWhiteLevel(Int b)                      { m_extendedRangeWhiteLevel = b;  }
793  Int   getTMISEIExtendedRangeWhiteLevel()                           { return m_extendedRangeWhiteLevel;  }
794  Void  setTMISEINominalBlackLevelLumaCodeValue(Int b)               { m_nominalBlackLevelLumaCodeValue = b;  }
795  Int   getTMISEINominalBlackLevelLumaCodeValue()                    { return m_nominalBlackLevelLumaCodeValue;  }
796  Void  setTMISEINominalWhiteLevelLumaCodeValue(Int b)               { m_nominalWhiteLevelLumaCodeValue = b;  }
797  Int   getTMISEINominalWhiteLevelLumaCodeValue()                    { return m_nominalWhiteLevelLumaCodeValue;  }
798  Void  setTMISEIExtendedWhiteLevelLumaCodeValue(Int b)              { m_extendedWhiteLevelLumaCodeValue =b;  }
799  Int   getTMISEIExtendedWhiteLevelLumaCodeValue()                   { return m_extendedWhiteLevelLumaCodeValue;  }
800  Void  setFramePackingArrangementSEIEnabled(Int b)                  { m_framePackingSEIEnabled = b; }
801  Int   getFramePackingArrangementSEIEnabled()                       { return m_framePackingSEIEnabled; }
802  Void  setFramePackingArrangementSEIType(Int b)                     { m_framePackingSEIType = b; }
803  Int   getFramePackingArrangementSEIType()                          { return m_framePackingSEIType; }
804  Void  setFramePackingArrangementSEIId(Int b)                       { m_framePackingSEIId = b; }
805  Int   getFramePackingArrangementSEIId()                            { return m_framePackingSEIId; }
806  Void  setFramePackingArrangementSEIQuincunx(Int b)                 { m_framePackingSEIQuincunx = b; }
807  Int   getFramePackingArrangementSEIQuincunx()                      { return m_framePackingSEIQuincunx; }
808  Void  setFramePackingArrangementSEIInterpretation(Int b)           { m_framePackingSEIInterpretation = b; }
809  Int   getFramePackingArrangementSEIInterpretation()                { return m_framePackingSEIInterpretation; }
810  Void  setSegmentedRectFramePackingArrangementSEIEnabled(Int b)     { m_segmentedRectFramePackingSEIEnabled = b; }
811  Int   getSegmentedRectFramePackingArrangementSEIEnabled()          { return m_segmentedRectFramePackingSEIEnabled; }
812  Void  setSegmentedRectFramePackingArrangementSEICancel(Int b)      { m_segmentedRectFramePackingSEICancel = b; }
813  Int   getSegmentedRectFramePackingArrangementSEICancel()           { return m_segmentedRectFramePackingSEICancel; }
814  Void  setSegmentedRectFramePackingArrangementSEIType(Int b)        { m_segmentedRectFramePackingSEIType = b; }
815  Int   getSegmentedRectFramePackingArrangementSEIType()             { return m_segmentedRectFramePackingSEIType; }
816  Void  setSegmentedRectFramePackingArrangementSEIPersistence(Int b) { m_segmentedRectFramePackingSEIPersistence = b; }
817  Int   getSegmentedRectFramePackingArrangementSEIPersistence()      { return m_segmentedRectFramePackingSEIPersistence; }
818  Void  setDisplayOrientationSEIAngle(Int b)                         { m_displayOrientationSEIAngle = b; }
819  Int   getDisplayOrientationSEIAngle()                              { return m_displayOrientationSEIAngle; }
820  Void  setTemporalLevel0IndexSEIEnabled(Int b)                      { m_temporalLevel0IndexSEIEnabled = b; }
821  Int   getTemporalLevel0IndexSEIEnabled()                           { return m_temporalLevel0IndexSEIEnabled; }
822  Void  setGradualDecodingRefreshInfoEnabled(Int b)                  { m_gradualDecodingRefreshInfoEnabled = b;    }
823  Int   getGradualDecodingRefreshInfoEnabled()                       { return m_gradualDecodingRefreshInfoEnabled; }
824  Void  setNoDisplaySEITLayer(Int b)                                 { m_noDisplaySEITLayer = b;    }
825  Int   getNoDisplaySEITLayer()                                      { return m_noDisplaySEITLayer; }
826  Void  setDecodingUnitInfoSEIEnabled(Int b)                         { m_decodingUnitInfoSEIEnabled = b;    }
827  Int   getDecodingUnitInfoSEIEnabled()                              { return m_decodingUnitInfoSEIEnabled; }
828  Void  setSOPDescriptionSEIEnabled(Int b)                           { m_SOPDescriptionSEIEnabled = b; }
829  Int   getSOPDescriptionSEIEnabled()                                { return m_SOPDescriptionSEIEnabled; }
830  Void  setScalableNestingSEIEnabled(Int b)                          { m_scalableNestingSEIEnabled = b; }
831  Int   getScalableNestingSEIEnabled()                               { return m_scalableNestingSEIEnabled; }
832  Void  setTMCTSSEIEnabled(Bool b)                                   { m_tmctsSEIEnabled = b; }
833  Bool  getTMCTSSEIEnabled()                                         { return m_tmctsSEIEnabled; }
834  Void  setTimeCodeSEIEnabled(Bool b)                                { m_timeCodeSEIEnabled = b; }
835  Bool  getTimeCodeSEIEnabled()                                      { return m_timeCodeSEIEnabled; }
836  Void  setNumberOfTimeSets(Int value)                               { m_timeCodeSEINumTs = value; }
837  Int   getNumberOfTimesets()                                        { return m_timeCodeSEINumTs; }
838  Void  setTimeSet(TComSEITimeSet element, Int index)                { m_timeSetArray[index] = element; }
839  TComSEITimeSet &getTimeSet(Int index)                              { return m_timeSetArray[index]; }
840  const TComSEITimeSet &getTimeSet(Int index) const                  { return m_timeSetArray[index]; }
841  Void  setKneeSEIEnabled(Int b)                                     { m_kneeSEIEnabled = b; }
842  Bool  getKneeSEIEnabled()                                          { return m_kneeSEIEnabled; }
843  Void  setKneeSEIId(Int b)                                          { m_kneeSEIId = b; }
844  Int   getKneeSEIId()                                               { return m_kneeSEIId; }
845  Void  setKneeSEICancelFlag(Bool b)                                 { m_kneeSEICancelFlag=b; }
846  Bool  getKneeSEICancelFlag()                                       { return m_kneeSEICancelFlag; }
847  Void  setKneeSEIPersistenceFlag(Bool b)                            { m_kneeSEIPersistenceFlag = b; }
848  Bool  getKneeSEIPersistenceFlag()                                  { return m_kneeSEIPersistenceFlag; }
849  Void  setKneeSEIInputDrange(Int b)                                 { m_kneeSEIInputDrange = b; }
850  Int   getKneeSEIInputDrange()                                      { return m_kneeSEIInputDrange; }
851  Void  setKneeSEIInputDispLuminance(Int b)                          { m_kneeSEIInputDispLuminance = b; }
852  Int   getKneeSEIInputDispLuminance()                               { return m_kneeSEIInputDispLuminance; }
853  Void  setKneeSEIOutputDrange(Int b)                                { m_kneeSEIOutputDrange = b; }
854  Int   getKneeSEIOutputDrange()                                     { return m_kneeSEIOutputDrange; }
855  Void  setKneeSEIOutputDispLuminance(Int b)                         { m_kneeSEIOutputDispLuminance = b; }
856  Int   getKneeSEIOutputDispLuminance()                              { return m_kneeSEIOutputDispLuminance; }
857  Void  setKneeSEINumKneePointsMinus1(Int b)                         { m_kneeSEINumKneePointsMinus1 = b; }
858  Int   getKneeSEINumKneePointsMinus1()                              { return m_kneeSEINumKneePointsMinus1; }
859  Void  setKneeSEIInputKneePoint(Int *p)                             { m_kneeSEIInputKneePoint = p; }
860  Int*  getKneeSEIInputKneePoint()                                   { return m_kneeSEIInputKneePoint; }
861  Void  setKneeSEIOutputKneePoint(Int *p)                            { m_kneeSEIOutputKneePoint = p; }
862  Int*  getKneeSEIOutputKneePoint()                                  { return m_kneeSEIOutputKneePoint; }
863  Void  setMasteringDisplaySEI(const TComSEIMasteringDisplay &src)   { m_masteringDisplay = src; }
864  const TComSEIMasteringDisplay &getMasteringDisplaySEI() const      { return m_masteringDisplay; }
865#if NH_MV
866  Bool   getSubBitstreamPropSEIEnabled()                             { return m_subBistreamPropSEIEnabled;}
867  Void   setSubBitstreamPropSEIEnabled(Bool x)                       { m_subBistreamPropSEIEnabled = x;}
868                                                                     
869  Int    getNumAdditionalSubStreams()                                { return m_numAdditionalSubStreams;}
870  Void   setNumAdditionalSubStreams(Int x)                           { m_numAdditionalSubStreams = x;}
871
872  std::vector<Int> const &getSubBitstreamMode()                      { return m_subBitstreamMode;}
873  Int   getSubBitstreamMode(Int idx)                                 { return m_subBitstreamMode[idx];}
874  Void  setSubBitstreamMode(std::vector<Int> &x)                     { m_subBitstreamMode = x;}
875
876  std::vector<Int> const &getOutputLayerSetIdxToVps()                { return m_outputLayerSetIdxToVps;}
877  Int   getOutputLayerSetIdxToVps(Int idx)                           { return m_outputLayerSetIdxToVps[idx];}
878  Void  setOutputLayerSetIdxToVps(std::vector<Int> &x)               { m_outputLayerSetIdxToVps = x;}
879                                                                     
880  std::vector<Int> const &getHighestSublayerId()                     { return m_highestSublayerId;}
881  Int   getHighestSublayerId(Int idx)                                { return m_highestSublayerId[idx];}
882  Void  setHighestSublayerId(std::vector<Int> &x)                    { m_highestSublayerId = x;}
883                                                                     
884  std::vector<Int> const &getAvgBitRate()                            { return m_avgBitRate;}
885  Int   getAvgBitRate(Int idx)                                       { return m_avgBitRate[idx];}
886  Void  setAvgBitRate(std::vector<Int> &x)                           { m_avgBitRate = x;}
887                                                                     
888  std::vector<Int> const &getMaxBitRate()                            { return m_maxBitRate;}
889  Int   getMaxBitRate(Int idx)                                       { return m_maxBitRate[idx];}
890  Void  setMaxBitRate(std::vector<Int> &x)                           { m_maxBitRate = x;}
891
892#endif
893
894  Void         setUseWP               ( Bool b )                     { m_useWeightedPred   = b;    }
895  Void         setWPBiPred            ( Bool b )                     { m_useWeightedBiPred = b;    }
896  Bool         getUseWP               ()                             { return m_useWeightedPred;   }
897  Bool         getWPBiPred            ()                             { return m_useWeightedBiPred; }
898  Void         setLog2ParallelMergeLevelMinus2   ( UInt u )          { m_log2ParallelMergeLevelMinus2       = u;    }
899  UInt         getLog2ParallelMergeLevelMinus2   ()                  { return m_log2ParallelMergeLevelMinus2;       }
900  Void         setMaxNumMergeCand                ( UInt u )          { m_maxNumMergeCand = u;      }
901  UInt         getMaxNumMergeCand                ()                  { return m_maxNumMergeCand;   }
902  Void         setUseScalingListId    ( ScalingListMode u )          { m_useScalingListId       = u;   }
903  ScalingListMode getUseScalingListId    ()                          { return m_useScalingListId;      }
904  Void         setScalingListFile     ( Char*  pch )                 { m_scalingListFile     = pch; }
905  Char*        getScalingListFile     ()                             { return m_scalingListFile;    }
906  Void         setTMVPModeId ( Int  u )                              { m_TMVPModeId = u;    }
907  Int          getTMVPModeId ()                                      { return m_TMVPModeId; }
908  Void         setSignHideFlag( Bool signHideFlag )                  { m_signHideFlag = signHideFlag; }
909  Bool         getSignHideFlag()                                     { return m_signHideFlag; }
910  Bool         getUseRateCtrl         ()                             { return m_RCEnableRateControl;   }
911  Void         setUseRateCtrl         ( Bool b )                     { m_RCEnableRateControl = b;      }
912  Int          getTargetBitrate       ()                             { return m_RCTargetBitrate;       }
913  Void         setTargetBitrate       ( Int bitrate )                { m_RCTargetBitrate  = bitrate;   }
914  Int          getKeepHierBit         ()                             { return m_RCKeepHierarchicalBit; }
915  Void         setKeepHierBit         ( Int i )                      { m_RCKeepHierarchicalBit = i;    }
916  Bool         getLCULevelRC          ()                             { return m_RCLCULevelRC; }
917  Void         setLCULevelRC          ( Bool b )                     { m_RCLCULevelRC = b; }
918  Bool         getUseLCUSeparateModel ()                             { return m_RCUseLCUSeparateModel; }
919  Void         setUseLCUSeparateModel ( Bool b )                     { m_RCUseLCUSeparateModel = b;    }
920  Int          getInitialQP           ()                             { return m_RCInitialQP;           }
921  Void         setInitialQP           ( Int QP )                     { m_RCInitialQP = QP;             }
922  Bool         getForceIntraQP        ()                             { return m_RCForceIntraQP;        }
923  Void         setForceIntraQP        ( Bool b )                     { m_RCForceIntraQP = b;           }
924
925  Bool         getTransquantBypassEnableFlag()                       { return m_TransquantBypassEnableFlag; }
926  Void         setTransquantBypassEnableFlag(Bool flag)              { m_TransquantBypassEnableFlag = flag; }
927  Bool         getCUTransquantBypassFlagForceValue()                 { return m_CUTransquantBypassFlagForce; }
928  Void         setCUTransquantBypassFlagForceValue(Bool flag)        { m_CUTransquantBypassFlagForce = flag; }
929  CostMode     getCostMode( )                                        { return m_costMode; }
930  Void         setCostMode(CostMode m )                              { m_costMode = m; }
931#if NH_MV
932  Void         setVPS( TComVPS *p )                                  { m_cVPS = p;    }
933  TComVPS*     getVPS()                                              { return m_cVPS; }
934#else
935  Void         setVPS(TComVPS *p)                                    { m_cVPS = *p; }
936  TComVPS *    getVPS()                                              { return &m_cVPS; }
937#endif
938
939  Void         setUseRecalculateQPAccordingToLambda (Bool b)         { m_recalculateQPAccordingToLambda = b;    }
940  Bool         getUseRecalculateQPAccordingToLambda ()               { return m_recalculateQPAccordingToLambda; }
941
942  Void         setUseStrongIntraSmoothing ( Bool b )                 { m_useStrongIntraSmoothing = b;    }
943  Bool         getUseStrongIntraSmoothing ()                         { return m_useStrongIntraSmoothing; }
944
945  Void         setEfficientFieldIRAPEnabled( Bool b )                { m_bEfficientFieldIRAPEnabled = b; }
946  Bool         getEfficientFieldIRAPEnabled( ) const                 { return m_bEfficientFieldIRAPEnabled; }
947
948  Void         setHarmonizeGopFirstFieldCoupleEnabled( Bool b )      { m_bHarmonizeGopFirstFieldCoupleEnabled = b; }
949  Bool         getHarmonizeGopFirstFieldCoupleEnabled( ) const       { return m_bHarmonizeGopFirstFieldCoupleEnabled; }
950
951  Void         setActiveParameterSetsSEIEnabled ( Int b )            { m_activeParameterSetsSEIEnabled = b; }
952  Int          getActiveParameterSetsSEIEnabled ()                   { return m_activeParameterSetsSEIEnabled; }
953  Bool         getVuiParametersPresentFlag()                         { return m_vuiParametersPresentFlag; }
954  Void         setVuiParametersPresentFlag(Bool i)                   { m_vuiParametersPresentFlag = i; }
955  Bool         getAspectRatioInfoPresentFlag()                       { return m_aspectRatioInfoPresentFlag; }
956  Void         setAspectRatioInfoPresentFlag(Bool i)                 { m_aspectRatioInfoPresentFlag = i; }
957  Int          getAspectRatioIdc()                                   { return m_aspectRatioIdc; }
958  Void         setAspectRatioIdc(Int i)                              { m_aspectRatioIdc = i; }
959  Int          getSarWidth()                                         { return m_sarWidth; }
960  Void         setSarWidth(Int i)                                    { m_sarWidth = i; }
961  Int          getSarHeight()                                        { return m_sarHeight; }
962  Void         setSarHeight(Int i)                                   { m_sarHeight = i; }
963  Bool         getOverscanInfoPresentFlag()                          { return m_overscanInfoPresentFlag; }
964  Void         setOverscanInfoPresentFlag(Bool i)                    { m_overscanInfoPresentFlag = i; }
965  Bool         getOverscanAppropriateFlag()                          { return m_overscanAppropriateFlag; }
966  Void         setOverscanAppropriateFlag(Bool i)                    { m_overscanAppropriateFlag = i; }
967  Bool         getVideoSignalTypePresentFlag()                       { return m_videoSignalTypePresentFlag; }
968  Void         setVideoSignalTypePresentFlag(Bool i)                 { m_videoSignalTypePresentFlag = i; }
969  Int          getVideoFormat()                                      { return m_videoFormat; }
970  Void         setVideoFormat(Int i)                                 { m_videoFormat = i; }
971  Bool         getVideoFullRangeFlag()                               { return m_videoFullRangeFlag; }
972  Void         setVideoFullRangeFlag(Bool i)                         { m_videoFullRangeFlag = i; }
973  Bool         getColourDescriptionPresentFlag()                     { return m_colourDescriptionPresentFlag; }
974  Void         setColourDescriptionPresentFlag(Bool i)               { m_colourDescriptionPresentFlag = i; }
975  Int          getColourPrimaries()                                  { return m_colourPrimaries; }
976  Void         setColourPrimaries(Int i)                             { m_colourPrimaries = i; }
977  Int          getTransferCharacteristics()                          { return m_transferCharacteristics; }
978  Void         setTransferCharacteristics(Int i)                     { m_transferCharacteristics = i; }
979  Int          getMatrixCoefficients()                               { return m_matrixCoefficients; }
980  Void         setMatrixCoefficients(Int i)                          { m_matrixCoefficients = i; }
981  Bool         getChromaLocInfoPresentFlag()                         { return m_chromaLocInfoPresentFlag; }
982  Void         setChromaLocInfoPresentFlag(Bool i)                   { m_chromaLocInfoPresentFlag = i; }
983  Int          getChromaSampleLocTypeTopField()                      { return m_chromaSampleLocTypeTopField; }
984  Void         setChromaSampleLocTypeTopField(Int i)                 { m_chromaSampleLocTypeTopField = i; }
985  Int          getChromaSampleLocTypeBottomField()                   { return m_chromaSampleLocTypeBottomField; }
986  Void         setChromaSampleLocTypeBottomField(Int i)              { m_chromaSampleLocTypeBottomField = i; }
987  Bool         getNeutralChromaIndicationFlag()                      { return m_neutralChromaIndicationFlag; }
988  Void         setNeutralChromaIndicationFlag(Bool i)                { m_neutralChromaIndicationFlag = i; }
989  Window      &getDefaultDisplayWindow()                             { return m_defaultDisplayWindow; }
990  Void         setDefaultDisplayWindow (Int offsetLeft, Int offsetRight, Int offsetTop, Int offsetBottom ) { m_defaultDisplayWindow.setWindow (offsetLeft, offsetRight, offsetTop, offsetBottom); }
991  Bool         getFrameFieldInfoPresentFlag()                        { return m_frameFieldInfoPresentFlag; }
992  Void         setFrameFieldInfoPresentFlag(Bool i)                  { m_frameFieldInfoPresentFlag = i; }
993  Bool         getPocProportionalToTimingFlag()                      { return m_pocProportionalToTimingFlag; }
994  Void         setPocProportionalToTimingFlag(Bool x)                { m_pocProportionalToTimingFlag = x;    }
995  Int          getNumTicksPocDiffOneMinus1()                         { return m_numTicksPocDiffOneMinus1;    }
996  Void         setNumTicksPocDiffOneMinus1(Int x)                    { m_numTicksPocDiffOneMinus1 = x;       }
997  Bool         getBitstreamRestrictionFlag()                         { return m_bitstreamRestrictionFlag; }
998  Void         setBitstreamRestrictionFlag(Bool i)                   { m_bitstreamRestrictionFlag = i; }
999  Bool         getTilesFixedStructureFlag()                          { return m_tilesFixedStructureFlag; }
1000  Void         setTilesFixedStructureFlag(Bool i)                    { m_tilesFixedStructureFlag = i; }
1001  Bool         getMotionVectorsOverPicBoundariesFlag()               { return m_motionVectorsOverPicBoundariesFlag; }
1002  Void         setMotionVectorsOverPicBoundariesFlag(Bool i)         { m_motionVectorsOverPicBoundariesFlag = i; }
1003  Int          getMinSpatialSegmentationIdc()                        { return m_minSpatialSegmentationIdc; }
1004  Void         setMinSpatialSegmentationIdc(Int i)                   { m_minSpatialSegmentationIdc = i; }
1005  Int          getMaxBytesPerPicDenom()                              { return m_maxBytesPerPicDenom; }
1006  Void         setMaxBytesPerPicDenom(Int i)                         { m_maxBytesPerPicDenom = i; }
1007  Int          getMaxBitsPerMinCuDenom()                             { return m_maxBitsPerMinCuDenom; }
1008  Void         setMaxBitsPerMinCuDenom(Int i)                        { m_maxBitsPerMinCuDenom = i; }
1009  Int          getLog2MaxMvLengthHorizontal()                        { return m_log2MaxMvLengthHorizontal; }
1010  Void         setLog2MaxMvLengthHorizontal(Int i)                   { m_log2MaxMvLengthHorizontal = i; }
1011  Int          getLog2MaxMvLengthVertical()                          { return m_log2MaxMvLengthVertical; }
1012  Void         setLog2MaxMvLengthVertical(Int i)                     { m_log2MaxMvLengthVertical = i; }
1013
1014  Bool         getProgressiveSourceFlag() const                      { return m_progressiveSourceFlag; }
1015  Void         setProgressiveSourceFlag(Bool b)                      { m_progressiveSourceFlag = b; }
1016
1017  Bool         getInterlacedSourceFlag() const                       { return m_interlacedSourceFlag; }
1018  Void         setInterlacedSourceFlag(Bool b)                       { m_interlacedSourceFlag = b; }
1019
1020  Bool         getNonPackedConstraintFlag() const                    { return m_nonPackedConstraintFlag; }
1021  Void         setNonPackedConstraintFlag(Bool b)                    { m_nonPackedConstraintFlag = b; }
1022
1023  Bool         getFrameOnlyConstraintFlag() const                    { return m_frameOnlyConstraintFlag; }
1024  Void         setFrameOnlyConstraintFlag(Bool b)                    { m_frameOnlyConstraintFlag = b; }
1025
1026  UInt         getBitDepthConstraintValue() const                    { return m_bitDepthConstraintValue; }
1027  Void         setBitDepthConstraintValue(UInt v)                    { m_bitDepthConstraintValue=v; }
1028
1029  ChromaFormat getChromaFormatConstraintValue() const                { return m_chromaFormatConstraintValue; }
1030  Void         setChromaFormatConstraintValue(ChromaFormat v)        { m_chromaFormatConstraintValue=v; }
1031
1032  Bool         getIntraConstraintFlag() const                        { return m_intraConstraintFlag; }
1033  Void         setIntraConstraintFlag(Bool b)                        { m_intraConstraintFlag=b; }
1034
1035  Bool         getOnePictureOnlyConstraintFlag() const               { return m_onePictureOnlyConstraintFlag; }
1036  Void         setOnePictureOnlyConstraintFlag(Bool b)               { m_onePictureOnlyConstraintFlag=b; }
1037
1038  Bool         getLowerBitRateConstraintFlag() const                 { return m_lowerBitRateConstraintFlag; }
1039  Void         setLowerBitRateConstraintFlag(Bool b)                 { m_lowerBitRateConstraintFlag=b; }
1040  Bool      getChromaSamplingFilterHintEnabled()                     { return m_chromaSamplingFilterHintEnabled;}
1041  Void      setChromaSamplingFilterHintEnabled(Bool i)               { m_chromaSamplingFilterHintEnabled = i;}
1042  Int       getChromaSamplingHorFilterIdc()                          { return m_chromaSamplingHorFilterIdc;}
1043  Void      setChromaSamplingHorFilterIdc(Int i)                     { m_chromaSamplingHorFilterIdc = i;}
1044  Int       getChromaSamplingVerFilterIdc()                          { return m_chromaSamplingVerFilterIdc;}
1045  Void      setChromaSamplingVerFilterIdc(Int i)                     { m_chromaSamplingVerFilterIdc = i;}
1046
1047  Void      setSummaryOutFilename(const std::string &s)              { m_summaryOutFilename = s; }
1048  const std::string& getSummaryOutFilename() const                   { return m_summaryOutFilename; }
1049  Void      setSummaryPicFilenameBase(const std::string &s)          { m_summaryPicFilenameBase = s; }
1050  const std::string& getSummaryPicFilenameBase() const               { return m_summaryPicFilenameBase; }
1051
1052  Void      setSummaryVerboseness(UInt v)                            { m_summaryVerboseness = v; }
1053  UInt      getSummaryVerboseness( ) const                           { return m_summaryVerboseness; }
1054
1055};
1056
1057//! \}
1058
1059#endif // !defined(AFX_TENCCFG_H__6B99B797_F4DA_4E46_8E78_7656339A6C41__INCLUDED_)
Note: See TracBrowser for help on using the repository browser.