HEVC Test Model (HM)  HM-16.3
TEncCfg.h
Go to the documentation of this file.
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 
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 
49 struct GOPEntry
50 {
69  : m_POC(-1)
70  , m_QPOffset(0)
71  , m_QPFactor(0)
72  , m_tcOffsetDiv2(0)
73  , m_betaOffsetDiv2(0)
74  , m_temporalId(0)
75  , m_refPic(false)
76  , m_numRefPicsActive(0)
77  , m_sliceType('P')
78  , m_numRefPics(0)
79  , m_interRPSPrediction(false)
80  , m_deltaRPS(0)
81  , m_numRefIdc(0)
82  , m_isEncoded(false)
83  {
84  ::memset( m_referencePics, 0, sizeof(m_referencePics) );
85  ::memset( m_usedByCurrPic, 0, sizeof(m_usedByCurrPic) );
86  ::memset( m_refIdc, 0, sizeof(m_refIdc) );
87  }
88 };
89 
90 std::istringstream &operator>>(std::istringstream &in, GOPEntry &entry); //input
93 
94 // ====================================================================================================================
95 // Class definition
96 // ====================================================================================================================
97 
99 class TEncCfg
100 {
101 protected:
102  //==== File I/O ========
110 
115 
116  /* profile & level */
128 
129  //====== Coding Structure ========
137 
138  Int m_iQP; // if (AdaptiveQP == OFF)
139 
141 
142 
144  // TODO: We need to have a common sliding mechanism used by both the encoder and decoder
145 
148  //======= Transform =============
153 
154  //====== Loop/Deblock Filter ========
164 
165  //====== Motion search ========
166  Int m_iFastSearch; // 0:Full search 1:Diamond 2:PMVFAST
167  Int m_iSearchRange; // 0:Full frame
169 
170  //====== Quality control ========
171  Int m_iMaxDeltaQP; // Max. absolute delta QP (1:default)
172  Int m_iMaxCuDQPDepth; // Max. depth for a minimum CuDQP (0:default)
174 
175  Int m_chromaCbQpOffset; // Chroma Cb QP Offset (0:default)
176  Int m_chromaCrQpOffset; // Chroma Cr Qp Offset (0:default)
178 
179 #if ADAPTIVE_QP_SELECTION
181 #endif
186 
187  //====== Tool list ========
211 
216  //====== Slice ========
219  //====== Dependent Slice ========
223 
233  std::vector<Int> m_tileColumnWidth;
234  std::vector<Int> m_tileRowHeight;
235 
237 
301  //====== Weighted Prediction ========
302  Bool m_useWeightedPred; //< Use of Weighting Prediction (P_SLICE)
303  Bool m_useWeightedBiPred; //< Use of Bi-directional Weighting Prediction (B_SLICE)
319 
321 
358 
360 
361 public:
363  : m_tileColumnWidth()
364  , m_tileRowHeight()
365  {}
366 
367  virtual ~TEncCfg()
368  {}
369 
370  Void setProfile(Profile::Name profile) { m_profile = profile; }
371  Void setLevel(Level::Tier tier, Level::Name level) { m_levelTier = tier; m_level = level; }
372 
373  Void setFrameRate ( Int i ) { m_iFrameRate = i; }
374  Void setFrameSkip ( UInt i ) { m_FrameSkip = i; }
375  Void setSourceWidth ( Int i ) { m_iSourceWidth = i; }
376  Void setSourceHeight ( Int i ) { m_iSourceHeight = i; }
377 
379  Void setConformanceWindow (Int confLeft, Int confRight, Int confTop, Int confBottom ) { m_conformanceWindow.setWindow (confLeft, confRight, confTop, confBottom); }
380 
381  Void setFramesToBeEncoded ( Int i ) { m_framesToBeEncoded = i; }
382 
384  Void setPrintMSEBasedSequencePSNR (Bool value) { m_printMSEBasedSequencePSNR = value; }
385 
386  Bool getPrintFrameMSE () const { return m_printFrameMSE; }
387  Void setPrintFrameMSE (Bool value) { m_printFrameMSE = value; }
388 
390  Void setPrintSequenceMSE (Bool value) { m_printSequenceMSE = value; }
391 
393  Void setCabacZeroWordPaddingEnabled(Bool value) { m_cabacZeroWordPaddingEnabled = value; }
394 
395  //====== Coding Structure ========
396  Void setIntraPeriod ( Int i ) { m_uiIntraPeriod = (UInt)i; }
397  Void setDecodingRefreshType ( Int i ) { m_uiDecodingRefreshType = (UInt)i; }
398  Void setGOPSize ( Int i ) { m_iGOPSize = i; }
399  Void setGopList ( GOPEntry* GOPList ) { for ( Int i = 0; i < MAX_GOP; i++ ) m_GOPList[i] = GOPList[i]; }
400  Void setExtraRPSs ( Int i ) { m_extraRPSs = i; }
401  GOPEntry getGOPEntry ( Int i ) { return m_GOPList[i]; }
402  Void setEncodedFlag ( Int i, Bool value ) { m_GOPList[i].m_isEncoded = value; }
403  Void setMaxDecPicBuffering ( UInt u, UInt tlayer ) { m_maxDecPicBuffering[tlayer] = u; }
404  Void setNumReorderPics ( Int i, UInt tlayer ) { m_numReorderPics[tlayer] = i; }
405 
406  Void setQP ( Int i ) { m_iQP = i; }
407 
408  Void setPad ( Int* iPad ) { for ( Int i = 0; i < 2; i++ ) m_aiPad[i] = iPad[i]; }
409 
411  Void setMaxRefPicNum ( Int iMaxRefPicNum ) { m_iMaxRefPicNum = iMaxRefPicNum; }
412 
414  Void setMaxTempLayer ( Int maxTempLayer ) { m_maxTempLayer = maxTempLayer; }
415  //======== Transform =============
416  Void setQuadtreeTULog2MaxSize ( UInt u ) { m_uiQuadtreeTULog2MaxSize = u; }
417  Void setQuadtreeTULog2MinSize ( UInt u ) { m_uiQuadtreeTULog2MinSize = u; }
418  Void setQuadtreeTUMaxDepthInter ( UInt u ) { m_uiQuadtreeTUMaxDepthInter = u; }
419  Void setQuadtreeTUMaxDepthIntra ( UInt u ) { m_uiQuadtreeTUMaxDepthIntra = u; }
420 
421  Void setUseAMP( Bool b ) { m_useAMP = b; }
422 
423  //====== Loop/Deblock Filter ========
424  Void setLoopFilterDisable ( Bool b ) { m_bLoopFilterDisable = b; }
425  Void setLoopFilterOffsetInPPS ( Bool b ) { m_loopFilterOffsetInPPS = b; }
426  Void setLoopFilterBetaOffset ( Int i ) { m_loopFilterBetaOffsetDiv2 = i; }
427  Void setLoopFilterTcOffset ( Int i ) { m_loopFilterTcOffsetDiv2 = i; }
428  Void setDeblockingFilterControlPresent ( Bool b ) { m_DeblockingFilterControlPresent = b; }
429  Void setDeblockingFilterMetric ( Bool b ) { m_DeblockingFilterMetric = b; }
430 
431  //====== Motion search ========
432  Void setFastSearch ( Int i ) { m_iFastSearch = i; }
433  Void setSearchRange ( Int i ) { m_iSearchRange = i; }
434  Void setBipredSearchRange ( Int i ) { m_bipredSearchRange = i; }
435 
436  //====== Quality control ========
437  Void setMaxDeltaQP ( Int i ) { m_iMaxDeltaQP = i; }
438  Void setMaxCuDQPDepth ( Int i ) { m_iMaxCuDQPDepth = i; }
439 
441  Void setMaxCUChromaQpAdjustmentDepth (Int value) { m_maxCUChromaQpAdjustmentDepth = value; }
442 
443  Void setChromaCbQpOffset ( Int i ) { m_chromaCbQpOffset = i; }
444  Void setChromaCrQpOffset ( Int i ) { m_chromaCrQpOffset = i; }
445 
446  Void setChromaFormatIdc ( ChromaFormat cf ) { m_chromaFormatIDC = cf; }
448 
449 #if ADAPTIVE_QP_SELECTION
450  Void setUseAdaptQpSelect ( Bool i ) { m_bUseAdaptQpSelect = i; }
452 #endif
453 
455  Void setUseExtendedPrecision (Bool value) { m_useExtendedPrecision = value; }
456 
458  Void setUseHighPrecisionPredictionWeighting(Bool value) { m_useHighPrecisionPredictionWeighting = value; }
459 
460  Void setUseAdaptiveQP ( Bool b ) { m_bUseAdaptiveQP = b; }
461  Void setQPAdaptationRange ( Int i ) { m_iQPAdaptationRange = i; }
462 
463  //====== Sequence ========
469  Void setLambdaModifier ( UInt uiIndex, Double dValue ) { m_adLambdaModifier[ uiIndex ] = dValue; }
470  Double getLambdaModifier ( UInt uiIndex ) const { return m_adLambdaModifier[ uiIndex ]; }
471 
472  //==== Coding Structure ========
475  Int getGOPSize () { return m_iGOPSize; }
476  Int getMaxDecPicBuffering (UInt tlayer) { return m_maxDecPicBuffering[tlayer]; }
477  Int getNumReorderPics (UInt tlayer) { return m_numReorderPics[tlayer]; }
478  Int getQP () { return m_iQP; }
479 
480  Int getPad ( Int i ) { assert (i < 2 ); return m_aiPad[i]; }
481 
482  //======== Transform =============
487 
488  //==== Loop/Deblock Filter ========
495 
496  //==== Motion search ========
499 
500  //==== Quality control ========
505 
506  //==== Tool list ========
507  Void setUseASR ( Bool b ) { m_bUseASR = b; }
508  Void setUseHADME ( Bool b ) { m_bUseHADME = b; }
509  Void setUseRDOQ ( Bool b ) { m_useRDOQ = b; }
510  Void setUseRDOQTS ( Bool b ) { m_useRDOQTS = b; }
511  Void setRDpenalty ( UInt b ) { m_rdPenalty = b; }
512  Void setUseFastEnc ( Bool b ) { m_bUseFastEnc = b; }
513  Void setUseEarlyCU ( Bool b ) { m_bUseEarlyCU = b; }
514  Void setUseFastDecisionForMerge ( Bool b ) { m_useFastDecisionForMerge = b; }
515  Void setUseCbfFastMode ( Bool b ) { m_bUseCbfFastMode = b; }
516  Void setUseEarlySkipDetection ( Bool b ) { m_useEarlySkipDetection = b; }
517  Void setUseConstrainedIntraPred ( Bool b ) { m_bUseConstrainedIntraPred = b; }
518  Void setPCMInputBitDepthFlag ( Bool b ) { m_bPCMInputBitDepthFlag = b; }
519  Void setPCMFilterDisableFlag ( Bool b ) { m_bPCMFilterDisableFlag = b; }
520  Void setUsePCM ( Bool b ) { m_usePCM = b; }
521  Void setPCMLog2MaxSize ( UInt u ) { m_pcmLog2MaxSize = u; }
522  Void setPCMLog2MinSize ( UInt u ) { m_uiPCMLog2MinSize = u; }
523  Void setdQPs ( Int* p ) { m_aidQP = p; }
524  Void setDeltaQpRD ( UInt u ) {m_uiDeltaQpRD = u; }
525  Bool getUseASR () { return m_bUseASR; }
526  Bool getUseHADME () { return m_bUseHADME; }
527  Bool getUseRDOQ () { return m_useRDOQ; }
529  Int getRDpenalty () { return m_rdPenalty; }
538  Bool getUsePCM () { return m_usePCM; }
541 
543  Void setUseCrossComponentPrediction (const Bool value) { m_useCrossComponentPrediction = value; }
545  Void setUseReconBasedCrossCPredictionEstimate (const Bool value) { m_reconBasedCrossCPredictionEstimate = value; }
546  Void setSaoOffsetBitShift(ChannelType type, UInt uiBitShift) { m_saoOffsetBitShift[type] = uiBitShift; }
547 
549  Void setUseTransformSkip ( Bool b ) { m_useTransformSkip = b; }
551  Void setUseResidualRotation (const Bool value) { m_useResidualRotation = value; }
553  Void setUseSingleSignificanceMapContext (const Bool value) { m_useSingleSignificanceMapContext = value; }
555  Void setUseGolombRiceParameterAdaptation (const Bool value) { m_useGolombRiceParameterAdaptation = value; }
557  Void setAlignCABACBeforeBypass (const Bool value) { m_alignCABACBeforeBypass = value; }
558  Bool getUseResidualDPCM (const RDPCMSignallingMode signallingMode) const { return m_useResidualDPCM[signallingMode]; }
559  Void setUseResidualDPCM (const RDPCMSignallingMode signallingMode, const Bool value) { m_useResidualDPCM[signallingMode] = value; }
561  Void setUseTransformSkipFast ( Bool b ) { m_useTransformSkipFast = b; }
563  Void setTransformSkipLog2MaxSize ( UInt u ) { m_transformSkipLog2MaxSize = u; }
564  Void setDisableIntraReferenceSmoothing (Bool bValue) { m_disableIntraReferenceSmoothing=bValue; }
566 
567  Int* getdQPs () { return m_aidQP; }
569 
570  //====== Slice ========
571  Void setSliceMode ( SliceConstraint i ) { m_sliceMode = i; }
572  Void setSliceArgument ( Int i ) { m_sliceArgument = i; }
575  //====== Dependent Slice ========
576  Void setSliceSegmentMode ( SliceConstraint i ) { m_sliceSegmentMode = i; }
577  Void setSliceSegmentArgument ( Int i ) { m_sliceSegmentArgument = i; }
580  Void setLFCrossSliceBoundaryFlag ( Bool bValue ) { m_bLFCrossSliceBoundaryFlag = bValue; }
582 
583  Void setUseSAO (Bool bVal) { m_bUseSAO = bVal; }
584  Bool getUseSAO () { return m_bUseSAO; }
585  Void setMaxNumOffsetsPerPic (Int iVal) { m_maxNumOffsetsPerPic = iVal; }
587  Void setSaoCtuBoundary (Bool val) { m_saoCtuBoundary = val; }
589  Void setLFCrossTileBoundaryFlag ( Bool val ) { m_loopFilterAcrossTilesEnabledFlag = val; }
591  Void setTileUniformSpacingFlag ( Bool b ) { m_tileUniformSpacingFlag = b; }
593  Void setNumColumnsMinus1 ( Int i ) { m_iNumColumnsMinus1 = i; }
595  Void setColumnWidth ( const std::vector<Int>& columnWidth ) { m_tileColumnWidth = columnWidth; }
596  UInt getColumnWidth ( UInt columnIdx ) { return m_tileColumnWidth[columnIdx]; }
597  Void setNumRowsMinus1 ( Int i ) { m_iNumRowsMinus1 = i; }
599  Void setRowHeight ( const std::vector<Int>& rowHeight) { m_tileRowHeight = rowHeight; }
600  UInt getRowHeight ( UInt rowIdx ) { return m_tileRowHeight[rowIdx]; }
602  Void setWaveFrontSynchro(Int iWaveFrontSynchro) { m_iWaveFrontSynchro = iWaveFrontSynchro; }
604  Void setDecodedPictureHashSEIEnabled(Int b) { m_decodedPictureHashSEIEnabled = b; }
606  Void setBufferingPeriodSEIEnabled(Int b) { m_bufferingPeriodSEIEnabled = b; }
608  Void setPictureTimingSEIEnabled(Int b) { m_pictureTimingSEIEnabled = b; }
610  Void setRecoveryPointSEIEnabled(Int b) { m_recoveryPointSEIEnabled = b; }
612  Void setToneMappingInfoSEIEnabled(Bool b) { m_toneMappingInfoSEIEnabled = b; }
614  Void setTMISEIToneMapId(Int b) { m_toneMapId = b; }
616  Void setTMISEIToneMapCancelFlag(Bool b) { m_toneMapCancelFlag=b; }
618  Void setTMISEIToneMapPersistenceFlag(Bool b) { m_toneMapPersistenceFlag = b; }
620  Void setTMISEICodedDataBitDepth(Int b) { m_codedDataBitDepth = b; }
622  Void setTMISEITargetBitDepth(Int b) { m_targetBitDepth = b; }
624  Void setTMISEIModelID(Int b) { m_modelId = b; }
626  Void setTMISEIMinValue(Int b) { m_minValue = b; }
628  Void setTMISEIMaxValue(Int b) { m_maxValue = b; }
630  Void setTMISEISigmoidMidpoint(Int b) { m_sigmoidMidpoint = b; }
632  Void setTMISEISigmoidWidth(Int b) { m_sigmoidWidth = b; }
634  Void setTMISEIStartOfCodedInterva( Int* p ) { m_startOfCodedInterval = p; }
636  Void setTMISEINumPivots(Int b) { m_numPivots = b; }
638  Void setTMISEICodedPivotValue( Int* p ) { m_codedPivotValue = p; }
640  Void setTMISEITargetPivotValue( Int* p ) { m_targetPivotValue = p; }
642  Void setTMISEICameraIsoSpeedIdc(Int b) { m_cameraIsoSpeedIdc = b; }
644  Void setTMISEICameraIsoSpeedValue(Int b) { m_cameraIsoSpeedValue = b; }
646  Void setTMISEIExposureIndexIdc(Int b) { m_exposureIndexIdc = b; }
648  Void setTMISEIExposureIndexValue(Int b) { m_exposureIndexValue = b; }
650  Void setTMISEIExposureCompensationValueSignFlag(Bool b) { m_exposureCompensationValueSignFlag = b; }
652  Void setTMISEIExposureCompensationValueNumerator(Int b) { m_exposureCompensationValueNumerator = b; }
654  Void setTMISEIExposureCompensationValueDenomIdc(Int b) { m_exposureCompensationValueDenomIdc =b; }
656  Void setTMISEIRefScreenLuminanceWhite(Int b) { m_refScreenLuminanceWhite = b; }
658  Void setTMISEIExtendedRangeWhiteLevel(Int b) { m_extendedRangeWhiteLevel = b; }
660  Void setTMISEINominalBlackLevelLumaCodeValue(Int b) { m_nominalBlackLevelLumaCodeValue = b; }
662  Void setTMISEINominalWhiteLevelLumaCodeValue(Int b) { m_nominalWhiteLevelLumaCodeValue = b; }
664  Void setTMISEIExtendedWhiteLevelLumaCodeValue(Int b) { m_extendedWhiteLevelLumaCodeValue =b; }
666  Void setFramePackingArrangementSEIEnabled(Int b) { m_framePackingSEIEnabled = b; }
668  Void setFramePackingArrangementSEIType(Int b) { m_framePackingSEIType = b; }
670  Void setFramePackingArrangementSEIId(Int b) { m_framePackingSEIId = b; }
672  Void setFramePackingArrangementSEIQuincunx(Int b) { m_framePackingSEIQuincunx = b; }
674  Void setFramePackingArrangementSEIInterpretation(Int b) { m_framePackingSEIInterpretation = b; }
676  Void setSegmentedRectFramePackingArrangementSEIEnabled(Int b) { m_segmentedRectFramePackingSEIEnabled = b; }
678  Void setSegmentedRectFramePackingArrangementSEICancel(Int b) { m_segmentedRectFramePackingSEICancel = b; }
680  Void setSegmentedRectFramePackingArrangementSEIType(Int b) { m_segmentedRectFramePackingSEIType = b; }
682  Void setSegmentedRectFramePackingArrangementSEIPersistence(Int b) { m_segmentedRectFramePackingSEIPersistence = b; }
684  Void setDisplayOrientationSEIAngle(Int b) { m_displayOrientationSEIAngle = b; }
686  Void setTemporalLevel0IndexSEIEnabled(Int b) { m_temporalLevel0IndexSEIEnabled = b; }
688  Void setGradualDecodingRefreshInfoEnabled(Int b) { m_gradualDecodingRefreshInfoEnabled = b; }
690  Void setNoDisplaySEITLayer(Int b) { m_noDisplaySEITLayer = b; }
692  Void setDecodingUnitInfoSEIEnabled(Int b) { m_decodingUnitInfoSEIEnabled = b; }
694  Void setSOPDescriptionSEIEnabled(Int b) { m_SOPDescriptionSEIEnabled = b; }
696  Void setScalableNestingSEIEnabled(Int b) { m_scalableNestingSEIEnabled = b; }
698  Void setTMCTSSEIEnabled(Bool b) { m_tmctsSEIEnabled = b; }
700  Void setTimeCodeSEIEnabled(Bool b) { m_timeCodeSEIEnabled = b; }
702  Void setNumberOfTimeSets(Int value) { m_timeCodeSEINumTs = value; }
704  Void setTimeSet(TComSEITimeSet element, Int index) { m_timeSetArray[index] = element; }
705  TComSEITimeSet &getTimeSet(Int index) { return m_timeSetArray[index]; }
706  const TComSEITimeSet &getTimeSet(Int index) const { return m_timeSetArray[index]; }
707  Void setKneeSEIEnabled(Int b) { m_kneeSEIEnabled = b; }
709  Void setKneeSEIId(Int b) { m_kneeSEIId = b; }
711  Void setKneeSEICancelFlag(Bool b) { m_kneeSEICancelFlag=b; }
713  Void setKneeSEIPersistenceFlag(Bool b) { m_kneeSEIPersistenceFlag = b; }
715  Void setKneeSEIInputDrange(Int b) { m_kneeSEIInputDrange = b; }
717  Void setKneeSEIInputDispLuminance(Int b) { m_kneeSEIInputDispLuminance = b; }
719  Void setKneeSEIOutputDrange(Int b) { m_kneeSEIOutputDrange = b; }
721  Void setKneeSEIOutputDispLuminance(Int b) { m_kneeSEIOutputDispLuminance = b; }
723  Void setKneeSEINumKneePointsMinus1(Int b) { m_kneeSEINumKneePointsMinus1 = b; }
725  Void setKneeSEIInputKneePoint(Int *p) { m_kneeSEIInputKneePoint = p; }
727  Void setKneeSEIOutputKneePoint(Int *p) { m_kneeSEIOutputKneePoint = p; }
729  Void setMasteringDisplaySEI(const TComSEIMasteringDisplay &src) { m_masteringDisplay = src; }
731  Void setUseWP ( Bool b ) { m_useWeightedPred = b; }
732  Void setWPBiPred ( Bool b ) { m_useWeightedBiPred = b; }
735  Void setLog2ParallelMergeLevelMinus2 ( UInt u ) { m_log2ParallelMergeLevelMinus2 = u; }
737  Void setMaxNumMergeCand ( UInt u ) { m_maxNumMergeCand = u; }
739  Void setUseScalingListId ( ScalingListMode u ) { m_useScalingListId = u; }
741  Void setScalingListFile ( Char* pch ) { m_scalingListFile = pch; }
743  Void setTMVPModeId ( Int u ) { m_TMVPModeId = u; }
745  Void setSignHideFlag( Bool signHideFlag ) { m_signHideFlag = signHideFlag; }
748  Void setUseRateCtrl ( Bool b ) { m_RCEnableRateControl = b; }
750  Void setTargetBitrate ( Int bitrate ) { m_RCTargetBitrate = bitrate; }
752  Void setKeepHierBit ( Int i ) { m_RCKeepHierarchicalBit = i; }
754  Void setLCULevelRC ( Bool b ) { m_RCLCULevelRC = b; }
756  Void setUseLCUSeparateModel ( Bool b ) { m_RCUseLCUSeparateModel = b; }
758  Void setInitialQP ( Int QP ) { m_RCInitialQP = QP; }
760  Void setForceIntraQP ( Bool b ) { m_RCForceIntraQP = b; }
762  Void setTransquantBypassEnableFlag(Bool flag) { m_TransquantBypassEnableFlag = flag; }
764  Void setCUTransquantBypassFlagForceValue(Bool flag) { m_CUTransquantBypassFlagForce = flag; }
766  Void setCostMode(CostMode m ) { m_costMode = m; }
767 
768  Void setVPS(TComVPS *p) { m_cVPS = *p; }
769  TComVPS * getVPS() { return &m_cVPS; }
770  Void setUseRecalculateQPAccordingToLambda (Bool b) { m_recalculateQPAccordingToLambda = b; }
772 
773  Void setUseStrongIntraSmoothing ( Bool b ) { m_useStrongIntraSmoothing = b; }
775 
776  Void setActiveParameterSetsSEIEnabled ( Int b ) { m_activeParameterSetsSEIEnabled = b; }
779  Void setVuiParametersPresentFlag(Bool i) { m_vuiParametersPresentFlag = i; }
781  Void setAspectRatioInfoPresentFlag(Bool i) { m_aspectRatioInfoPresentFlag = i; }
783  Void setAspectRatioIdc(Int i) { m_aspectRatioIdc = i; }
784  Int getSarWidth() { return m_sarWidth; }
785  Void setSarWidth(Int i) { m_sarWidth = i; }
787  Void setSarHeight(Int i) { m_sarHeight = i; }
789  Void setOverscanInfoPresentFlag(Bool i) { m_overscanInfoPresentFlag = i; }
791  Void setOverscanAppropriateFlag(Bool i) { m_overscanAppropriateFlag = i; }
793  Void setVideoSignalTypePresentFlag(Bool i) { m_videoSignalTypePresentFlag = i; }
795  Void setVideoFormat(Int i) { m_videoFormat = i; }
797  Void setVideoFullRangeFlag(Bool i) { m_videoFullRangeFlag = i; }
799  Void setColourDescriptionPresentFlag(Bool i) { m_colourDescriptionPresentFlag = i; }
801  Void setColourPrimaries(Int i) { m_colourPrimaries = i; }
803  Void setTransferCharacteristics(Int i) { m_transferCharacteristics = i; }
805  Void setMatrixCoefficients(Int i) { m_matrixCoefficients = i; }
807  Void setChromaLocInfoPresentFlag(Bool i) { m_chromaLocInfoPresentFlag = i; }
809  Void setChromaSampleLocTypeTopField(Int i) { m_chromaSampleLocTypeTopField = i; }
811  Void setChromaSampleLocTypeBottomField(Int i) { m_chromaSampleLocTypeBottomField = i; }
813  Void setNeutralChromaIndicationFlag(Bool i) { m_neutralChromaIndicationFlag = i; }
815  Void setDefaultDisplayWindow (Int offsetLeft, Int offsetRight, Int offsetTop, Int offsetBottom ) { m_defaultDisplayWindow.setWindow (offsetLeft, offsetRight, offsetTop, offsetBottom); }
817  Void setFrameFieldInfoPresentFlag(Bool i) { m_frameFieldInfoPresentFlag = i; }
819  Void setPocProportionalToTimingFlag(Bool x) { m_pocProportionalToTimingFlag = x; }
821  Void setNumTicksPocDiffOneMinus1(Int x) { m_numTicksPocDiffOneMinus1 = x; }
823  Void setBitstreamRestrictionFlag(Bool i) { m_bitstreamRestrictionFlag = i; }
825  Void setTilesFixedStructureFlag(Bool i) { m_tilesFixedStructureFlag = i; }
827  Void setMotionVectorsOverPicBoundariesFlag(Bool i) { m_motionVectorsOverPicBoundariesFlag = i; }
829  Void setMinSpatialSegmentationIdc(Int i) { m_minSpatialSegmentationIdc = i; }
831  Void setMaxBytesPerPicDenom(Int i) { m_maxBytesPerPicDenom = i; }
833  Void setMaxBitsPerMinCuDenom(Int i) { m_maxBitsPerMinCuDenom = i; }
835  Void setLog2MaxMvLengthHorizontal(Int i) { m_log2MaxMvLengthHorizontal = i; }
837  Void setLog2MaxMvLengthVertical(Int i) { m_log2MaxMvLengthVertical = i; }
838 
840  Void setProgressiveSourceFlag(Bool b) { m_progressiveSourceFlag = b; }
841 
843  Void setInterlacedSourceFlag(Bool b) { m_interlacedSourceFlag = b; }
844 
846  Void setNonPackedConstraintFlag(Bool b) { m_nonPackedConstraintFlag = b; }
847 
849  Void setFrameOnlyConstraintFlag(Bool b) { m_frameOnlyConstraintFlag = b; }
850 
852  Void setBitDepthConstraintValue(UInt v) { m_bitDepthConstraintValue=v; }
853 
855  Void setChromaFormatConstraintValue(ChromaFormat v) { m_chromaFormatConstraintValue=v; }
856 
858  Void setIntraConstraintFlag(Bool b) { m_intraConstraintFlag=b; }
859 
861  Void setLowerBitRateConstraintFlag(Bool b) { m_lowerBitRateConstraintFlag=b; }
863  Void setChromaSamplingFilterHintEnabled(Bool i) { m_chromaSamplingFilterHintEnabled = i;}
865  Void setChromaSamplingHorFilterIdc(Int i) { m_chromaSamplingHorFilterIdc = i;}
867  Void setChromaSamplingVerFilterIdc(Int i) { m_chromaSamplingVerFilterIdc = i;}
868 };
869 
871 
872 #endif // !defined(AFX_TENCCFG_H__6B99B797_F4DA_4E46_8E78_7656339A6C41__INCLUDED_)
Void setMaxNumOffsetsPerPic(Int iVal)
Definition: TEncCfg.h:585
Void setSliceSegmentMode(SliceConstraint i)
Definition: TEncCfg.h:576
Bool m_useStrongIntraSmoothing
enable the use of strong intra smoothing (bi_linear interpolation) for 32x32 blocks when reference sa...
Definition: TEncCfg.h:359
Bool getPrintMSEBasedSequencePSNR() const
Definition: TEncCfg.h:383
Int m_sarHeight
vertical size of the sample aspect ratio
Definition: TEncCfg.h:332
Int m_kneeSEIOutputDrange
Definition: TEncCfg.h:295
Bool getOverscanAppropriateFlag()
Definition: TEncCfg.h:790
Level::Tier m_levelTier
Definition: TEncCfg.h:118
SliceConstraint m_sliceMode
Definition: TEncCfg.h:217
Int m_maxTempLayer
Max temporal layer.
Definition: TEncCfg.h:146
UInt getIntraPeriod()
Definition: TEncCfg.h:473
Int m_nominalBlackLevelLumaCodeValue
Definition: TEncCfg.h:263
Int m_sigmoidWidth
Definition: TEncCfg.h:252
Void setUseEarlyCU(Bool b)
Definition: TEncCfg.h:513
Void setMaxCuDQPDepth(Int i)
Definition: TEncCfg.h:438
Void setChromaSamplingHorFilterIdc(Int i)
Definition: TEncCfg.h:865
Int getTMISEINominalWhiteLevelLumaCodeValue()
Definition: TEncCfg.h:663
Void setLFCrossSliceBoundaryFlag(Bool bValue)
Definition: TEncCfg.h:580
Bool getUseSingleSignificanceMapContext() const
Definition: TEncCfg.h:552
Void setKneeSEIInputDrange(Int b)
Definition: TEncCfg.h:715
Bool m_aspectRatioInfoPresentFlag
Signals whether aspect_ratio_idc is present.
Definition: TEncCfg.h:326
Int getDisplayOrientationSEIAngle()
Definition: TEncCfg.h:685
UInt m_bitDepthConstraintValue
Definition: TEncCfg.h:124
Void setLoopFilterBetaOffset(Int i)
Definition: TEncCfg.h:426
Void setFramePackingArrangementSEIInterpretation(Int b)
Definition: TEncCfg.h:674
Int getSarWidth()
Definition: TEncCfg.h:784
Int getKneeSEIOutputDrange()
Definition: TEncCfg.h:720
Bool getPrintFrameMSE() const
Definition: TEncCfg.h:386
Bool getUseWP()
Definition: TEncCfg.h:733
Void setSourceWidth(Int i)
Definition: TEncCfg.h:375
Int m_minValue
Definition: TEncCfg.h:249
Void setIntraPeriod(Int i)
Definition: TEncCfg.h:396
Bool m_useSingleSignificanceMapContext
Definition: TEncCfg.h:205
Int m_TMVPModeId
Definition: TEncCfg.h:308
Int getFrameRate()
Definition: TEncCfg.h:464
Void setTMISEINumPivots(Int b)
Definition: TEncCfg.h:636
UInt m_maxNumMergeCand
Maximum number of merge candidates.
Definition: TEncCfg.h:305
Bool getUseAdaptiveQP()
Definition: TEncCfg.h:503
Int m_betaOffsetDiv2
Definition: TEncCfg.h:55
Int m_FrameSkip
Definition: TEncCfg.h:104
Void setUseEarlySkipDetection(Bool b)
Definition: TEncCfg.h:516
Void setSourceHeight(Int i)
Definition: TEncCfg.h:376
Void setTMISEINominalBlackLevelLumaCodeValue(Int b)
Definition: TEncCfg.h:660
Int getKneeSEIInputDispLuminance()
Definition: TEncCfg.h:718
Void setUseConstrainedIntraPred(Bool b)
Definition: TEncCfg.h:517
GOPEntry m_GOPList[64]
Definition: TEncCfg.h:133
Int m_kneeSEIInputDrange
Definition: TEncCfg.h:293
ChannelType
Definition: TypeDef.h:361
UInt getQuadtreeTUMaxDepthIntra() const
Definition: TEncCfg.h:486
Void setSaoOffsetBitShift(ChannelType type, UInt uiBitShift)
Definition: TEncCfg.h:546
SliceConstraint m_sliceSegmentMode
Definition: TEncCfg.h:220
const TComSEITimeSet & getTimeSet(Int index) const
Definition: TEncCfg.h:706
Bool getDisableIntraReferenceSmoothing() const
Definition: TEncCfg.h:565
Void setMaxRefPicNum(Int iMaxRefPicNum)
Definition: TEncCfg.h:411
Bool getUseLCUSeparateModel()
Definition: TEncCfg.h:755
Bool m_colourDescriptionPresentFlag
Signals whether colour_primaries, transfer_characteristics and matrix_coefficients are present...
Definition: TEncCfg.h:338
Bool getUseRecalculateQPAccordingToLambda()
Definition: TEncCfg.h:771
Bool m_cabacZeroWordPaddingEnabled
Definition: TEncCfg.h:114
Bool getUseHADME()
Definition: TEncCfg.h:526
Void setTMISEIExtendedRangeWhiteLevel(Int b)
Definition: TEncCfg.h:658
Int m_decodingUnitInfoSEIEnabled
Definition: TEncCfg.h:282
Int getMaxBytesPerPicDenom()
Definition: TEncCfg.h:830
Defines constants, macros and tool parameters.
Int getNumTicksPocDiffOneMinus1()
Definition: TEncCfg.h:820
UInt getLog2ParallelMergeLevelMinus2()
Definition: TEncCfg.h:736
Void setUseStrongIntraSmoothing(Bool b)
Definition: TEncCfg.h:773
void Void
Definition: TypeDef.h:285
Bool m_bUseEarlyCU
Definition: TEncCfg.h:194
Void setNumRowsMinus1(Int i)
Definition: TEncCfg.h:597
Void setQuadtreeTUMaxDepthInter(UInt u)
Definition: TEncCfg.h:418
Int getAspectRatioIdc()
Definition: TEncCfg.h:782
Bool m_useCrossComponentPrediction
Definition: TEncCfg.h:198
Int m_maxNumOffsetsPerPic
Definition: TEncCfg.h:162
Int m_deltaRPS
Definition: TEncCfg.h:64
Void setUseASR(Bool b)
Definition: TEncCfg.h:507
Bool m_frameOnlyConstraintFlag
Definition: TEncCfg.h:123
Bool m_RCForceIntraQP
Definition: TEncCfg.h:316
Bool m_neutralChromaIndicationFlag
Indicates that the value of all decoded chroma samples is equal to 1<<(BitDepthCr-1) ...
Definition: TEncCfg.h:345
Bool m_toneMappingInfoSEIEnabled
Definition: TEncCfg.h:242
Void setUseRDOQ(Bool b)
Definition: TEncCfg.h:509
Window & getConformanceWindow()
Definition: TEncCfg.h:378
Int getTMVPModeId()
Definition: TEncCfg.h:744
Void setActiveParameterSetsSEIEnabled(Int b)
Definition: TEncCfg.h:776
Void setProgressiveSourceFlag(Bool b)
Definition: TEncCfg.h:840
Int m_RCTargetBitrate
Definition: TEncCfg.h:311
Void setFramePackingArrangementSEIQuincunx(Int b)
Definition: TEncCfg.h:672
Int m_RCKeepHierarchicalBit
Definition: TEncCfg.h:312
Int getSegmentedRectFramePackingArrangementSEIType()
Definition: TEncCfg.h:681
Int m_kneeSEINumKneePointsMinus1
Definition: TEncCfg.h:297
UInt m_pcmLog2MaxSize
Definition: TEncCfg.h:214
Void setTMISEIToneMapCancelFlag(Bool b)
Definition: TEncCfg.h:616
Bool m_printMSEBasedSequencePSNR
Definition: TEncCfg.h:111
Bool m_videoSignalTypePresentFlag
Signals whether video_format, video_full_range_flag, and colour_description_present_flag are present...
Definition: TEncCfg.h:335
Void setNoDisplaySEITLayer(Int b)
Definition: TEncCfg.h:690
Void setPrintSequenceMSE(Bool value)
Definition: TEncCfg.h:390
Void setChromaCbQpOffset(Int i)
Definition: TEncCfg.h:443
Bool m_useWeightedPred
Definition: TEncCfg.h:302
Bool m_printSequenceMSE
Definition: TEncCfg.h:113
UInt m_saoOffsetBitShift[MAX_NUM_CHANNEL_TYPE]
Definition: TEncCfg.h:200
Void setNumReorderPics(Int i, UInt tlayer)
Definition: TEncCfg.h:404
Void setUseAdaptiveQP(Bool b)
Definition: TEncCfg.h:460
Int m_iGOPSize
Definition: TEncCfg.h:132
Void setUseCrossComponentPrediction(const Bool value)
Definition: TEncCfg.h:543
UInt m_uiQuadtreeTULog2MinSize
Definition: TEncCfg.h:150
UInt m_uiQuadtreeTULog2MaxSize
Definition: TEncCfg.h:149
Bool getIntraConstraintFlag() const
Definition: TEncCfg.h:857
Int getTMISEICodedDataBitDepth()
Definition: TEncCfg.h:621
Void setLevel(Level::Tier tier, Level::Name level)
Definition: TEncCfg.h:371
Void setColourPrimaries(Int i)
Definition: TEncCfg.h:801
slice header and SPS class (header)
Void setChromaSamplingFilterHintEnabled(Bool i)
Definition: TEncCfg.h:863
Void setInitialQP(Int QP)
Definition: TEncCfg.h:758
TComSEIMasteringDisplay m_masteringDisplay
Definition: TEncCfg.h:300
Int m_exposureCompensationValueNumerator
Definition: TEncCfg.h:259
Void setMasteringDisplaySEI(const TComSEIMasteringDisplay &src)
Definition: TEncCfg.h:729
UInt m_transformSkipLog2MaxSize
Definition: TEncCfg.h:203
Bool m_bUseASR
Definition: TEncCfg.h:188
Bool m_useRDOQTS
Definition: TEncCfg.h:191
char Char
Definition: TypeDef.h:291
UInt m_uiDeltaQpRD
Definition: TEncCfg.h:210
Int getKneeSEIOutputDispLuminance()
Definition: TEncCfg.h:722
Bool m_bLFCrossSliceBoundaryFlag
Definition: TEncCfg.h:222
Bool m_bUseSAO
Definition: TEncCfg.h:161
Bool getUseFastDecisionForMerge()
Definition: TEncCfg.h:532
Bool getUseReconBasedCrossCPredictionEstimate() const
Definition: TEncCfg.h:544
Int m_exposureCompensationValueDenomIdc
Definition: TEncCfg.h:260
unsigned int UInt
Definition: TypeDef.h:297
Void setKneeSEIOutputKneePoint(Int *p)
Definition: TEncCfg.h:727
Int getLog2MaxMvLengthVertical()
Definition: TEncCfg.h:836
Bool m_bitstreamRestrictionFlag
Signals whether bitstream restriction parameters are present.
Definition: TEncCfg.h:350
Int getSliceSegmentArgument()
Definition: TEncCfg.h:579
Void setPCMLog2MinSize(UInt u)
Definition: TEncCfg.h:522
Void setWPBiPred(Bool b)
Definition: TEncCfg.h:732
Int getTMISEISigmoidMidpoint()
Definition: TEncCfg.h:631
#define MAX_TLAYER
max number of temporal layer
Definition: CommonDef.h:192
Void setSegmentedRectFramePackingArrangementSEIType(Int b)
Definition: TEncCfg.h:680
Int getChromaSamplingVerFilterIdc()
Definition: TEncCfg.h:866
Int m_kneeSEIOutputDispLuminance
Definition: TEncCfg.h:296
Bool m_kneeSEICancelFlag
Definition: TEncCfg.h:291
Void setMaxBitsPerMinCuDenom(Int i)
Definition: TEncCfg.h:833
Void setTMISEIStartOfCodedInterva(Int *p)
Definition: TEncCfg.h:634
Bool getKneeSEIEnabled()
Definition: TEncCfg.h:708
Int getNumReorderPics(UInt tlayer)
Definition: TEncCfg.h:477
Void setUseRDOQTS(Bool b)
Definition: TEncCfg.h:510
Void setKneeSEIOutputDispLuminance(Int b)
Definition: TEncCfg.h:721
Int m_iMaxCuDQPDepth
Definition: TEncCfg.h:172
Char * getScalingListFile()
Definition: TEncCfg.h:742
Bool getForceIntraQP()
Definition: TEncCfg.h:759
Int getMaxBitsPerMinCuDenom()
Definition: TEncCfg.h:832
Void setTMISEICameraIsoSpeedValue(Int b)
Definition: TEncCfg.h:644
Int m_maxBytesPerPicDenom
Indicates a number of bytes not exceeded by the sum of the sizes of the VCL NAL units associated with...
Definition: TEncCfg.h:354
Bool m_loopFilterOffsetInPPS
Definition: TEncCfg.h:156
Int getBufferingPeriodSEIEnabled()
Definition: TEncCfg.h:607
Void setGopList(GOPEntry *GOPList)
Definition: TEncCfg.h:399
Void setTMISEIExposureIndexIdc(Int b)
Definition: TEncCfg.h:646
Int m_framePackingSEIInterpretation
Definition: TEncCfg.h:273
Int m_numRefPics
Definition: TEncCfg.h:60
Void setUseTransformSkipFast(Bool b)
Definition: TEncCfg.h:561
Definition: TEncCfg.h:49
Int m_POC
Definition: TEncCfg.h:51
Bool m_frameFieldInfoPresentFlag
Indicates that pic_struct and other field coding related values are present in picture timing SEI mes...
Definition: TEncCfg.h:347
ScalingListMode m_useScalingListId
Using quantization matrix i.e. 0=off, 1=default, 2=file.
Definition: TEncCfg.h:306
Int getTMISEIModelID()
Definition: TEncCfg.h:625
Int m_scalableNestingSEIEnabled
Definition: TEncCfg.h:284
Void setTMISEIModelID(Int b)
Definition: TEncCfg.h:624
Void setQPAdaptationRange(Int i)
Definition: TEncCfg.h:461
Bool getNonPackedConstraintFlag() const
Definition: TEncCfg.h:845
Int m_numReorderPics[7]
Definition: TEncCfg.h:136
Bool m_recalculateQPAccordingToLambda
recalculate QP value according to the lambda value
Definition: TEncCfg.h:323
Bool m_toneMapCancelFlag
Definition: TEncCfg.h:244
Bool m_vuiParametersPresentFlag
enable generation of VUI parameters
Definition: TEncCfg.h:325
Void setUseFastEnc(Bool b)
Definition: TEncCfg.h:512
Void setTMISEIExposureCompensationValueSignFlag(Bool b)
Definition: TEncCfg.h:650
Int getLoopFilterTcOffset()
Definition: TEncCfg.h:492
Bool m_segmentedRectFramePackingSEICancel
Definition: TEncCfg.h:275
Int getMinSpatialSegmentationIdc()
Definition: TEncCfg.h:828
Void setToneMappingInfoSEIEnabled(Bool b)
Definition: TEncCfg.h:612
Int * m_startOfCodedInterval
Definition: TEncCfg.h:266
Bool getUseExtendedPrecision() const
Definition: TEncCfg.h:454
Int getKneeSEINumKneePointsMinus1()
Definition: TEncCfg.h:724
Void setColourDescriptionPresentFlag(Bool i)
Definition: TEncCfg.h:799
virtual ~TEncCfg()
Definition: TEncCfg.h:367
Void setDecodedPictureHashSEIEnabled(Int b)
Definition: TEncCfg.h:604
Bool getTMCTSSEIEnabled()
Definition: TEncCfg.h:699
Void setFastSearch(Int i)
Definition: TEncCfg.h:432
Bool m_bUseAdaptQpSelect
Definition: TEncCfg.h:180
Int getNumberOfTimesets()
Definition: TEncCfg.h:703
Void setMaxDecPicBuffering(UInt u, UInt tlayer)
Definition: TEncCfg.h:403
Bool getBitstreamRestrictionFlag()
Definition: TEncCfg.h:822
Void setQuadtreeTUMaxDepthIntra(UInt u)
Definition: TEncCfg.h:419
Bool m_intraConstraintFlag
Definition: TEncCfg.h:126
Int getTMISEIExposurIndexValue()
Definition: TEncCfg.h:649
Int getTMISEIRefScreenLuminanceWhite()
Definition: TEncCfg.h:657
Int m_segmentedRectFramePackingSEIType
Definition: TEncCfg.h:276
Int m_kneeSEIInputDispLuminance
Definition: TEncCfg.h:294
Bool m_useWeightedBiPred
Definition: TEncCfg.h:303
Void setKeepHierBit(Int i)
Definition: TEncCfg.h:752
Bool getVideoSignalTypePresentFlag()
Definition: TEncCfg.h:792
UInt m_uiPCMLog2MinSize
Definition: TEncCfg.h:215
TComVPS m_cVPS
Definition: TEncCfg.h:322
Void setBipredSearchRange(Int i)
Definition: TEncCfg.h:434
Bool m_disableIntraReferenceSmoothing
Definition: TEncCfg.h:228
Int getPictureTimingSEIEnabled()
Definition: TEncCfg.h:609
Int m_framesToBeEncoded
Definition: TEncCfg.h:108
Bool getLoopFilterDisable()
Definition: TEncCfg.h:489
CostMode getCostMode()
Definition: TEncCfg.h:765
Void setIntraConstraintFlag(Bool b)
Definition: TEncCfg.h:858
Bool m_useRDOQ
Definition: TEncCfg.h:190
Int m_iNumColumnsMinus1
Definition: TEncCfg.h:231
Bool getUseEarlySkipDetection()
Definition: TEncCfg.h:534
Int m_activeParameterSetsSEIEnabled
enable active parameter set SEI message
Definition: TEncCfg.h:324
Bool m_CUTransquantBypassFlagForce
if transquant_bypass_enable_flag, then, if true, all CU transquant bypass flags will be set to true...
Definition: TEncCfg.h:318
Int m_chromaCbQpOffset
Definition: TEncCfg.h:175
Void setDecodingRefreshType(Int i)
Definition: TEncCfg.h:397
Void setSegmentedRectFramePackingArrangementSEIEnabled(Int b)
Definition: TEncCfg.h:676
Int * getdQPs()
Definition: TEncCfg.h:567
Void setRowHeight(const std::vector< Int > &rowHeight)
Definition: TEncCfg.h:599
Bool getSaoCtuBoundary()
Definition: TEncCfg.h:588
Void setNumColumnsMinus1(Int i)
Definition: TEncCfg.h:593
Bool getTimeCodeSEIEnabled()
Definition: TEncCfg.h:701
Void setVideoFormat(Int i)
Definition: TEncCfg.h:795
Int m_framePackingSEIId
Definition: TEncCfg.h:271
Int m_referencePics[16]
Definition: TEncCfg.h:61
Int m_framePackingSEIEnabled
Definition: TEncCfg.h:269
Void setOverscanInfoPresentFlag(Bool i)
Definition: TEncCfg.h:789
Double m_adLambdaModifier[7]
Definition: TEncCfg.h:109
Bool m_reconBasedCrossCPredictionEstimate
Definition: TEncCfg.h:199
Int m_aiPad[2]
Definition: TEncCfg.h:140
Bool getUseSAO()
Definition: TEncCfg.h:584
Bool getChromaLocInfoPresentFlag()
Definition: TEncCfg.h:806
Void setDecodingUnitInfoSEIEnabled(Int b)
Definition: TEncCfg.h:692
Int m_interRPSPrediction
Definition: TEncCfg.h:63
Void setTMCTSSEIEnabled(Bool b)
Definition: TEncCfg.h:698
Bool m_useAMP
Definition: TEncCfg.h:147
Void setUseCbfFastMode(Bool b)
Definition: TEncCfg.h:515
Int m_codedDataBitDepth
Definition: TEncCfg.h:246
Void setWaveFrontSynchro(Int iWaveFrontSynchro)
Definition: TEncCfg.h:602
Void setPCMInputBitDepthFlag(Bool b)
Definition: TEncCfg.h:518
Int m_bufferingPeriodSEIEnabled
Definition: TEncCfg.h:239
Bool getUseConstrainedIntraPred()
Definition: TEncCfg.h:535
Void setSegmentedRectFramePackingArrangementSEIPersistence(Int b)
Definition: TEncCfg.h:682
Bool getDeblockingFilterControlPresent()
Definition: TEncCfg.h:493
ChromaFormat getChromaFormatIdc()
Definition: TEncCfg.h:447
Void setScalingListFile(Char *pch)
Definition: TEncCfg.h:741
Bool m_bPCMInputBitDepthFlag
Definition: TEncCfg.h:224
Bool m_tileUniformSpacingFlag
Definition: TEncCfg.h:230
Void setVPS(TComVPS *p)
Definition: TEncCfg.h:768
Void setLCULevelRC(Bool b)
Definition: TEncCfg.h:754
Int getTMISEICameraIsoSpeedIdc()
Definition: TEncCfg.h:643
Void setTMISEIMaxValue(Int b)
Definition: TEncCfg.h:628
Int getRecoveryPointSEIEnabled()
Definition: TEncCfg.h:611
Int getQPAdaptationRange()
Definition: TEncCfg.h:504
UInt getTransformSkipLog2MaxSize() const
Definition: TEncCfg.h:562
Bool getVideoFullRangeFlag()
Definition: TEncCfg.h:796
Int getTransferCharacteristics()
Definition: TEncCfg.h:802
Void setGOPSize(Int i)
Definition: TEncCfg.h:398
Bool m_bUseConstrainedIntraPred
Definition: TEncCfg.h:212
UInt m_uiDecodingRefreshType
the type of decoding refresh employed for the random access.
Definition: TEncCfg.h:131
Bool getUseCrossComponentPrediction() const
Definition: TEncCfg.h:542
Void setUseRateCtrl(Bool b)
Definition: TEncCfg.h:748
Void setTMVPModeId(Int u)
Definition: TEncCfg.h:743
Bool getWPBiPred()
Definition: TEncCfg.h:734
Int m_segmentedRectFramePackingSEIEnabled
Definition: TEncCfg.h:274
Bool getNeutralChromaIndicationFlag()
Definition: TEncCfg.h:812
Void setKneeSEIId(Int b)
Definition: TEncCfg.h:709
Void setUseSAO(Bool bVal)
Definition: TEncCfg.h:583
Int m_chromaSampleLocTypeBottomField
Specifies the location of chroma samples for bottom field.
Definition: TEncCfg.h:344
Bool getUseAdaptQpSelect()
Definition: TEncCfg.h:451
Int m_colourPrimaries
Indicates chromaticity coordinates of the source primaries.
Definition: TEncCfg.h:339
Profile::Name m_profile
Definition: TEncCfg.h:117
Int * getTMISEICodedPivotValue()
Definition: TEncCfg.h:639
Void xCheckGSParameters()
Definition: TEncTop.cpp:1049
UInt getPCMLog2MinSize()
Definition: TEncCfg.h:540
Void setTileUniformSpacingFlag(Bool b)
Definition: TEncCfg.h:591
Bool getLCULevelRC()
Definition: TEncCfg.h:753
Int m_extendedRangeWhiteLevel
Definition: TEncCfg.h:262
Int m_matrixCoefficients
Describes the matrix coefficients used in deriving luma and chroma from RGB primaries.
Definition: TEncCfg.h:341
Int m_chromaSamplingVerFilterIdc
Specifies the Index of filter to use.
Definition: TEncCfg.h:329
Int m_RCInitialQP
Definition: TEncCfg.h:315
TEncCfg()
Definition: TEncCfg.h:362
Void setUseRecalculateQPAccordingToLambda(Bool b)
Definition: TEncCfg.h:770
Void setCUTransquantBypassFlagForceValue(Bool flag)
Definition: TEncCfg.h:764
Int m_loopFilterTcOffsetDiv2
Definition: TEncCfg.h:158
Int m_tcOffsetDiv2
Definition: TEncCfg.h:54
Int m_iQP
Definition: TEncCfg.h:138
Void setBufferingPeriodSEIEnabled(Int b)
Definition: TEncCfg.h:606
ChromaFormat m_chromaFormatIDC
Definition: TEncCfg.h:177
Bool m_chromaSamplingFilterHintEnabled
Signals whether chroma sampling filter hint data is present.
Definition: TEncCfg.h:327
#define MAX_GOP
max. value of hierarchical GOP size
Definition: CommonDef.h:110
Bool m_useGolombRiceParameterAdaptation
Definition: TEncCfg.h:206
Bool getUseEarlyCU()
Definition: TEncCfg.h:531
Void setFramesToBeEncoded(Int i)
Definition: TEncCfg.h:381
GOPEntry getGOPEntry(Int i)
Definition: TEncCfg.h:401
Int m_aspectRatioIdc
aspect_ratio_idc
Definition: TEncCfg.h:330
Void setUseHighPrecisionPredictionWeighting(Bool value)
Definition: TEncCfg.h:458
Bool m_TransquantBypassEnableFlag
transquant_bypass_enable_flag setting in PPS.
Definition: TEncCfg.h:317
Void setTMISEICameraIsoSpeedIdc(Int b)
Definition: TEncCfg.h:642
Void setUseResidualRotation(const Bool value)
Definition: TEncCfg.h:551
Void setLambdaModifier(UInt uiIndex, Double dValue)
Definition: TEncCfg.h:469
ChromaFormat m_chromaFormatConstraintValue
Definition: TEncCfg.h:125
Void setNonPackedConstraintFlag(Bool b)
Definition: TEncCfg.h:846
Int m_cameraIsoSpeedValue
Definition: TEncCfg.h:255
Int m_QPOffset
Definition: TEncCfg.h:52
Void setUseWP(Bool b)
Definition: TEncCfg.h:731
Void setLFCrossTileBoundaryFlag(Bool val)
Definition: TEncCfg.h:589
Void setdQPs(Int *p)
Definition: TEncCfg.h:523
Int getTMISEIExtendedWhiteLevelLumaCodeValue()
Definition: TEncCfg.h:665
Bool m_videoFullRangeFlag
Indicates the black level and range of luma and chroma signals.
Definition: TEncCfg.h:337
Int m_maxBitsPerMinCuDenom
Indicates an upper bound for the number of bits of coding_unit() data.
Definition: TEncCfg.h:355
Int m_sarWidth
horizontal size of the sample aspect ratio
Definition: TEncCfg.h:331
Int getMaxDecPicBuffering(UInt tlayer)
Definition: TEncCfg.h:476
Bool m_chromaLocInfoPresentFlag
Signals whether chroma_sample_loc_type_top_field and chroma_sample_loc_type_bottom_field are present...
Definition: TEncCfg.h:342
Int m_maxDecPicBuffering[7]
Definition: TEncCfg.h:135
Int m_SOPDescriptionSEIEnabled
Definition: TEncCfg.h:283
Void setLoopFilterTcOffset(Int i)
Definition: TEncCfg.h:427
Int getMaxRefPicNum()
Definition: TEncCfg.h:410
Void setPrintMSEBasedSequencePSNR(Bool value)
Definition: TEncCfg.h:384
#define MAX_NUM_REF_PICS
max. number of pictures used for reference
Definition: CommonDef.h:112
Int m_recoveryPointSEIEnabled
Definition: TEncCfg.h:241
bool Bool
Definition: TypeDef.h:286
Void setPCMLog2MaxSize(UInt u)
Definition: TEncCfg.h:521
Void setUseReconBasedCrossCPredictionEstimate(const Bool value)
Definition: TEncCfg.h:545
Int m_iSourceWidth
Definition: TEncCfg.h:105
Bool getUseASR()
Definition: TEncCfg.h:525
Int m_transferCharacteristics
Indicates the opto-electronic transfer characteristics of the source.
Definition: TEncCfg.h:340
UInt getColumnWidth(UInt columnIdx)
Definition: TEncCfg.h:596
Bool m_kneeSEIPersistenceFlag
Definition: TEncCfg.h:292
Bool getFrameFieldInfoPresentFlag()
Definition: TEncCfg.h:816
Void setChromaCrQpOffset(Int i)
Definition: TEncCfg.h:444
Int m_chromaCrQpOffset
Definition: TEncCfg.h:176
Void setForceIntraQP(Bool b)
Definition: TEncCfg.h:760
Int m_iQPAdaptationRange
Definition: TEncCfg.h:185
Void setColumnWidth(const std::vector< Int > &columnWidth)
Definition: TEncCfg.h:595
Void setCabacZeroWordPaddingEnabled(Bool value)
Definition: TEncCfg.h:393
Int m_maxCUChromaQpAdjustmentDepth
Definition: TEncCfg.h:173
Int getInitialQP()
Definition: TEncCfg.h:757
Bool getPocProportionalToTimingFlag()
Definition: TEncCfg.h:818
Void setAspectRatioIdc(Int i)
Definition: TEncCfg.h:783
Void setFrameRate(Int i)
Definition: TEncCfg.h:373
Void setUseFastDecisionForMerge(Bool b)
Definition: TEncCfg.h:514
Int * getKneeSEIOutputKneePoint()
Definition: TEncCfg.h:728
Void setFrameSkip(UInt i)
Definition: TEncCfg.h:374
Bool getInterlacedSourceFlag() const
Definition: TEncCfg.h:842
Bool getTileUniformSpacingFlag()
Definition: TEncCfg.h:592
Int getVideoFormat()
Definition: TEncCfg.h:794
Void setDeltaQpRD(UInt u)
Definition: TEncCfg.h:524
Bool getToneMappingInfoSEIEnabled()
Definition: TEncCfg.h:613
Void setDisplayOrientationSEIAngle(Int b)
Definition: TEncCfg.h:684
Void setSarHeight(Int i)
Definition: TEncCfg.h:787
std::vector< Int > m_tileColumnWidth
Definition: TEncCfg.h:233
Bool m_useFastDecisionForMerge
Definition: TEncCfg.h:195
Char * m_scalingListFile
quantization matrix file name
Definition: TEncCfg.h:307
Int getSourceWidth()
Definition: TEncCfg.h:466
Int m_iSourceHeight
Definition: TEncCfg.h:106
Int m_kneeSEIId
Definition: TEncCfg.h:290
Int getKeepHierBit()
Definition: TEncCfg.h:751
Void setSegmentedRectFramePackingArrangementSEICancel(Int b)
Definition: TEncCfg.h:678
Bool getTransquantBypassEnableFlag()
Definition: TEncCfg.h:761
Void setTMISEICodedDataBitDepth(Int b)
Definition: TEncCfg.h:620
UInt m_log2ParallelMergeLevelMinus2
Parallel merge estimation region.
Definition: TEncCfg.h:304
Void setBitstreamRestrictionFlag(Bool i)
Definition: TEncCfg.h:823
Int getMaxCUChromaQpAdjustmentDepth() const
Definition: TEncCfg.h:440
Bool m_lowerBitRateConstraintFlag
Definition: TEncCfg.h:127
Void setAspectRatioInfoPresentFlag(Bool i)
Definition: TEncCfg.h:781
UInt m_rdPenalty
Definition: TEncCfg.h:192
Int getWaveFrontsynchro()
Definition: TEncCfg.h:603
UInt getDeltaQpRD()
Definition: TEncCfg.h:568
Int m_numTicksPocDiffOneMinus1
Number of ticks minus 1 that for a POC difference of one.
Definition: TEncCfg.h:349
Int getMaxTempLayer()
Definition: TEncCfg.h:413
Int m_toneMapId
Definition: TEncCfg.h:243
Void setChromaFormatIdc(ChromaFormat cf)
Definition: TEncCfg.h:446
Int m_maxValue
Definition: TEncCfg.h:250
Bool getLFCrossSliceBoundaryFlag()
Definition: TEncCfg.h:581
Void setUseLCUSeparateModel(Bool b)
Definition: TEncCfg.h:756
Int getLog2MaxMvLengthHorizontal()
Definition: TEncCfg.h:834
Void setRecoveryPointSEIEnabled(Int b)
Definition: TEncCfg.h:610
Void setSearchRange(Int i)
Definition: TEncCfg.h:433
Void setSliceSegmentArgument(Int i)
Definition: TEncCfg.h:577
Void setExtraRPSs(Int i)
Definition: TEncCfg.h:400
Bool m_RCUseLCUSeparateModel
Definition: TEncCfg.h:314
Bool getTMISEIExposureCompensationValueSignFlag()
Definition: TEncCfg.h:651
Double getLambdaModifier(UInt uiIndex) const
Definition: TEncCfg.h:470
Bool m_useResidualRotation
Definition: TEncCfg.h:204
Void setKneeSEINumKneePointsMinus1(Int b)
Definition: TEncCfg.h:723
Int m_iFrameRate
Definition: TEncCfg.h:103
Bool getTMISEIToneMapPersistenceFlag()
Definition: TEncCfg.h:619
Void setConformanceWindow(Int confLeft, Int confRight, Int confTop, Int confBottom)
Definition: TEncCfg.h:379
Void setMatrixCoefficients(Int i)
Definition: TEncCfg.h:805
Bool getColourDescriptionPresentFlag()
Definition: TEncCfg.h:798
Bool getLowerBitRateConstraintFlag() const
Definition: TEncCfg.h:860
Int getSliceArgument()
Definition: TEncCfg.h:574
Int m_pictureTimingSEIEnabled
Definition: TEncCfg.h:240
Int m_numRefIdc
Definition: TEncCfg.h:65
Bool getUseGolombRiceParameterAdaptation() const
Definition: TEncCfg.h:554
Int getChromaSampleLocTypeBottomField()
Definition: TEncCfg.h:810
Bool m_exposureCompensationValueSignFlag
Definition: TEncCfg.h:258
Void setQuadtreeTULog2MaxSize(UInt u)
Definition: TEncCfg.h:416
Void setKneeSEIPersistenceFlag(Bool b)
Definition: TEncCfg.h:713
Bool m_DeblockingFilterControlPresent
Definition: TEncCfg.h:159
Bool getUsePCM()
Definition: TEncCfg.h:538
Bool getFrameOnlyConstraintFlag() const
Definition: TEncCfg.h:848
Int m_minSpatialSegmentationIdc
Indicates the maximum size of the spatial segments in the pictures in the coded video sequence...
Definition: TEncCfg.h:353
Int m_displayOrientationSEIAngle
Definition: TEncCfg.h:278
Bool m_timeCodeSEIEnabled
Definition: TEncCfg.h:286
Void setNumTicksPocDiffOneMinus1(Int x)
Definition: TEncCfg.h:821
Void setMaxBytesPerPicDenom(Int i)
Definition: TEncCfg.h:831
Int getFramePackingArrangementSEIId()
Definition: TEncCfg.h:671
SliceConstraint
Definition: TypeDef.h:562
Void setUseTransformSkip(Bool b)
Definition: TEncCfg.h:549
Int getColourPrimaries()
Definition: TEncCfg.h:800
Void setMaxDeltaQP(Int i)
Definition: TEncCfg.h:437
Int m_chromaSampleLocTypeTopField
Specifies the location of chroma samples for top field.
Definition: TEncCfg.h:343
Int getDecodedPictureHashSEIEnabled()
Definition: TEncCfg.h:605
Void setEncodedFlag(Int i, Bool value)
Definition: TEncCfg.h:402
Int getTMISEIExposurIndexIdc()
Definition: TEncCfg.h:647
ChromaFormat
chroma formats (according to semantics of chroma_format_idc)
Definition: TypeDef.h:352
Void setTransquantBypassEnableFlag(Bool flag)
Definition: TEncCfg.h:762
Int getTMISEIMinValue()
Definition: TEncCfg.h:627
Int m_exposureIndexIdc
Definition: TEncCfg.h:256
Bool m_bUseAdaptiveQP
Definition: TEncCfg.h:184
RDPCMSignallingMode
Definition: TypeDef.h:335
Int * m_codedPivotValue
Definition: TEncCfg.h:267
Void setTMISEIExposureIndexValue(Int b)
Definition: TEncCfg.h:648
Void setSliceArgument(Int i)
Definition: TEncCfg.h:572
Bool m_alignCABACBeforeBypass
Definition: TEncCfg.h:207
Bool m_pocProportionalToTimingFlag
Indicates that the POC value is proportional to the output time w.r.t. first picture in CVS...
Definition: TEncCfg.h:348
Void setAlignCABACBeforeBypass(const Bool value)
Definition: TEncCfg.h:557
Int getTMISEIExposureCompensationValueNumerator()
Definition: TEncCfg.h:653
Int getDecodingUnitInfoSEIEnabled()
Definition: TEncCfg.h:693
Int getFastSearch()
Definition: TEncCfg.h:497
Void setTMISEIExtendedWhiteLevelLumaCodeValue(Int b)
Definition: TEncCfg.h:664
GOPEntry()
Definition: TEncCfg.h:68
Void setSOPDescriptionSEIEnabled(Int b)
Definition: TEncCfg.h:694
Bool getUseTransformSkipFast()
Definition: TEncCfg.h:560
Bool m_overscanInfoPresentFlag
Signals whether overscan_appropriate_flag is present.
Definition: TEncCfg.h:333
Int getSearchRange()
Definition: TEncCfg.h:498
Int m_iNumRowsMinus1
Definition: TEncCfg.h:232
CostMode
Definition: TypeDef.h:656
const TComSEIMasteringDisplay & getMasteringDisplaySEI() const
Definition: TEncCfg.h:730
Bool m_useTransformSkipFast
Definition: TEncCfg.h:202
Void setUseExtendedPrecision(Bool value)
Definition: TEncCfg.h:455
Void setMotionVectorsOverPicBoundariesFlag(Bool i)
Definition: TEncCfg.h:827
Void setTemporalLevel0IndexSEIEnabled(Int b)
Definition: TEncCfg.h:686
Bool m_signHideFlag
Definition: TEncCfg.h:309
Bool m_usePCM
Definition: TEncCfg.h:213
Void setMaxCUChromaQpAdjustmentDepth(Int value)
Definition: TEncCfg.h:441
Int m_temporalLevel0IndexSEIEnabled
Definition: TEncCfg.h:279
Int getMaxDeltaQP()
Definition: TEncCfg.h:501
Bool getUseStrongIntraSmoothing()
Definition: TEncCfg.h:774
Void setDisableIntraReferenceSmoothing(Bool bValue)
Definition: TEncCfg.h:564
Window & getDefaultDisplayWindow()
Definition: TEncCfg.h:814
Int m_sliceSegmentArgument
Definition: TEncCfg.h:221
Int m_framePackingSEIType
Definition: TEncCfg.h:270
Void setDefaultDisplayWindow(Int offsetLeft, Int offsetRight, Int offsetTop, Int offsetBottom)
Definition: TEncCfg.h:815
Name
Definition: TypeDef.h:635
Bool getPCMFilterDisableFlag()
Definition: TEncCfg.h:537
Level::Name m_level
Definition: TEncCfg.h:119
UInt getFrameSkip()
Definition: TEncCfg.h:465
TComSEITimeSet m_timeSetArray[3]
Definition: TEncCfg.h:288
Int getPad(Int i)
Definition: TEncCfg.h:480
Void setQuadtreeTULog2MinSize(UInt u)
Definition: TEncCfg.h:417
Int m_refIdc[16+1]
Definition: TEncCfg.h:66
Void setPictureTimingSEIEnabled(Int b)
Definition: TEncCfg.h:608
Void setFramePackingArrangementSEIId(Int b)
Definition: TEncCfg.h:670
Bool getUseResidualDPCM(const RDPCMSignallingMode signallingMode) const
Definition: TEncCfg.h:558
Void setChromaSampleLocTypeTopField(Int i)
Definition: TEncCfg.h:809
Bool m_printFrameMSE
Definition: TEncCfg.h:112
TComSEITimeSet & getTimeSet(Int index)
Definition: TEncCfg.h:705
Void setCostMode(CostMode m)
Definition: TEncCfg.h:766
Void setPocProportionalToTimingFlag(Bool x)
Definition: TEncCfg.h:819
Int getSegmentedRectFramePackingArrangementSEIPersistence()
Definition: TEncCfg.h:683
Void setFrameFieldInfoPresentFlag(Bool i)
Definition: TEncCfg.h:817
Int getMaxCuDQPDepth()
Definition: TEncCfg.h:502
std::istringstream & operator>>(std::istringstream &in, GOPEntry &entry)
Definition: TAppEncCfg.cpp:153
Void setOverscanAppropriateFlag(Bool i)
Definition: TEncCfg.h:791
Void setMinSpatialSegmentationIdc(Int i)
Definition: TEncCfg.h:829
Int getNumRowsMinus1()
Definition: TEncCfg.h:598
Int m_modelId
Definition: TEncCfg.h:248
Bool m_progressiveSourceFlag
Definition: TEncCfg.h:120
Int getQP()
Definition: TEncCfg.h:478
UInt getQuadtreeTUMaxDepthInter() const
Definition: TEncCfg.h:485
Int getFramesToBeEncoded()
Definition: TEncCfg.h:468
Int m_iSearchRange
Definition: TEncCfg.h:167
Bool m_tilesFixedStructureFlag
Indicates that each active picture parameter set has the same values of the syntax elements related t...
Definition: TEncCfg.h:351
ScalingListMode
Definition: TypeDef.h:545
Int m_iWaveFrontSynchro
Definition: TEncCfg.h:236
Int getSegmentedRectFramePackingArrangementSEIEnabled()
Definition: TEncCfg.h:677
Void setUseHADME(Bool b)
Definition: TEncCfg.h:508
Int getSourceHeight()
Definition: TEncCfg.h:467
Int getFramePackingArrangementSEIQuincunx()
Definition: TEncCfg.h:673
#define MAX_TIMECODE_SEI_SETS
Maximum number of time sets.
Definition: TypeDef.h:252
Void setDeblockingFilterControlPresent(Bool b)
Definition: TEncCfg.h:428
Int m_targetBitDepth
Definition: TEncCfg.h:247
Void setUseAMP(Bool b)
Definition: TEncCfg.h:421
Void setTMISEINominalWhiteLevelLumaCodeValue(Int b)
Definition: TEncCfg.h:662
Int * getKneeSEIInputKneePoint()
Definition: TEncCfg.h:726
Int m_loopFilterBetaOffsetDiv2
Definition: TEncCfg.h:157
Void setNeutralChromaIndicationFlag(Bool i)
Definition: TEncCfg.h:813
Int getScalableNestingSEIEnabled()
Definition: TEncCfg.h:697
Int m_iMaxRefPicNum
this is used to mimic the sliding mechanism used by the decoder
Definition: TEncCfg.h:143
Bool getLFCrossTileBoundaryFlag()
Definition: TEncCfg.h:590
Int getGradualDecodingRefreshInfoEnabled()
Definition: TEncCfg.h:689
Bool getLoopFilterOffsetInPPS()
Definition: TEncCfg.h:490
Bool getTMISEIToneMapCancelFlag()
Definition: TEncCfg.h:617
Int getFramePackingArrangementSEIEnabled()
Definition: TEncCfg.h:667
Void setTransformSkipLog2MaxSize(UInt u)
Definition: TEncCfg.h:563
Void setFramePackingArrangementSEIEnabled(Int b)
Definition: TEncCfg.h:666
Int m_bipredSearchRange
Definition: TEncCfg.h:168
Int getTMISEIMaxValue()
Definition: TEncCfg.h:629
Int m_nominalWhiteLevelLumaCodeValue
Definition: TEncCfg.h:264
Void setSignHideFlag(Bool signHideFlag)
Definition: TEncCfg.h:745
Int m_numRefPicsActive
Definition: TEncCfg.h:58
Bool m_toneMapPersistenceFlag
Definition: TEncCfg.h:245
Int * getTMISEIStartOfCodedInterva()
Definition: TEncCfg.h:635
Int m_sigmoidMidpoint
Definition: TEncCfg.h:251
Int m_timeCodeSEINumTs
Definition: TEncCfg.h:287
Void setTMISEISigmoidMidpoint(Int b)
Definition: TEncCfg.h:630
Bool getUseCbfFastMode()
Definition: TEncCfg.h:533
UInt getQuadtreeTULog2MaxSize() const
Definition: TEncCfg.h:483
UInt m_uiQuadtreeTUMaxDepthIntra
Definition: TEncCfg.h:152
Int * m_kneeSEIInputKneePoint
Definition: TEncCfg.h:298
Bool getUseHighPrecisionPredictionWeighting() const
Definition: TEncCfg.h:457
Void setTMISEICodedPivotValue(Int *p)
Definition: TEncCfg.h:638
Tier
Definition: TypeDef.h:629
Int getNumColumnsMinus1()
Definition: TEncCfg.h:594
UInt getQuadtreeTULog2MinSize() const
Definition: TEncCfg.h:484
Void setQP(Int i)
Definition: TEncCfg.h:406
Bool m_useExtendedPrecision
Definition: TEncCfg.h:182
Bool getKneeSEICancelFlag()
Definition: TEncCfg.h:712
Bool m_tmctsSEIEnabled
Definition: TEncCfg.h:285
Int getChromaSamplingHorFilterIdc()
Definition: TEncCfg.h:864
UInt getRowHeight(UInt rowIdx)
Definition: TEncCfg.h:600
ChromaFormat getChromaFormatConstraintValue() const
Definition: TEncCfg.h:854
Int m_exposureIndexValue
Definition: TEncCfg.h:257
Void setFrameOnlyConstraintFlag(Bool b)
Definition: TEncCfg.h:849
Int getFramePackingArrangementSEIInterpretation()
Definition: TEncCfg.h:675
Void setKneeSEICancelFlag(Bool b)
Definition: TEncCfg.h:711
Int m_noDisplaySEITLayer
Definition: TEncCfg.h:281
Bool getUseRateCtrl()
Definition: TEncCfg.h:747
Void setProfile(Profile::Name profile)
Definition: TEncCfg.h:370
Void setRDpenalty(UInt b)
Definition: TEncCfg.h:511
Bool getDeblockingFilterMetric()
Definition: TEncCfg.h:494
Bool m_useTransformSkip
Definition: TEncCfg.h:201
Int * m_kneeSEIOutputKneePoint
Definition: TEncCfg.h:299
Int * getTMISEITargetPivotValue()
Definition: TEncCfg.h:641
Void setTMISEIToneMapPersistenceFlag(Bool b)
Definition: TEncCfg.h:618
Void setLoopFilterOffsetInPPS(Bool b)
Definition: TEncCfg.h:425
Void setVideoSignalTypePresentFlag(Bool i)
Definition: TEncCfg.h:793
Int m_sliceArgument
Definition: TEncCfg.h:218
UInt m_uiPCMBitDepthLuma
Definition: TEncCfg.h:225
Void setUseScalingListId(ScalingListMode u)
Definition: TEncCfg.h:739
Void setKneeSEIEnabled(Int b)
Definition: TEncCfg.h:707
Int * m_targetPivotValue
Definition: TEncCfg.h:268
Void setTargetBitrate(Int bitrate)
Definition: TEncCfg.h:750
Int getKneeSEIId()
Definition: TEncCfg.h:710
Window m_defaultDisplayWindow
Represents the default display window parameters.
Definition: TEncCfg.h:346
Void setLoopFilterDisable(Bool b)
Definition: TEncCfg.h:424
Bool m_nonPackedConstraintFlag
Definition: TEncCfg.h:122
UInt getBitDepthConstraintValue() const
Definition: TEncCfg.h:851
Void setTMISEIExposureCompensationValueNumerator(Int b)
Definition: TEncCfg.h:652
Bool getOverscanInfoPresentFlag()
Definition: TEncCfg.h:788
Int m_iMaxDeltaQP
Definition: TEncCfg.h:171
Int m_log2MaxMvLengthVertical
Indicate the maximum absolute value of a decoded vertical MV component in quarter-pel luma units...
Definition: TEncCfg.h:357
UInt m_uiIntraPeriod
Definition: TEncCfg.h:130
Bool m_refPic
Definition: TEncCfg.h:57
Bool getUseResidualRotation() const
Definition: TEncCfg.h:550
Void setTransferCharacteristics(Int i)
Definition: TEncCfg.h:803
int Int
Definition: TypeDef.h:296
Bool m_bPCMFilterDisableFlag
Definition: TEncCfg.h:227
Bool getSignHideFlag()
Definition: TEncCfg.h:746
Void setDeblockingFilterMetric(Bool b)
Definition: TEncCfg.h:429
Void setSliceMode(SliceConstraint i)
Definition: TEncCfg.h:571
Bool getKneeSEIPersistenceFlag()
Definition: TEncCfg.h:714
Void setPrintFrameMSE(Bool value)
Definition: TEncCfg.h:387
ScalingListMode getUseScalingListId()
Definition: TEncCfg.h:740
Void setUsePCM(Bool b)
Definition: TEncCfg.h:520
Bool m_bUseFastEnc
Definition: TEncCfg.h:193
Int getTMISEIExtendedRangeWhiteLevel()
Definition: TEncCfg.h:659
std::vector< Int > m_tileRowHeight
Definition: TEncCfg.h:234
Bool getAlignCABACBeforeBypass() const
Definition: TEncCfg.h:556
Int getTMISEISigmoidWidth()
Definition: TEncCfg.h:633
Int getSegmentedRectFramePackingArrangementSEICancel()
Definition: TEncCfg.h:679
UInt getMaxNumMergeCand()
Definition: TEncCfg.h:738
UInt m_uiQuadtreeTUMaxDepthInter
Definition: TEncCfg.h:151
Int * m_aidQP
Definition: TEncCfg.h:209
Void setTMISEISigmoidWidth(Int b)
Definition: TEncCfg.h:632
Int getTMISEIExposureCompensationValueDenomIdc()
Definition: TEncCfg.h:655
Void setBitDepthConstraintValue(UInt v)
Definition: TEncCfg.h:852
Bool m_bLoopFilterDisable
Definition: TEncCfg.h:155
Int getTMISEINumPivots()
Definition: TEncCfg.h:637
Bool m_interlacedSourceFlag
Definition: TEncCfg.h:121
Bool getTilesFixedStructureFlag()
Definition: TEncCfg.h:824
Void setTMISEITargetPivotValue(Int *p)
Definition: TEncCfg.h:640
TComVPS * getVPS()
Definition: TEncCfg.h:769
Bool getVuiParametersPresentFlag()
Definition: TEncCfg.h:778
Int getTMISEICameraIsoSpeedValue()
Definition: TEncCfg.h:645
Void setVideoFullRangeFlag(Bool i)
Definition: TEncCfg.h:797
UInt getDecodingRefreshType()
Definition: TEncCfg.h:474
Void setChromaLocInfoPresentFlag(Bool i)
Definition: TEncCfg.h:807
UInt getPCMLog2MaxSize()
Definition: TEncCfg.h:539
Void setTMISEITargetBitDepth(Int b)
Definition: TEncCfg.h:622
SliceConstraint getSliceMode() const
Definition: TEncCfg.h:573
SliceConstraint getSliceSegmentMode() const
Definition: TEncCfg.h:578
Bool m_useHighPrecisionPredictionWeighting
Definition: TEncCfg.h:183
Void setPad(Int *iPad)
Definition: TEncCfg.h:408
Int getTargetBitrate()
Definition: TEncCfg.h:749
Int getTemporalLevel0IndexSEIEnabled()
Definition: TEncCfg.h:687
Int m_log2MaxMvLengthHorizontal
Indicate the maximum absolute value of a decoded horizontal MV component in quarter-pel luma units...
Definition: TEncCfg.h:356
Bool m_useResidualDPCM[NUMBER_OF_RDPCM_SIGNALLING_MODES]
Definition: TEncCfg.h:208
Bool getChromaSamplingFilterHintEnabled()
Definition: TEncCfg.h:862
Void setMaxNumMergeCand(UInt u)
Definition: TEncCfg.h:737
Void setTimeCodeSEIEnabled(Bool b)
Definition: TEncCfg.h:700
Void setTilesFixedStructureFlag(Bool i)
Definition: TEncCfg.h:825
Int m_framePackingSEIQuincunx
Definition: TEncCfg.h:272
Int m_temporalId
Definition: TEncCfg.h:56
encoder configuration class
Definition: TEncCfg.h:99
Int getRDpenalty()
Definition: TEncCfg.h:529
Int m_decodedPictureHashSEIEnabled
Checksum(3)/CRC(2)/MD5(1)/disable(0) acting on decoded picture hash SEI message.
Definition: TEncCfg.h:238
Bool m_bUseCbfFastMode
Definition: TEncCfg.h:196
Void setKneeSEIInputKneePoint(Int *p)
Definition: TEncCfg.h:725
Int getTMISEIToneMapId()
Definition: TEncCfg.h:615
Bool m_loopFilterAcrossTilesEnabledFlag
Definition: TEncCfg.h:229
Void setTMISEIRefScreenLuminanceWhite(Int b)
Definition: TEncCfg.h:656
Bool getUseRDOQTS()
Definition: TEncCfg.h:528
Int m_gradualDecodingRefreshInfoEnabled
Definition: TEncCfg.h:280
Void setFramePackingArrangementSEIType(Int b)
Definition: TEncCfg.h:668
double Double
Definition: TypeDef.h:298
Int m_cameraIsoSpeedIdc
Definition: TEncCfg.h:254
Bool getCabacZeroWordPaddingEnabled() const
Definition: TEncCfg.h:392
Bool m_isEncoded
Definition: TEncCfg.h:67
Bool m_overscanAppropriateFlag
Indicates whether conformant decoded pictures are suitable for display using overscan.
Definition: TEncCfg.h:334
Int getMatrixCoefficients()
Definition: TEncCfg.h:804
Void setTMISEIExposureCompensationValueDenomIdc(Int b)
Definition: TEncCfg.h:654
Bool m_motionVectorsOverPicBoundariesFlag
Indicates that no samples outside the picture boundaries are used for inter prediction.
Definition: TEncCfg.h:352
Bool m_RCLCULevelRC
Definition: TEncCfg.h:313
Void setLowerBitRateConstraintFlag(Bool b)
Definition: TEncCfg.h:861
Int getFramePackingArrangementSEIType()
Definition: TEncCfg.h:669
Void setChromaSamplingVerFilterIdc(Int i)
Definition: TEncCfg.h:867
Bool m_segmentedRectFramePackingSEIPersistence
Definition: TEncCfg.h:277
Void setUseGolombRiceParameterAdaptation(const Bool value)
Definition: TEncCfg.h:555
Int getNoDisplaySEITLayer()
Definition: TEncCfg.h:691
Void setNumberOfTimeSets(Int value)
Definition: TEncCfg.h:702
Void setVuiParametersPresentFlag(Bool i)
Definition: TEncCfg.h:779
Int m_extendedWhiteLevelLumaCodeValue
Definition: TEncCfg.h:265
Void setWindow(Int offsetLeft, Int offsetLRight, Int offsetLTop, Int offsetLBottom)
Definition: TComSlice.h:541
Int getMaxNumOffsetsPerPic()
Definition: TEncCfg.h:586
Void setLog2MaxMvLengthHorizontal(Int i)
Definition: TEncCfg.h:835
Void setChromaSampleLocTypeBottomField(Int i)
Definition: TEncCfg.h:811
Void setGradualDecodingRefreshInfoEnabled(Int b)
Definition: TEncCfg.h:688
Int m_chromaSamplingHorFilterIdc
Specifies the Index of filter to use.
Definition: TEncCfg.h:328
Bool m_saoCtuBoundary
Definition: TEncCfg.h:163
Void setTimeSet(TComSEITimeSet element, Int index)
Definition: TEncCfg.h:704
Int getChromaSampleLocTypeTopField()
Definition: TEncCfg.h:808
Void setUseSingleSignificanceMapContext(const Bool value)
Definition: TEncCfg.h:553
Int getSOPDescriptionSEIEnabled()
Definition: TEncCfg.h:695
Int m_numPivots
Definition: TEncCfg.h:253
Int getGOPSize()
Definition: TEncCfg.h:475
Void setScalableNestingSEIEnabled(Int b)
Definition: TEncCfg.h:696
Bool m_kneeSEIEnabled
Definition: TEncCfg.h:289
Void setSarWidth(Int i)
Definition: TEncCfg.h:785
Int m_iFastSearch
Definition: TEncCfg.h:166
Int m_usedByCurrPic[16]
Definition: TEncCfg.h:62
Int getLoopFilterBetaOffset()
Definition: TEncCfg.h:491
Bool getUseRDOQ()
Definition: TEncCfg.h:527
Bool getUseTransformSkip()
Definition: TEncCfg.h:548
Bool m_DeblockingFilterMetric
Definition: TEncCfg.h:160
Bool getPrintSequenceMSE() const
Definition: TEncCfg.h:389
Int m_refScreenLuminanceWhite
Definition: TEncCfg.h:261
Char m_sliceType
Definition: TEncCfg.h:59
Bool getProgressiveSourceFlag() const
Definition: TEncCfg.h:839
UInt m_uiPCMBitDepthChroma
Definition: TEncCfg.h:226
Int getSarHeight()
Definition: TEncCfg.h:786
Void setKneeSEIInputDispLuminance(Int b)
Definition: TEncCfg.h:717
Int getActiveParameterSetsSEIEnabled()
Definition: TEncCfg.h:777
Bool getAspectRatioInfoPresentFlag()
Definition: TEncCfg.h:780
Window m_conformanceWindow
Definition: TEncCfg.h:107
Void setLog2MaxMvLengthVertical(Int i)
Definition: TEncCfg.h:837
Int getTMISEINominalBlackLevelLumaCodeValue()
Definition: TEncCfg.h:661
Int getTMISEITargetBitDepth()
Definition: TEncCfg.h:623
Double m_QPFactor
Definition: TEncCfg.h:53
Void setLog2ParallelMergeLevelMinus2(UInt u)
Definition: TEncCfg.h:735
Void setMaxTempLayer(Int maxTempLayer)
Definition: TEncCfg.h:414
Void setUseAdaptQpSelect(Bool i)
Definition: TEncCfg.h:450
Bool m_useEarlySkipDetection
Definition: TEncCfg.h:197
Void setSaoCtuBoundary(Bool val)
Definition: TEncCfg.h:587
Void setChromaFormatConstraintValue(ChromaFormat v)
Definition: TEncCfg.h:855
Void setPCMFilterDisableFlag(Bool b)
Definition: TEncCfg.h:519
Int m_extraRPSs
Definition: TEncCfg.h:134
Int getKneeSEIInputDrange()
Definition: TEncCfg.h:716
CostMode m_costMode
The cost function to use, primarily when considering lossless coding.
Definition: TEncCfg.h:320
Void setTMISEIMinValue(Int b)
Definition: TEncCfg.h:626
Bool getPCMInputBitDepthFlag()
Definition: TEncCfg.h:536
Int m_videoFormat
Indicates representation of pictures.
Definition: TEncCfg.h:336
Void setTMISEIToneMapId(Int b)
Definition: TEncCfg.h:614
Bool getUseFastEnc()
Definition: TEncCfg.h:530
Void setInterlacedSourceFlag(Bool b)
Definition: TEncCfg.h:843
Void setUseResidualDPCM(const RDPCMSignallingMode signallingMode, const Bool value)
Definition: TEncCfg.h:559
Bool getCUTransquantBypassFlagForceValue()
Definition: TEncCfg.h:763
Void setKneeSEIOutputDrange(Int b)
Definition: TEncCfg.h:719
Bool getMotionVectorsOverPicBoundariesFlag()
Definition: TEncCfg.h:826
Bool m_RCEnableRateControl
Definition: TEncCfg.h:310
Bool m_bUseHADME
Definition: TEncCfg.h:189