Changeset 1313 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncCfg.h
- Timestamp:
- 13 Aug 2015, 17:38:13 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibEncoder/TEncCfg.h
r1196 r1313 2 2 * License, included below. This software may be subject to other third party 3 3 * and contributor rights, including patent rights, and no such rights are 4 * granted under this license. 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-2015, ITU/ISO/IEC6 * Copyright (c) 2010-2015, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 46 46 #include "TLibCommon/TComSlice.h" 47 47 #include <assert.h> 48 #if H_3D48 #if NH_3D 49 49 #include "TAppCommon/TAppComCamPara.h" 50 50 #include "TLibRenderer/TRenModSetupStrParser.h" … … 65 65 Int m_referencePics[MAX_NUM_REF_PICS]; 66 66 Int m_usedByCurrPic[MAX_NUM_REF_PICS]; 67 #if AUTO_INTER_RPS68 67 Int m_interRPSPrediction; 69 #else70 Bool m_interRPSPrediction;71 #endif72 68 Int m_deltaRPS; 73 69 Int m_numRefIdc; 74 70 Int m_refIdc[MAX_NUM_REF_PICS+1]; 75 #if H_MV 71 Bool m_isEncoded; 72 #if NH_MV 76 73 Int m_numActiveRefLayerPics; 77 74 Int m_interLayerPredLayerIdc [MAX_NUM_REF_PICS]; 78 75 Int m_interViewRefPosL[2][MAX_NUM_REF_PICS]; 79 76 #endif 80 #if H_3D77 #if NH_3D 81 78 Bool m_interCompPredFlag; 82 79 #endif 83 GOPEntry() 80 81 GOPEntry() 84 82 : m_POC(-1) 85 83 , m_QPOffset(0) … … 95 93 , m_deltaRPS(0) 96 94 , m_numRefIdc(0) 97 #if H_MV 95 , m_isEncoded(false) 96 #if NH_MV 98 97 , m_numActiveRefLayerPics(0) 99 98 #endif 100 #if H_3D99 #if NH_3D 101 100 , m_interCompPredFlag(false) 102 101 #endif 102 103 103 { 104 104 ::memset( m_referencePics, 0, sizeof(m_referencePics) ); 105 105 ::memset( m_usedByCurrPic, 0, sizeof(m_usedByCurrPic) ); 106 106 ::memset( m_refIdc, 0, sizeof(m_refIdc) ); 107 #if H_MV107 #if NH_MV 108 108 ::memset( m_interLayerPredLayerIdc, 0, sizeof(m_interLayerPredLayerIdc) ); 109 109 ::memset( m_interViewRefPosL[0], -1, sizeof(m_interViewRefPosL[0]) ); … … 134 134 Double m_adLambdaModifier[ MAX_TLAYER ]; 135 135 136 Bool m_printMSEBasedSequencePSNR; 137 Bool m_printFrameMSE; 138 Bool m_printSequenceMSE; 139 Bool m_cabacZeroWordPaddingEnabled; 140 136 141 /* profile & level */ 137 142 Profile::Name m_profile; … … 142 147 Bool m_nonPackedConstraintFlag; 143 148 Bool m_frameOnlyConstraintFlag; 149 UInt m_bitDepthConstraintValue; 150 ChromaFormat m_chromaFormatConstraintValue; 151 Bool m_intraConstraintFlag; 152 Bool m_onePictureOnlyConstraintFlag; 153 Bool m_lowerBitRateConstraintFlag; 144 154 145 155 //====== Coding Structure ======== … … 147 157 UInt m_uiDecodingRefreshType; ///< the type of decoding refresh employed for the random access. 148 158 Int m_iGOPSize; 149 #if H_MV159 #if NH_MV 150 160 GOPEntry m_GOPList[MAX_GOP+1]; 151 161 #else … … 155 165 Int m_maxDecPicBuffering[MAX_TLAYER]; 156 166 Int m_numReorderPics[MAX_TLAYER]; 157 167 158 168 Int m_iQP; // if (AdaptiveQP == OFF) 159 169 160 170 Int m_aiPad[2]; 161 171 162 172 163 173 Int m_iMaxRefPicNum; ///< this is used to mimic the sliding mechanism used by the decoder … … 165 175 166 176 Int m_maxTempLayer; ///< Max temporal layer 167 Bool m_useAMP; 177 Bool m_useAMP; 178 UInt m_maxCUWidth; 179 UInt m_maxCUHeight; 180 UInt m_maxTotalCUDepth; 181 UInt m_log2DiffMaxMinCodingBlockSize; 182 168 183 //======= Transform ============= 169 184 UInt m_uiQuadtreeTULog2MaxSize; … … 171 186 UInt m_uiQuadtreeTUMaxDepthInter; 172 187 UInt m_uiQuadtreeTUMaxDepthIntra; 173 188 174 189 //====== Loop/Deblock Filter ======== 175 190 Bool m_bLoopFilterDisable; … … 177 192 Int m_loopFilterBetaOffsetDiv2; 178 193 Int m_loopFilterTcOffsetDiv2; 179 Bool m_DeblockingFilterControlPresent;180 194 Bool m_DeblockingFilterMetric; 181 195 Bool m_bUseSAO; 196 Bool m_bTestSAODisableAtPictureLevel; 197 Double m_saoEncodingRate; // When non-0 SAO early picture termination is enabled for luma and chroma 198 Double m_saoEncodingRateChroma; // The SAO early picture termination rate to use for chroma (when m_SaoEncodingRate is >0). If <=0, use results for luma. 182 199 Int m_maxNumOffsetsPerPic; 183 Bool m_saoLcuBoundary; 200 Bool m_saoCtuBoundary; 201 184 202 //====== Motion search ======== 203 Bool m_bDisableIntraPUsInInterSlices; 185 204 Int m_iFastSearch; // 0:Full search 1:Diamond 2:PMVFAST 186 205 Int m_iSearchRange; // 0:Full frame 187 206 Int m_bipredSearchRange; 188 #if H_MV 207 Bool m_bClipForBiPredMeEnabled; 208 Bool m_bFastMEAssumingSmootherMVEnabled; 209 210 #if NH_MV 189 211 Bool m_bUseDisparitySearchRangeRestriction; 190 212 Int m_iVerticalDisparitySearchRange; … … 193 215 Int m_iMaxDeltaQP; // Max. absolute delta QP (1:default) 194 216 Int m_iMaxCuDQPDepth; // Max. depth for a minimum CuDQP (0:default) 217 Int m_diffCuChromaQpOffsetDepth; ///< If negative, then do not apply chroma qp offsets. 195 218 196 219 Int m_chromaCbQpOffset; // Chroma Cb QP Offset (0:default) 197 220 Int m_chromaCrQpOffset; // Chroma Cr Qp Offset (0:default) 221 ChromaFormat m_chromaFormatIDC; 198 222 199 223 #if ADAPTIVE_QP_SELECTION 200 224 Bool m_bUseAdaptQpSelect; 201 225 #endif 202 226 Bool m_extendedPrecisionProcessingFlag; 227 Bool m_highPrecisionOffsetsEnabledFlag; 203 228 Bool m_bUseAdaptiveQP; 204 229 Int m_iQPAdaptationRange; 205 230 206 231 //====== Tool list ======== 232 Int m_bitDepth[MAX_NUM_CHANNEL_TYPE]; 207 233 Bool m_bUseASR; 208 234 Bool m_bUseHADME; 209 235 Bool m_useRDOQ; 210 236 Bool m_useRDOQTS; 237 #if T0196_SELECTIVE_RDOQ 238 Bool m_useSelectiveRDOQ; 239 #endif 211 240 UInt m_rdPenalty; 212 241 Bool m_bUseFastEnc; … … 215 244 Bool m_bUseCbfFastMode; 216 245 Bool m_useEarlySkipDetection; 246 Bool m_crossComponentPredictionEnabledFlag; 247 Bool m_reconBasedCrossCPredictionEstimate; 248 UInt m_log2SaoOffsetScale[MAX_NUM_CHANNEL_TYPE]; 217 249 Bool m_useTransformSkip; 218 250 Bool m_useTransformSkipFast; 251 UInt m_log2MaxTransformSkipBlockSize; 252 Bool m_transformSkipRotationEnabledFlag; 253 Bool m_transformSkipContextEnabledFlag; 254 Bool m_persistentRiceAdaptationEnabledFlag; 255 Bool m_cabacBypassAlignmentEnabledFlag; 256 Bool m_rdpcmEnabledFlag[NUMBER_OF_RDPCM_SIGNALLING_MODES]; 219 257 Int* m_aidQP; 220 258 UInt m_uiDeltaQpRD; 221 259 Bool m_bFastDeltaQP; 260 222 261 Bool m_bUseConstrainedIntraPred; 262 Bool m_bFastUDIUseMPMEnabled; 263 Bool m_bFastMEForGenBLowDelayEnabled; 264 Bool m_bUseBLambdaForNonKeyLowDelayPictures; 223 265 Bool m_usePCM; 266 Int m_PCMBitDepth[MAX_NUM_CHANNEL_TYPE]; 224 267 UInt m_pcmLog2MaxSize; 225 268 UInt m_uiPCMLog2MinSize; 226 269 //====== Slice ======== 227 Intm_sliceMode;228 Int m_sliceArgument; 270 SliceConstraint m_sliceMode; 271 Int m_sliceArgument; 229 272 //====== Dependent Slice ======== 230 Intm_sliceSegmentMode;273 SliceConstraint m_sliceSegmentMode; 231 274 Int m_sliceSegmentArgument; 232 275 Bool m_bLFCrossSliceBoundaryFlag; 233 276 234 277 Bool m_bPCMInputBitDepthFlag; 235 UInt m_uiPCMBitDepthLuma;236 UInt m_uiPCMBitDepthChroma;237 278 Bool m_bPCMFilterDisableFlag; 279 Bool m_intraSmoothingDisabledFlag; 238 280 Bool m_loopFilterAcrossTilesEnabledFlag; 239 281 Bool m_tileUniformSpacingFlag; … … 244 286 245 287 Int m_iWaveFrontSynchro; 246 Int m_iWaveFrontSubstreams;247 288 248 289 Int m_decodedPictureHashSEIEnabled; ///< Checksum(3)/CRC(2)/MD5(1)/disable(0) acting on decoded picture hash SEI message … … 256 297 Int m_codedDataBitDepth; 257 298 Int m_targetBitDepth; 258 Int m_modelId; 299 Int m_modelId; 259 300 Int m_minValue; 260 301 Int m_maxValue; … … 266 307 Int m_exposureIndexIdc; 267 308 Int m_exposureIndexValue; 268 Intm_exposureCompensationValueSignFlag;309 Bool m_exposureCompensationValueSignFlag; 269 310 Int m_exposureCompensationValueNumerator; 270 311 Int m_exposureCompensationValueDenomIdc; … … 282 323 Int m_framePackingSEIQuincunx; 283 324 Int m_framePackingSEIInterpretation; 325 Int m_segmentedRectFramePackingSEIEnabled; 326 Bool m_segmentedRectFramePackingSEICancel; 327 Int m_segmentedRectFramePackingSEIType; 328 Bool m_segmentedRectFramePackingSEIPersistence; 284 329 Int m_displayOrientationSEIAngle; 285 330 Int m_temporalLevel0IndexSEIEnabled; 286 331 Int m_gradualDecodingRefreshInfoEnabled; 332 Int m_noDisplaySEITLayer; 287 333 Int m_decodingUnitInfoSEIEnabled; 288 334 Int m_SOPDescriptionSEIEnabled; 289 335 Int m_scalableNestingSEIEnabled; 336 Bool m_tmctsSEIEnabled; 337 Bool m_timeCodeSEIEnabled; 338 Int m_timeCodeSEINumTs; 339 TComSEITimeSet m_timeSetArray[MAX_TIMECODE_SEI_SETS]; 340 Bool m_kneeSEIEnabled; 341 Int m_kneeSEIId; 342 Bool m_kneeSEICancelFlag; 343 Bool m_kneeSEIPersistenceFlag; 344 Int m_kneeSEIInputDrange; 345 Int m_kneeSEIInputDispLuminance; 346 Int m_kneeSEIOutputDrange; 347 Int m_kneeSEIOutputDispLuminance; 348 Int m_kneeSEINumKneePointsMinus1; 349 Int* m_kneeSEIInputKneePoint; 350 Int* m_kneeSEIOutputKneePoint; 351 TComSEIMasteringDisplay m_masteringDisplay; 290 352 //====== Weighted Prediction ======== 291 353 Bool m_useWeightedPred; //< Use of Weighting Prediction (P_SLICE) … … 293 355 UInt m_log2ParallelMergeLevelMinus2; ///< Parallel merge estimation region 294 356 UInt m_maxNumMergeCand; ///< Maximum number of merge candidates 295 Intm_useScalingListId; ///< Using quantization matrix i.e. 0=off, 1=default, 2=file.357 ScalingListMode m_useScalingListId; ///< Using quantization matrix i.e. 0=off, 1=default, 2=file. 296 358 Char* m_scalingListFile; ///< quantization matrix file name 297 359 Int m_TMVPModeId; 298 Intm_signHideFlag;360 Bool m_signHideFlag; 299 361 Bool m_RCEnableRateControl; 300 362 Int m_RCTargetBitrate; … … 313 375 Bool m_TransquantBypassEnableFlag; ///< transquant_bypass_enable_flag setting in PPS. 314 376 Bool m_CUTransquantBypassFlagForce; ///< if transquant_bypass_enable_flag, then, if true, all CU transquant bypass flags will be set to true. 315 #if H_MV 377 378 CostMode m_costMode; ///< The cost function to use, primarily when considering lossless coding. 379 #if NH_MV 316 380 TComVPS* m_cVPS; ///< pointer to VPS, same for all layers 317 381 #else 318 TComVPS m_cVPS; 319 #endif 320 321 #if H_3D 322 TComDLT* m_cDLT; 323 #endif 324 382 383 TComVPS m_cVPS; 384 #endif 385 386 #if NH_3D_DLT 387 TComDLT m_cDLT; 388 #endif 325 389 Bool m_recalculateQPAccordingToLambda; ///< recalculate QP value according to the lambda value 326 Int m_activeParameterSetsSEIEnabled; ///< enable active parameter set SEI message 390 Int m_activeParameterSetsSEIEnabled; ///< enable active parameter set SEI message 327 391 Bool m_vuiParametersPresentFlag; ///< enable generation of VUI parameters 328 392 Bool m_aspectRatioInfoPresentFlag; ///< Signals whether aspect_ratio_idc is present 393 Bool m_chromaSamplingFilterHintEnabled; ///< Signals whether chroma sampling filter hint data is present 394 Int m_chromaSamplingHorFilterIdc; ///< Specifies the Index of filter to use 395 Int m_chromaSamplingVerFilterIdc; ///< Specifies the Index of filter to use 329 396 Int m_aspectRatioIdc; ///< aspect_ratio_idc 330 397 Int m_sarWidth; ///< horizontal size of the sample aspect ratio … … 357 424 358 425 Bool m_useStrongIntraSmoothing; ///< enable the use of strong intra smoothing (bi_linear interpolation) for 32x32 blocks when reference samples are flat. 359 #if H_MV 426 Bool m_bEfficientFieldIRAPEnabled; ///< enable to code fields in a specific, potentially more efficient, order. 427 Bool m_bHarmonizeGopFirstFieldCoupleEnabled; 428 429 std::string m_summaryOutFilename; ///< filename to use for producing summary output file. 430 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. 431 UInt m_summaryVerboseness; ///< Specifies the level of the verboseness of the text output. 432 433 #if NH_MV 360 434 Bool m_subBistreamPropSEIEnabled; 361 435 Int m_numAdditionalSubStreams; … … 367 441 #endif 368 442 369 #if H_MV443 #if NH_MV 370 444 Int m_layerId; 371 445 Int m_layerIdInVps; … … 374 448 #endif 375 449 376 #if H_3D450 #if NH_3D 377 451 Bool m_isDepth; 378 452 … … 380 454 TAppComCamPara* m_cameraParameters; 381 455 382 #if H_3D_VSO456 #if NH_3D_VSO 383 457 //====== View Synthesis Optimization ====== 384 458 TRenModSetupStrParser* m_renderModelParameters; … … 397 471 Double m_dDispCoeff; 398 472 #endif 399 #if H_3D_IC 473 400 474 Bool m_bUseIC; 401 Bool m_bUseICLowLatencyEnc; 402 #endif 403 //====== Depth Intra Modes ====== 404 #if H_3D_DIM 475 Bool m_bUseICLowLatencyEnc; 405 476 Bool m_useDMM; 406 477 Bool m_useSDC; 407 478 Bool m_useDLT; 408 #endif409 #if H_3D_QTLPC410 479 Bool m_bUseQTL; 411 #endif 412 413 Int m_profileIdc; 480 Int m_profileIdc; 414 481 415 482 #endif … … 418 485 : m_tileColumnWidth() 419 486 , m_tileRowHeight() 420 #if H_MV487 #if NH_MV 421 488 , m_layerId(-1) 422 489 , m_layerIdInVps(-1) 423 490 , m_viewId(-1) 424 491 , m_viewIndex(-1) 425 #if H_3D492 #if NH_3D 426 493 , m_isDepth(false) 494 #if NH_3D_VSO 427 495 , m_bUseVSO(false) 496 #endif 428 497 , m_profileIdc( -1 ) 429 498 #endif 430 499 #endif 431 {} 500 501 { 502 m_PCMBitDepth[CHANNEL_TYPE_LUMA]=8; 503 m_PCMBitDepth[CHANNEL_TYPE_CHROMA]=8; 504 } 432 505 433 506 virtual ~TEncCfg() 434 507 {} 435 508 436 509 Void setProfile(Profile::Name profile) { m_profile = profile; } 437 510 Void setLevel(Level::Tier tier, Level::Name level) { m_levelTier = tier; m_level = level; } … … 446 519 447 520 Void setFramesToBeEncoded ( Int i ) { m_framesToBeEncoded = i; } 448 449 #if H_MV 521 522 Bool getPrintMSEBasedSequencePSNR () const { return m_printMSEBasedSequencePSNR; } 523 Void setPrintMSEBasedSequencePSNR (Bool value) { m_printMSEBasedSequencePSNR = value; } 524 525 Bool getPrintFrameMSE () const { return m_printFrameMSE; } 526 Void setPrintFrameMSE (Bool value) { m_printFrameMSE = value; } 527 528 Bool getPrintSequenceMSE () const { return m_printSequenceMSE; } 529 Void setPrintSequenceMSE (Bool value) { m_printSequenceMSE = value; } 530 531 Bool getCabacZeroWordPaddingEnabled() const { return m_cabacZeroWordPaddingEnabled; } 532 Void setCabacZeroWordPaddingEnabled(Bool value) { m_cabacZeroWordPaddingEnabled = value; } 533 #if NH_MV 450 534 Void setLayerId ( Int layerId ) { m_layerId = layerId; } 451 535 Int getLayerId () { return m_layerId; } … … 456 540 Void setViewIndex ( Int viewIndex ) { m_viewIndex = viewIndex; } 457 541 Int getViewIndex () { return m_viewIndex; } 458 #if H_3D542 #if NH_3D 459 543 Void setIsDepth ( Bool isDepth ) { m_isDepth = isDepth; } 460 544 Bool getIsDepth () { return m_isDepth; } … … 465 549 Void setDecodingRefreshType ( Int i ) { m_uiDecodingRefreshType = (UInt)i; } 466 550 Void setGOPSize ( Int i ) { m_iGOPSize = i; } 467 #if H_MV551 #if NH_MV 468 552 Void setGopList ( GOPEntry* GOPList ) { for ( Int i = 0; i < MAX_GOP+1; i++ ) m_GOPList[i] = GOPList[i]; } 469 553 #else … … 472 556 Void setExtraRPSs ( Int i ) { m_extraRPSs = i; } 473 557 GOPEntry getGOPEntry ( Int i ) { return m_GOPList[i]; } 558 Void setEncodedFlag ( Int i, Bool value ) { m_GOPList[i].m_isEncoded = value; } 474 559 Void setMaxDecPicBuffering ( UInt u, UInt tlayer ) { m_maxDecPicBuffering[tlayer] = u; } 475 560 Void setNumReorderPics ( Int i, UInt tlayer ) { m_numReorderPics[tlayer] = i; } 476 561 477 562 Void setQP ( Int i ) { m_iQP = i; } 478 563 479 564 Void setPad ( Int* iPad ) { for ( Int i = 0; i < 2; i++ ) m_aiPad[i] = iPad[i]; } 480 565 481 566 Int getMaxRefPicNum () { return m_iMaxRefPicNum; } 482 567 Void setMaxRefPicNum ( Int iMaxRefPicNum ) { m_iMaxRefPicNum = iMaxRefPicNum; } … … 484 569 Int getMaxTempLayer () { return m_maxTempLayer; } 485 570 Void setMaxTempLayer ( Int maxTempLayer ) { m_maxTempLayer = maxTempLayer; } 486 487 #if H_3D_IC 571 Void setMaxCUWidth ( UInt u ) { m_maxCUWidth = u; } 572 Void setMaxCUHeight ( UInt u ) { m_maxCUHeight = u; } 573 Void setMaxTotalCUDepth ( UInt u ) { m_maxTotalCUDepth = u; } 574 Void setLog2DiffMaxMinCodingBlockSize( UInt u ) { m_log2DiffMaxMinCodingBlockSize = u; } 575 #if NH_3D_IC 488 576 Void setUseIC ( Bool bVal ) { m_bUseIC = bVal; } 489 577 Bool getUseIC () { return m_bUseIC; } … … 491 579 Bool getUseICLowLatencyEnc () { return m_bUseICLowLatencyEnc; } 492 580 #endif 581 493 582 //======== Transform ============= 494 583 Void setQuadtreeTULog2MaxSize ( UInt u ) { m_uiQuadtreeTULog2MaxSize = u; } … … 496 585 Void setQuadtreeTUMaxDepthInter ( UInt u ) { m_uiQuadtreeTUMaxDepthInter = u; } 497 586 Void setQuadtreeTUMaxDepthIntra ( UInt u ) { m_uiQuadtreeTUMaxDepthIntra = u; } 498 587 499 588 Void setUseAMP( Bool b ) { m_useAMP = b; } 500 589 501 590 //====== Loop/Deblock Filter ======== 502 591 Void setLoopFilterDisable ( Bool b ) { m_bLoopFilterDisable = b; } … … 504 593 Void setLoopFilterBetaOffset ( Int i ) { m_loopFilterBetaOffsetDiv2 = i; } 505 594 Void setLoopFilterTcOffset ( Int i ) { m_loopFilterTcOffsetDiv2 = i; } 506 Void setDeblockingFilterControlPresent ( Bool b ) { m_DeblockingFilterControlPresent = b; }507 595 Void setDeblockingFilterMetric ( Bool b ) { m_DeblockingFilterMetric = b; } 508 596 509 597 //====== Motion search ======== 598 Void setDisableIntraPUsInInterSlices ( Bool b ) { m_bDisableIntraPUsInInterSlices = b; } 510 599 Void setFastSearch ( Int i ) { m_iFastSearch = i; } 511 600 Void setSearchRange ( Int i ) { m_iSearchRange = i; } 512 601 Void setBipredSearchRange ( Int i ) { m_bipredSearchRange = i; } 513 #if H_MV 602 Void setClipForBiPredMeEnabled ( Bool b ) { m_bClipForBiPredMeEnabled = b; } 603 Void setFastMEAssumingSmootherMVEnabled ( Bool b ) { m_bFastMEAssumingSmootherMVEnabled = b; } 604 #if NH_MV 514 605 Void setUseDisparitySearchRangeRestriction ( Bool b ) { m_bUseDisparitySearchRangeRestriction = b; } 515 606 Void setVerticalDisparitySearchRange ( Int i ) { m_iVerticalDisparitySearchRange = i; } … … 520 611 Void setMaxCuDQPDepth ( Int i ) { m_iMaxCuDQPDepth = i; } 521 612 613 Int getDiffCuChromaQpOffsetDepth () const { return m_diffCuChromaQpOffsetDepth; } 614 Void setDiffCuChromaQpOffsetDepth (Int value) { m_diffCuChromaQpOffsetDepth = value; } 615 522 616 Void setChromaCbQpOffset ( Int i ) { m_chromaCbQpOffset = i; } 523 617 Void setChromaCrQpOffset ( Int i ) { m_chromaCrQpOffset = i; } 618 619 Void setChromaFormatIdc ( ChromaFormat cf ) { m_chromaFormatIDC = cf; } 620 ChromaFormat getChromaFormatIdc ( ) { return m_chromaFormatIDC; } 524 621 525 622 #if ADAPTIVE_QP_SELECTION … … 528 625 #endif 529 626 627 Bool getExtendedPrecisionProcessingFlag () const { return m_extendedPrecisionProcessingFlag; } 628 Void setExtendedPrecisionProcessingFlag (Bool value) { m_extendedPrecisionProcessingFlag = value; } 629 630 Bool getHighPrecisionOffsetsEnabledFlag() const { return m_highPrecisionOffsetsEnabledFlag; } 631 Void setHighPrecisionOffsetsEnabledFlag(Bool value) { m_highPrecisionOffsetsEnabledFlag = value; } 632 530 633 Void setUseAdaptiveQP ( Bool b ) { m_bUseAdaptiveQP = b; } 531 634 Void setQPAdaptationRange ( Int i ) { m_iQPAdaptationRange = i; } 532 635 533 636 //====== Sequence ======== 534 637 Int getFrameRate () { return m_iFrameRate; } … … 537 640 Int getSourceHeight () { return m_iSourceHeight; } 538 641 Int getFramesToBeEncoded () { return m_framesToBeEncoded; } 539 void setLambdaModifier ( UInt uiIndex, Double dValue ) { m_adLambdaModifier[ uiIndex ] = dValue; }642 Void setLambdaModifier ( UInt uiIndex, Double dValue ) { m_adLambdaModifier[ uiIndex ] = dValue; } 540 643 Double getLambdaModifier ( UInt uiIndex ) const { return m_adLambdaModifier[ uiIndex ]; } 541 644 … … 547 650 Int getNumReorderPics (UInt tlayer) { return m_numReorderPics[tlayer]; } 548 651 Int getQP () { return m_iQP; } 549 652 550 653 Int getPad ( Int i ) { assert (i < 2 ); return m_aiPad[i]; } 551 654 552 655 //======== Transform ============= 553 656 UInt getQuadtreeTULog2MaxSize () const { return m_uiQuadtreeTULog2MaxSize; } … … 555 658 UInt getQuadtreeTUMaxDepthInter () const { return m_uiQuadtreeTUMaxDepthInter; } 556 659 UInt getQuadtreeTUMaxDepthIntra () const { return m_uiQuadtreeTUMaxDepthIntra; } 557 660 558 661 //==== Loop/Deblock Filter ======== 559 662 Bool getLoopFilterDisable () { return m_bLoopFilterDisable; } … … 561 664 Int getLoopFilterBetaOffset () { return m_loopFilterBetaOffsetDiv2; } 562 665 Int getLoopFilterTcOffset () { return m_loopFilterTcOffsetDiv2; } 563 Bool getDeblockingFilterControlPresent() { return m_DeblockingFilterControlPresent; }564 666 Bool getDeblockingFilterMetric () { return m_DeblockingFilterMetric; } 565 667 566 668 //==== Motion search ======== 567 Int getFastSearch () { return m_iFastSearch; } 568 Int getSearchRange () { return m_iSearchRange; } 569 #if H_MV 669 Bool getDisableIntraPUsInInterSlices () const { return m_bDisableIntraPUsInInterSlices; } 670 Int getFastSearch () const { return m_iFastSearch; } 671 Int getSearchRange () const { return m_iSearchRange; } 672 Bool getClipForBiPredMeEnabled () const { return m_bClipForBiPredMeEnabled; } 673 Bool getFastMEAssumingSmootherMVEnabled ( ) const { return m_bFastMEAssumingSmootherMVEnabled; } 674 #if NH_MV 570 675 Bool getUseDisparitySearchRangeRestriction () { return m_bUseDisparitySearchRangeRestriction; } 571 676 Int getVerticalDisparitySearchRange () { return m_iVerticalDisparitySearchRange; } … … 577 682 Bool getUseAdaptiveQP () { return m_bUseAdaptiveQP; } 578 683 Int getQPAdaptationRange () { return m_iQPAdaptationRange; } 579 684 580 685 //==== Tool list ======== 686 Void setBitDepth( const ChannelType chType, Int internalBitDepthForChannel ) { m_bitDepth[chType] = internalBitDepthForChannel; } 581 687 Void setUseASR ( Bool b ) { m_bUseASR = b; } 582 688 Void setUseHADME ( Bool b ) { m_bUseHADME = b; } 583 689 Void setUseRDOQ ( Bool b ) { m_useRDOQ = b; } 584 690 Void setUseRDOQTS ( Bool b ) { m_useRDOQTS = b; } 691 #if T0196_SELECTIVE_RDOQ 692 Void setUseSelectiveRDOQ ( Bool b ) { m_useSelectiveRDOQ = b; } 693 #endif 585 694 Void setRDpenalty ( UInt b ) { m_rdPenalty = b; } 586 695 Void setUseFastEnc ( Bool b ) { m_bUseFastEnc = b; } … … 590 699 Void setUseEarlySkipDetection ( Bool b ) { m_useEarlySkipDetection = b; } 591 700 Void setUseConstrainedIntraPred ( Bool b ) { m_bUseConstrainedIntraPred = b; } 701 Void setFastUDIUseMPMEnabled ( Bool b ) { m_bFastUDIUseMPMEnabled = b; } 702 Void setFastMEForGenBLowDelayEnabled ( Bool b ) { m_bFastMEForGenBLowDelayEnabled = b; } 703 Void setUseBLambdaForNonKeyLowDelayPictures ( Bool b ) { m_bUseBLambdaForNonKeyLowDelayPictures = b; } 704 592 705 Void setPCMInputBitDepthFlag ( Bool b ) { m_bPCMInputBitDepthFlag = b; } 593 706 Void setPCMFilterDisableFlag ( Bool b ) { m_bPCMFilterDisableFlag = b; } 594 707 Void setUsePCM ( Bool b ) { m_usePCM = b; } 708 Void setPCMBitDepth( const ChannelType chType, Int pcmBitDepthForChannel ) { m_PCMBitDepth[chType] = pcmBitDepthForChannel; } 595 709 Void setPCMLog2MaxSize ( UInt u ) { m_pcmLog2MaxSize = u; } 596 710 Void setPCMLog2MinSize ( UInt u ) { m_uiPCMLog2MinSize = u; } 597 711 Void setdQPs ( Int* p ) { m_aidQP = p; } 598 712 Void setDeltaQpRD ( UInt u ) {m_uiDeltaQpRD = u; } 713 Void setFastDeltaQp ( Bool b ) {m_bFastDeltaQP = b; } 599 714 Bool getUseASR () { return m_bUseASR; } 600 715 Bool getUseHADME () { return m_bUseHADME; } 601 716 Bool getUseRDOQ () { return m_useRDOQ; } 602 717 Bool getUseRDOQTS () { return m_useRDOQTS; } 603 Int getRDpenalty () { return m_rdPenalty; } 718 #if T0196_SELECTIVE_RDOQ 719 Bool getUseSelectiveRDOQ () { return m_useSelectiveRDOQ; } 720 #endif 721 Int getRDpenalty () { return m_rdPenalty; } 604 722 Bool getUseFastEnc () { return m_bUseFastEnc; } 605 723 Bool getUseEarlyCU () { return m_bUseEarlyCU; } 606 724 Bool getUseFastDecisionForMerge () { return m_useFastDecisionForMerge; } 607 Bool getUseCbfFastMode () { return m_bUseCbfFastMode; }725 Bool getUseCbfFastMode () { return m_bUseCbfFastMode; } 608 726 Bool getUseEarlySkipDetection () { return m_useEarlySkipDetection; } 609 727 Bool getUseConstrainedIntraPred () { return m_bUseConstrainedIntraPred; } 728 Bool getFastUDIUseMPMEnabled () { return m_bFastUDIUseMPMEnabled; } 729 Bool getFastMEForGenBLowDelayEnabled () { return m_bFastMEForGenBLowDelayEnabled; } 730 Bool getUseBLambdaForNonKeyLowDelayPictures () { return m_bUseBLambdaForNonKeyLowDelayPictures; } 610 731 Bool getPCMInputBitDepthFlag () { return m_bPCMInputBitDepthFlag; } 611 Bool getPCMFilterDisableFlag () { return m_bPCMFilterDisableFlag; } 732 Bool getPCMFilterDisableFlag () { return m_bPCMFilterDisableFlag; } 612 733 Bool getUsePCM () { return m_usePCM; } 613 734 UInt getPCMLog2MaxSize () { return m_pcmLog2MaxSize; } 614 735 UInt getPCMLog2MinSize () { return m_uiPCMLog2MinSize; } 615 736 737 Bool getCrossComponentPredictionEnabledFlag () const { return m_crossComponentPredictionEnabledFlag; } 738 Void setCrossComponentPredictionEnabledFlag (const Bool value) { m_crossComponentPredictionEnabledFlag = value; } 739 Bool getUseReconBasedCrossCPredictionEstimate () const { return m_reconBasedCrossCPredictionEstimate; } 740 Void setUseReconBasedCrossCPredictionEstimate (const Bool value) { m_reconBasedCrossCPredictionEstimate = value; } 741 Void setLog2SaoOffsetScale(ChannelType type, UInt uiBitShift) { m_log2SaoOffsetScale[type] = uiBitShift; } 742 616 743 Bool getUseTransformSkip () { return m_useTransformSkip; } 617 744 Void setUseTransformSkip ( Bool b ) { m_useTransformSkip = b; } 745 Bool getTransformSkipRotationEnabledFlag () const { return m_transformSkipRotationEnabledFlag; } 746 Void setTransformSkipRotationEnabledFlag (const Bool value) { m_transformSkipRotationEnabledFlag = value; } 747 Bool getTransformSkipContextEnabledFlag () const { return m_transformSkipContextEnabledFlag; } 748 Void setTransformSkipContextEnabledFlag (const Bool value) { m_transformSkipContextEnabledFlag = value; } 749 Bool getPersistentRiceAdaptationEnabledFlag () const { return m_persistentRiceAdaptationEnabledFlag; } 750 Void setPersistentRiceAdaptationEnabledFlag (const Bool value) { m_persistentRiceAdaptationEnabledFlag = value; } 751 Bool getCabacBypassAlignmentEnabledFlag () const { return m_cabacBypassAlignmentEnabledFlag; } 752 Void setCabacBypassAlignmentEnabledFlag (const Bool value) { m_cabacBypassAlignmentEnabledFlag = value; } 753 Bool getRdpcmEnabledFlag (const RDPCMSignallingMode signallingMode) const { return m_rdpcmEnabledFlag[signallingMode]; } 754 Void setRdpcmEnabledFlag (const RDPCMSignallingMode signallingMode, const Bool value) { m_rdpcmEnabledFlag[signallingMode] = value; } 618 755 Bool getUseTransformSkipFast () { return m_useTransformSkipFast; } 619 756 Void setUseTransformSkipFast ( Bool b ) { m_useTransformSkipFast = b; } 620 Int* getdQPs () { return m_aidQP; } 621 UInt getDeltaQpRD () { return m_uiDeltaQpRD; } 757 UInt getLog2MaxTransformSkipBlockSize () const { return m_log2MaxTransformSkipBlockSize; } 758 Void setLog2MaxTransformSkipBlockSize ( UInt u ) { m_log2MaxTransformSkipBlockSize = u; } 759 Bool getIntraSmoothingDisabledFlag () const { return m_intraSmoothingDisabledFlag; } 760 Void setIntraSmoothingDisabledFlag (Bool bValue) { m_intraSmoothingDisabledFlag=bValue; } 761 762 Int* getdQPs () { return m_aidQP; } 763 UInt getDeltaQpRD () const { return m_uiDeltaQpRD; } 764 Bool getFastDeltaQp () const { return m_bFastDeltaQP; } 622 765 623 766 //====== Slice ======== 624 Void setSliceMode ( Int i ){ m_sliceMode = i; }625 Void setSliceArgument ( Int i ) { m_sliceArgument = i; }626 Int getSliceMode (){ return m_sliceMode; }627 Int getSliceArgument () { return m_sliceArgument; }767 Void setSliceMode ( SliceConstraint i ) { m_sliceMode = i; } 768 Void setSliceArgument ( Int i ) { m_sliceArgument = i; } 769 SliceConstraint getSliceMode () const { return m_sliceMode; } 770 Int getSliceArgument () { return m_sliceArgument; } 628 771 //====== Dependent Slice ======== 629 Void setSliceSegmentMode ( Int i ) { m_sliceSegmentMode = i; } 630 Void setSliceSegmentArgument ( Int i ) { m_sliceSegmentArgument = i; } 631 Int getSliceSegmentMode () { return m_sliceSegmentMode; } 632 Int getSliceSegmentArgument () { return m_sliceSegmentArgument;} 633 Void setLFCrossSliceBoundaryFlag ( Bool bValue ) { m_bLFCrossSliceBoundaryFlag = bValue; } 634 Bool getLFCrossSliceBoundaryFlag () { return m_bLFCrossSliceBoundaryFlag; } 635 636 Void setUseSAO (Bool bVal) {m_bUseSAO = bVal;} 637 Bool getUseSAO () {return m_bUseSAO;} 638 Void setMaxNumOffsetsPerPic (Int iVal) { m_maxNumOffsetsPerPic = iVal; } 639 Int getMaxNumOffsetsPerPic () { return m_maxNumOffsetsPerPic; } 640 Void setSaoLcuBoundary (Bool val) { m_saoLcuBoundary = val; } 641 Bool getSaoLcuBoundary () { return m_saoLcuBoundary; } 642 Void setLFCrossTileBoundaryFlag ( Bool val ) { m_loopFilterAcrossTilesEnabledFlag = val; } 643 Bool getLFCrossTileBoundaryFlag () { return m_loopFilterAcrossTilesEnabledFlag; } 644 Void setTileUniformSpacingFlag ( Bool b ) { m_tileUniformSpacingFlag = b; } 645 Bool getTileUniformSpacingFlag () { return m_tileUniformSpacingFlag; } 646 Void setNumColumnsMinus1 ( Int i ) { m_iNumColumnsMinus1 = i; } 647 Int getNumColumnsMinus1 () { return m_iNumColumnsMinus1; } 648 Void setColumnWidth ( const std::vector<Int>& columnWidth ) { m_tileColumnWidth = columnWidth; } 649 UInt getColumnWidth ( UInt columnIdx ) { return m_tileColumnWidth[columnIdx]; } 650 Void setNumRowsMinus1 ( Int i ) { m_iNumRowsMinus1 = i; } 651 Int getNumRowsMinus1 () { return m_iNumRowsMinus1; } 652 Void setRowHeight ( const std::vector<Int>& rowHeight) { m_tileRowHeight = rowHeight; } 653 UInt getRowHeight ( UInt rowIdx ) { return m_tileRowHeight[rowIdx]; } 772 Void setSliceSegmentMode ( SliceConstraint i ) { m_sliceSegmentMode = i; } 773 Void setSliceSegmentArgument ( Int i ) { m_sliceSegmentArgument = i; } 774 SliceConstraint getSliceSegmentMode () const { return m_sliceSegmentMode; } 775 Int getSliceSegmentArgument () { return m_sliceSegmentArgument;} 776 Void setLFCrossSliceBoundaryFlag ( Bool bValue ) { m_bLFCrossSliceBoundaryFlag = bValue; } 777 Bool getLFCrossSliceBoundaryFlag () { return m_bLFCrossSliceBoundaryFlag; } 778 779 Void setUseSAO (Bool bVal) { m_bUseSAO = bVal; } 780 Bool getUseSAO () { return m_bUseSAO; } 781 Void setTestSAODisableAtPictureLevel (Bool bVal) { m_bTestSAODisableAtPictureLevel = bVal; } 782 Bool getTestSAODisableAtPictureLevel ( ) const { return m_bTestSAODisableAtPictureLevel; } 783 784 Void setSaoEncodingRate(Double v) { m_saoEncodingRate = v; } 785 Double getSaoEncodingRate() const { return m_saoEncodingRate; } 786 Void setSaoEncodingRateChroma(Double v) { m_saoEncodingRateChroma = v; } 787 Double getSaoEncodingRateChroma() const { return m_saoEncodingRateChroma; } 788 Void setMaxNumOffsetsPerPic (Int iVal) { m_maxNumOffsetsPerPic = iVal; } 789 Int getMaxNumOffsetsPerPic () { return m_maxNumOffsetsPerPic; } 790 Void setSaoCtuBoundary (Bool val) { m_saoCtuBoundary = val; } 791 Bool getSaoCtuBoundary () { return m_saoCtuBoundary; } 792 Void setLFCrossTileBoundaryFlag ( Bool val ) { m_loopFilterAcrossTilesEnabledFlag = val; } 793 Bool getLFCrossTileBoundaryFlag () { return m_loopFilterAcrossTilesEnabledFlag; } 794 Void setTileUniformSpacingFlag ( Bool b ) { m_tileUniformSpacingFlag = b; } 795 Bool getTileUniformSpacingFlag () { return m_tileUniformSpacingFlag; } 796 Void setNumColumnsMinus1 ( Int i ) { m_iNumColumnsMinus1 = i; } 797 Int getNumColumnsMinus1 () { return m_iNumColumnsMinus1; } 798 Void setColumnWidth ( const std::vector<Int>& columnWidth ) { m_tileColumnWidth = columnWidth; } 799 UInt getColumnWidth ( UInt columnIdx ) { return m_tileColumnWidth[columnIdx]; } 800 Void setNumRowsMinus1 ( Int i ) { m_iNumRowsMinus1 = i; } 801 Int getNumRowsMinus1 () { return m_iNumRowsMinus1; } 802 Void setRowHeight ( const std::vector<Int>& rowHeight) { m_tileRowHeight = rowHeight; } 803 UInt getRowHeight ( UInt rowIdx ) { return m_tileRowHeight[rowIdx]; } 654 804 Void xCheckGSParameters(); 655 Void setWaveFrontSynchro(Int iWaveFrontSynchro) { m_iWaveFrontSynchro = iWaveFrontSynchro; } 656 Int getWaveFrontsynchro() { return m_iWaveFrontSynchro; } 657 Void setWaveFrontSubstreams(Int iWaveFrontSubstreams) { m_iWaveFrontSubstreams = iWaveFrontSubstreams; } 658 Int getWaveFrontSubstreams() { return m_iWaveFrontSubstreams; } 659 Void setDecodedPictureHashSEIEnabled(Int b) { m_decodedPictureHashSEIEnabled = b; } 660 Int getDecodedPictureHashSEIEnabled() { return m_decodedPictureHashSEIEnabled; } 661 Void setBufferingPeriodSEIEnabled(Int b) { m_bufferingPeriodSEIEnabled = b; } 662 Int getBufferingPeriodSEIEnabled() { return m_bufferingPeriodSEIEnabled; } 663 Void setPictureTimingSEIEnabled(Int b) { m_pictureTimingSEIEnabled = b; } 664 Int getPictureTimingSEIEnabled() { return m_pictureTimingSEIEnabled; } 665 Void setRecoveryPointSEIEnabled(Int b) { m_recoveryPointSEIEnabled = b; } 666 Int getRecoveryPointSEIEnabled() { return m_recoveryPointSEIEnabled; } 667 Void setToneMappingInfoSEIEnabled(Bool b) { m_toneMappingInfoSEIEnabled = b; } 668 Bool getToneMappingInfoSEIEnabled() { return m_toneMappingInfoSEIEnabled; } 669 Void setTMISEIToneMapId(Int b) { m_toneMapId = b; } 670 Int getTMISEIToneMapId() { return m_toneMapId; } 671 Void setTMISEIToneMapCancelFlag(Bool b) { m_toneMapCancelFlag=b; } 672 Bool getTMISEIToneMapCancelFlag() { return m_toneMapCancelFlag; } 673 Void setTMISEIToneMapPersistenceFlag(Bool b) { m_toneMapPersistenceFlag = b; } 674 Bool getTMISEIToneMapPersistenceFlag() { return m_toneMapPersistenceFlag; } 675 Void setTMISEICodedDataBitDepth(Int b) { m_codedDataBitDepth = b; } 676 Int getTMISEICodedDataBitDepth() { return m_codedDataBitDepth; } 677 Void setTMISEITargetBitDepth(Int b) { m_targetBitDepth = b; } 678 Int getTMISEITargetBitDepth() { return m_targetBitDepth; } 679 Void setTMISEIModelID(Int b) { m_modelId = b; } 680 Int getTMISEIModelID() { return m_modelId; } 681 Void setTMISEIMinValue(Int b) { m_minValue = b; } 682 Int getTMISEIMinValue() { return m_minValue; } 683 Void setTMISEIMaxValue(Int b) { m_maxValue = b; } 684 Int getTMISEIMaxValue() { return m_maxValue; } 685 Void setTMISEISigmoidMidpoint(Int b) { m_sigmoidMidpoint = b; } 686 Int getTMISEISigmoidMidpoint() { return m_sigmoidMidpoint; } 687 Void setTMISEISigmoidWidth(Int b) { m_sigmoidWidth = b; } 688 Int getTMISEISigmoidWidth() { return m_sigmoidWidth; } 689 Void setTMISEIStartOfCodedInterva( Int* p ) { m_startOfCodedInterval = p; } 690 Int* getTMISEIStartOfCodedInterva() { return m_startOfCodedInterval; } 691 Void setTMISEINumPivots(Int b) { m_numPivots = b; } 692 Int getTMISEINumPivots() { return m_numPivots; } 693 Void setTMISEICodedPivotValue( Int* p ) { m_codedPivotValue = p; } 694 Int* getTMISEICodedPivotValue() { return m_codedPivotValue; } 695 Void setTMISEITargetPivotValue( Int* p ) { m_targetPivotValue = p; } 696 Int* getTMISEITargetPivotValue() { return m_targetPivotValue; } 697 Void setTMISEICameraIsoSpeedIdc(Int b) { m_cameraIsoSpeedIdc = b; } 698 Int getTMISEICameraIsoSpeedIdc() { return m_cameraIsoSpeedIdc; } 699 Void setTMISEICameraIsoSpeedValue(Int b) { m_cameraIsoSpeedValue = b; } 700 Int getTMISEICameraIsoSpeedValue() { return m_cameraIsoSpeedValue; } 701 Void setTMISEIExposureIndexIdc(Int b) { m_exposureIndexIdc = b; } 702 Int getTMISEIExposurIndexIdc() { return m_exposureIndexIdc; } 703 Void setTMISEIExposureIndexValue(Int b) { m_exposureIndexValue = b; } 704 Int getTMISEIExposurIndexValue() { return m_exposureIndexValue; } 705 Void setTMISEIExposureCompensationValueSignFlag(Int b) { m_exposureCompensationValueSignFlag = b; } 706 Int getTMISEIExposureCompensationValueSignFlag() { return m_exposureCompensationValueSignFlag; } 707 Void setTMISEIExposureCompensationValueNumerator(Int b) { m_exposureCompensationValueNumerator = b; } 708 Int getTMISEIExposureCompensationValueNumerator() { return m_exposureCompensationValueNumerator; } 709 Void setTMISEIExposureCompensationValueDenomIdc(Int b) { m_exposureCompensationValueDenomIdc =b; } 710 Int getTMISEIExposureCompensationValueDenomIdc() { return m_exposureCompensationValueDenomIdc; } 711 Void setTMISEIRefScreenLuminanceWhite(Int b) { m_refScreenLuminanceWhite = b; } 712 Int getTMISEIRefScreenLuminanceWhite() { return m_refScreenLuminanceWhite; } 713 Void setTMISEIExtendedRangeWhiteLevel(Int b) { m_extendedRangeWhiteLevel = b; } 714 Int getTMISEIExtendedRangeWhiteLevel() { return m_extendedRangeWhiteLevel; } 715 Void setTMISEINominalBlackLevelLumaCodeValue(Int b) { m_nominalBlackLevelLumaCodeValue = b; } 716 Int getTMISEINominalBlackLevelLumaCodeValue() { return m_nominalBlackLevelLumaCodeValue; } 717 Void setTMISEINominalWhiteLevelLumaCodeValue(Int b) { m_nominalWhiteLevelLumaCodeValue = b; } 718 Int getTMISEINominalWhiteLevelLumaCodeValue() { return m_nominalWhiteLevelLumaCodeValue; } 719 Void setTMISEIExtendedWhiteLevelLumaCodeValue(Int b) { m_extendedWhiteLevelLumaCodeValue =b; } 720 Int getTMISEIExtendedWhiteLevelLumaCodeValue() { return m_extendedWhiteLevelLumaCodeValue; } 721 Void setFramePackingArrangementSEIEnabled(Int b) { m_framePackingSEIEnabled = b; } 722 Int getFramePackingArrangementSEIEnabled() { return m_framePackingSEIEnabled; } 723 Void setFramePackingArrangementSEIType(Int b) { m_framePackingSEIType = b; } 724 Int getFramePackingArrangementSEIType() { return m_framePackingSEIType; } 725 Void setFramePackingArrangementSEIId(Int b) { m_framePackingSEIId = b; } 726 Int getFramePackingArrangementSEIId() { return m_framePackingSEIId; } 727 Void setFramePackingArrangementSEIQuincunx(Int b) { m_framePackingSEIQuincunx = b; } 728 Int getFramePackingArrangementSEIQuincunx() { return m_framePackingSEIQuincunx; } 729 Void setFramePackingArrangementSEIInterpretation(Int b) { m_framePackingSEIInterpretation = b; } 730 Int getFramePackingArrangementSEIInterpretation() { return m_framePackingSEIInterpretation; } 731 Void setDisplayOrientationSEIAngle(Int b) { m_displayOrientationSEIAngle = b; } 732 Int getDisplayOrientationSEIAngle() { return m_displayOrientationSEIAngle; } 733 Void setTemporalLevel0IndexSEIEnabled(Int b) { m_temporalLevel0IndexSEIEnabled = b; } 734 Int getTemporalLevel0IndexSEIEnabled() { return m_temporalLevel0IndexSEIEnabled; } 735 Void setGradualDecodingRefreshInfoEnabled(Int b) { m_gradualDecodingRefreshInfoEnabled = b; } 736 Int getGradualDecodingRefreshInfoEnabled() { return m_gradualDecodingRefreshInfoEnabled; } 737 Void setDecodingUnitInfoSEIEnabled(Int b) { m_decodingUnitInfoSEIEnabled = b; } 738 Int getDecodingUnitInfoSEIEnabled() { return m_decodingUnitInfoSEIEnabled; } 739 Void setSOPDescriptionSEIEnabled(Int b) { m_SOPDescriptionSEIEnabled = b; } 740 Int getSOPDescriptionSEIEnabled() { return m_SOPDescriptionSEIEnabled; } 741 Void setScalableNestingSEIEnabled(Int b) { m_scalableNestingSEIEnabled = b; } 742 Int getScalableNestingSEIEnabled() { return m_scalableNestingSEIEnabled; } 743 744 #if H_MV 745 Bool getSubBitstreamPropSEIEnabled() { return m_subBistreamPropSEIEnabled;} 746 Void setSubBitstreamPropSEIEnabled(Bool x) { m_subBistreamPropSEIEnabled = x;} 747 748 Int getNumAdditionalSubStreams() { return m_numAdditionalSubStreams;} 749 Void setNumAdditionalSubStreams(Int x) { m_numAdditionalSubStreams = x;} 750 751 std::vector<Int> const &getSubBitstreamMode() { return m_subBitstreamMode;} 752 Int getSubBitstreamMode(Int idx) { return m_subBitstreamMode[idx];} 753 Void setSubBitstreamMode(std::vector<Int> &x) { m_subBitstreamMode = x;} 754 755 std::vector<Int> const &getOutputLayerSetIdxToVps() { return m_outputLayerSetIdxToVps;} 756 Int getOutputLayerSetIdxToVps(Int idx) { return m_outputLayerSetIdxToVps[idx];} 757 Void setOutputLayerSetIdxToVps(std::vector<Int> &x) { m_outputLayerSetIdxToVps = x;} 758 759 std::vector<Int> const &getHighestSublayerId() { return m_highestSublayerId;} 760 Int getHighestSublayerId(Int idx) { return m_highestSublayerId[idx];} 761 Void setHighestSublayerId(std::vector<Int> &x) { m_highestSublayerId = x;} 762 763 std::vector<Int> const &getAvgBitRate() { return m_avgBitRate;} 764 Int getAvgBitRate(Int idx) { return m_avgBitRate[idx];} 765 Void setAvgBitRate(std::vector<Int> &x) { m_avgBitRate = x;} 766 767 std::vector<Int> const &getMaxBitRate() { return m_maxBitRate;} 768 Int getMaxBitRate(Int idx) { return m_maxBitRate[idx];} 769 Void setMaxBitRate(std::vector<Int> &x) { m_maxBitRate = x;} 770 771 #endif 772 Void setUseWP ( Bool b ) { m_useWeightedPred = b; } 773 Void setWPBiPred ( Bool b ) { m_useWeightedBiPred = b; } 774 Bool getUseWP () { return m_useWeightedPred; } 775 Bool getWPBiPred () { return m_useWeightedBiPred; } 776 Void setLog2ParallelMergeLevelMinus2 ( UInt u ) { m_log2ParallelMergeLevelMinus2 = u; } 777 UInt getLog2ParallelMergeLevelMinus2 () { return m_log2ParallelMergeLevelMinus2; } 778 Void setMaxNumMergeCand ( UInt u ) { m_maxNumMergeCand = u; } 779 UInt getMaxNumMergeCand () { return m_maxNumMergeCand; } 780 Void setUseScalingListId ( Int u ) { m_useScalingListId = u; } 781 Int getUseScalingListId () { return m_useScalingListId; } 782 Void setScalingListFile ( Char* pch ){ m_scalingListFile = pch; } 783 Char* getScalingListFile () { return m_scalingListFile; } 784 Void setTMVPModeId ( Int u ) { m_TMVPModeId = u; } 785 Int getTMVPModeId () { return m_TMVPModeId; } 786 Void setSignHideFlag( Int signHideFlag ) { m_signHideFlag = signHideFlag; } 787 Int getSignHideFlag() { return m_signHideFlag; } 788 Bool getUseRateCtrl () { return m_RCEnableRateControl; } 789 Void setUseRateCtrl ( Bool b ) { m_RCEnableRateControl = b; } 790 Int getTargetBitrate () { return m_RCTargetBitrate; } 791 Void setTargetBitrate ( Int bitrate ) { m_RCTargetBitrate = bitrate; } 792 Int getKeepHierBit () { return m_RCKeepHierarchicalBit; } 793 Void setKeepHierBit ( Int i ) { m_RCKeepHierarchicalBit = i; } 794 Bool getLCULevelRC () { return m_RCLCULevelRC; } 795 Void setLCULevelRC ( Bool b ) { m_RCLCULevelRC = b; } 796 Bool getUseLCUSeparateModel () { return m_RCUseLCUSeparateModel; } 797 Void setUseLCUSeparateModel ( Bool b ) { m_RCUseLCUSeparateModel = b; } 798 Int getInitialQP () { return m_RCInitialQP; } 799 Void setInitialQP ( Int QP ) { m_RCInitialQP = QP; } 800 Bool getForceIntraQP () { return m_RCForceIntraQP; } 801 Void setForceIntraQP ( Bool b ) { m_RCForceIntraQP = b; } 805 Void setWaveFrontSynchro(Int iWaveFrontSynchro) { m_iWaveFrontSynchro = iWaveFrontSynchro; } 806 Int getWaveFrontsynchro() { return m_iWaveFrontSynchro; } 807 Void setDecodedPictureHashSEIEnabled(Int b) { m_decodedPictureHashSEIEnabled = b; } 808 Int getDecodedPictureHashSEIEnabled() { return m_decodedPictureHashSEIEnabled; } 809 Void setBufferingPeriodSEIEnabled(Int b) { m_bufferingPeriodSEIEnabled = b; } 810 Int getBufferingPeriodSEIEnabled() { return m_bufferingPeriodSEIEnabled; } 811 Void setPictureTimingSEIEnabled(Int b) { m_pictureTimingSEIEnabled = b; } 812 Int getPictureTimingSEIEnabled() { return m_pictureTimingSEIEnabled; } 813 Void setRecoveryPointSEIEnabled(Int b) { m_recoveryPointSEIEnabled = b; } 814 Int getRecoveryPointSEIEnabled() { return m_recoveryPointSEIEnabled; } 815 Void setToneMappingInfoSEIEnabled(Bool b) { m_toneMappingInfoSEIEnabled = b; } 816 Bool getToneMappingInfoSEIEnabled() { return m_toneMappingInfoSEIEnabled; } 817 Void setTMISEIToneMapId(Int b) { m_toneMapId = b; } 818 Int getTMISEIToneMapId() { return m_toneMapId; } 819 Void setTMISEIToneMapCancelFlag(Bool b) { m_toneMapCancelFlag=b; } 820 Bool getTMISEIToneMapCancelFlag() { return m_toneMapCancelFlag; } 821 Void setTMISEIToneMapPersistenceFlag(Bool b) { m_toneMapPersistenceFlag = b; } 822 Bool getTMISEIToneMapPersistenceFlag() { return m_toneMapPersistenceFlag; } 823 Void setTMISEICodedDataBitDepth(Int b) { m_codedDataBitDepth = b; } 824 Int getTMISEICodedDataBitDepth() { return m_codedDataBitDepth; } 825 Void setTMISEITargetBitDepth(Int b) { m_targetBitDepth = b; } 826 Int getTMISEITargetBitDepth() { return m_targetBitDepth; } 827 Void setTMISEIModelID(Int b) { m_modelId = b; } 828 Int getTMISEIModelID() { return m_modelId; } 829 Void setTMISEIMinValue(Int b) { m_minValue = b; } 830 Int getTMISEIMinValue() { return m_minValue; } 831 Void setTMISEIMaxValue(Int b) { m_maxValue = b; } 832 Int getTMISEIMaxValue() { return m_maxValue; } 833 Void setTMISEISigmoidMidpoint(Int b) { m_sigmoidMidpoint = b; } 834 Int getTMISEISigmoidMidpoint() { return m_sigmoidMidpoint; } 835 Void setTMISEISigmoidWidth(Int b) { m_sigmoidWidth = b; } 836 Int getTMISEISigmoidWidth() { return m_sigmoidWidth; } 837 Void setTMISEIStartOfCodedInterva( Int* p ) { m_startOfCodedInterval = p; } 838 Int* getTMISEIStartOfCodedInterva() { return m_startOfCodedInterval; } 839 Void setTMISEINumPivots(Int b) { m_numPivots = b; } 840 Int getTMISEINumPivots() { return m_numPivots; } 841 Void setTMISEICodedPivotValue( Int* p ) { m_codedPivotValue = p; } 842 Int* getTMISEICodedPivotValue() { return m_codedPivotValue; } 843 Void setTMISEITargetPivotValue( Int* p ) { m_targetPivotValue = p; } 844 Int* getTMISEITargetPivotValue() { return m_targetPivotValue; } 845 Void setTMISEICameraIsoSpeedIdc(Int b) { m_cameraIsoSpeedIdc = b; } 846 Int getTMISEICameraIsoSpeedIdc() { return m_cameraIsoSpeedIdc; } 847 Void setTMISEICameraIsoSpeedValue(Int b) { m_cameraIsoSpeedValue = b; } 848 Int getTMISEICameraIsoSpeedValue() { return m_cameraIsoSpeedValue; } 849 Void setTMISEIExposureIndexIdc(Int b) { m_exposureIndexIdc = b; } 850 Int getTMISEIExposurIndexIdc() { return m_exposureIndexIdc; } 851 Void setTMISEIExposureIndexValue(Int b) { m_exposureIndexValue = b; } 852 Int getTMISEIExposurIndexValue() { return m_exposureIndexValue; } 853 Void setTMISEIExposureCompensationValueSignFlag(Bool b) { m_exposureCompensationValueSignFlag = b; } 854 Bool getTMISEIExposureCompensationValueSignFlag() { return m_exposureCompensationValueSignFlag; } 855 Void setTMISEIExposureCompensationValueNumerator(Int b) { m_exposureCompensationValueNumerator = b; } 856 Int getTMISEIExposureCompensationValueNumerator() { return m_exposureCompensationValueNumerator; } 857 Void setTMISEIExposureCompensationValueDenomIdc(Int b) { m_exposureCompensationValueDenomIdc =b; } 858 Int getTMISEIExposureCompensationValueDenomIdc() { return m_exposureCompensationValueDenomIdc; } 859 Void setTMISEIRefScreenLuminanceWhite(Int b) { m_refScreenLuminanceWhite = b; } 860 Int getTMISEIRefScreenLuminanceWhite() { return m_refScreenLuminanceWhite; } 861 Void setTMISEIExtendedRangeWhiteLevel(Int b) { m_extendedRangeWhiteLevel = b; } 862 Int getTMISEIExtendedRangeWhiteLevel() { return m_extendedRangeWhiteLevel; } 863 Void setTMISEINominalBlackLevelLumaCodeValue(Int b) { m_nominalBlackLevelLumaCodeValue = b; } 864 Int getTMISEINominalBlackLevelLumaCodeValue() { return m_nominalBlackLevelLumaCodeValue; } 865 Void setTMISEINominalWhiteLevelLumaCodeValue(Int b) { m_nominalWhiteLevelLumaCodeValue = b; } 866 Int getTMISEINominalWhiteLevelLumaCodeValue() { return m_nominalWhiteLevelLumaCodeValue; } 867 Void setTMISEIExtendedWhiteLevelLumaCodeValue(Int b) { m_extendedWhiteLevelLumaCodeValue =b; } 868 Int getTMISEIExtendedWhiteLevelLumaCodeValue() { return m_extendedWhiteLevelLumaCodeValue; } 869 Void setFramePackingArrangementSEIEnabled(Int b) { m_framePackingSEIEnabled = b; } 870 Int getFramePackingArrangementSEIEnabled() { return m_framePackingSEIEnabled; } 871 Void setFramePackingArrangementSEIType(Int b) { m_framePackingSEIType = b; } 872 Int getFramePackingArrangementSEIType() { return m_framePackingSEIType; } 873 Void setFramePackingArrangementSEIId(Int b) { m_framePackingSEIId = b; } 874 Int getFramePackingArrangementSEIId() { return m_framePackingSEIId; } 875 Void setFramePackingArrangementSEIQuincunx(Int b) { m_framePackingSEIQuincunx = b; } 876 Int getFramePackingArrangementSEIQuincunx() { return m_framePackingSEIQuincunx; } 877 Void setFramePackingArrangementSEIInterpretation(Int b) { m_framePackingSEIInterpretation = b; } 878 Int getFramePackingArrangementSEIInterpretation() { return m_framePackingSEIInterpretation; } 879 Void setSegmentedRectFramePackingArrangementSEIEnabled(Int b) { m_segmentedRectFramePackingSEIEnabled = b; } 880 Int getSegmentedRectFramePackingArrangementSEIEnabled() { return m_segmentedRectFramePackingSEIEnabled; } 881 Void setSegmentedRectFramePackingArrangementSEICancel(Int b) { m_segmentedRectFramePackingSEICancel = b; } 882 Int getSegmentedRectFramePackingArrangementSEICancel() { return m_segmentedRectFramePackingSEICancel; } 883 Void setSegmentedRectFramePackingArrangementSEIType(Int b) { m_segmentedRectFramePackingSEIType = b; } 884 Int getSegmentedRectFramePackingArrangementSEIType() { return m_segmentedRectFramePackingSEIType; } 885 Void setSegmentedRectFramePackingArrangementSEIPersistence(Int b) { m_segmentedRectFramePackingSEIPersistence = b; } 886 Int getSegmentedRectFramePackingArrangementSEIPersistence() { return m_segmentedRectFramePackingSEIPersistence; } 887 Void setDisplayOrientationSEIAngle(Int b) { m_displayOrientationSEIAngle = b; } 888 Int getDisplayOrientationSEIAngle() { return m_displayOrientationSEIAngle; } 889 Void setTemporalLevel0IndexSEIEnabled(Int b) { m_temporalLevel0IndexSEIEnabled = b; } 890 Int getTemporalLevel0IndexSEIEnabled() { return m_temporalLevel0IndexSEIEnabled; } 891 Void setGradualDecodingRefreshInfoEnabled(Int b) { m_gradualDecodingRefreshInfoEnabled = b; } 892 Int getGradualDecodingRefreshInfoEnabled() { return m_gradualDecodingRefreshInfoEnabled; } 893 Void setNoDisplaySEITLayer(Int b) { m_noDisplaySEITLayer = b; } 894 Int getNoDisplaySEITLayer() { return m_noDisplaySEITLayer; } 895 Void setDecodingUnitInfoSEIEnabled(Int b) { m_decodingUnitInfoSEIEnabled = b; } 896 Int getDecodingUnitInfoSEIEnabled() { return m_decodingUnitInfoSEIEnabled; } 897 Void setSOPDescriptionSEIEnabled(Int b) { m_SOPDescriptionSEIEnabled = b; } 898 Int getSOPDescriptionSEIEnabled() { return m_SOPDescriptionSEIEnabled; } 899 Void setScalableNestingSEIEnabled(Int b) { m_scalableNestingSEIEnabled = b; } 900 Int getScalableNestingSEIEnabled() { return m_scalableNestingSEIEnabled; } 901 Void setTMCTSSEIEnabled(Bool b) { m_tmctsSEIEnabled = b; } 902 Bool getTMCTSSEIEnabled() { return m_tmctsSEIEnabled; } 903 Void setTimeCodeSEIEnabled(Bool b) { m_timeCodeSEIEnabled = b; } 904 Bool getTimeCodeSEIEnabled() { return m_timeCodeSEIEnabled; } 905 Void setNumberOfTimeSets(Int value) { m_timeCodeSEINumTs = value; } 906 Int getNumberOfTimesets() { return m_timeCodeSEINumTs; } 907 Void setTimeSet(TComSEITimeSet element, Int index) { m_timeSetArray[index] = element; } 908 TComSEITimeSet &getTimeSet(Int index) { return m_timeSetArray[index]; } 909 const TComSEITimeSet &getTimeSet(Int index) const { return m_timeSetArray[index]; } 910 Void setKneeSEIEnabled(Int b) { m_kneeSEIEnabled = b; } 911 Bool getKneeSEIEnabled() { return m_kneeSEIEnabled; } 912 Void setKneeSEIId(Int b) { m_kneeSEIId = b; } 913 Int getKneeSEIId() { return m_kneeSEIId; } 914 Void setKneeSEICancelFlag(Bool b) { m_kneeSEICancelFlag=b; } 915 Bool getKneeSEICancelFlag() { return m_kneeSEICancelFlag; } 916 Void setKneeSEIPersistenceFlag(Bool b) { m_kneeSEIPersistenceFlag = b; } 917 Bool getKneeSEIPersistenceFlag() { return m_kneeSEIPersistenceFlag; } 918 Void setKneeSEIInputDrange(Int b) { m_kneeSEIInputDrange = b; } 919 Int getKneeSEIInputDrange() { return m_kneeSEIInputDrange; } 920 Void setKneeSEIInputDispLuminance(Int b) { m_kneeSEIInputDispLuminance = b; } 921 Int getKneeSEIInputDispLuminance() { return m_kneeSEIInputDispLuminance; } 922 Void setKneeSEIOutputDrange(Int b) { m_kneeSEIOutputDrange = b; } 923 Int getKneeSEIOutputDrange() { return m_kneeSEIOutputDrange; } 924 Void setKneeSEIOutputDispLuminance(Int b) { m_kneeSEIOutputDispLuminance = b; } 925 Int getKneeSEIOutputDispLuminance() { return m_kneeSEIOutputDispLuminance; } 926 Void setKneeSEINumKneePointsMinus1(Int b) { m_kneeSEINumKneePointsMinus1 = b; } 927 Int getKneeSEINumKneePointsMinus1() { return m_kneeSEINumKneePointsMinus1; } 928 Void setKneeSEIInputKneePoint(Int *p) { m_kneeSEIInputKneePoint = p; } 929 Int* getKneeSEIInputKneePoint() { return m_kneeSEIInputKneePoint; } 930 Void setKneeSEIOutputKneePoint(Int *p) { m_kneeSEIOutputKneePoint = p; } 931 Int* getKneeSEIOutputKneePoint() { return m_kneeSEIOutputKneePoint; } 932 Void setMasteringDisplaySEI(const TComSEIMasteringDisplay &src) { m_masteringDisplay = src; } 933 const TComSEIMasteringDisplay &getMasteringDisplaySEI() const { return m_masteringDisplay; } 934 #if NH_MV 935 Bool getSubBitstreamPropSEIEnabled() { return m_subBistreamPropSEIEnabled;} 936 Void setSubBitstreamPropSEIEnabled(Bool x) { m_subBistreamPropSEIEnabled = x;} 937 938 Int getNumAdditionalSubStreams() { return m_numAdditionalSubStreams;} 939 Void setNumAdditionalSubStreams(Int x) { m_numAdditionalSubStreams = x;} 940 941 std::vector<Int> const &getSubBitstreamMode() { return m_subBitstreamMode;} 942 Int getSubBitstreamMode(Int idx) { return m_subBitstreamMode[idx];} 943 Void setSubBitstreamMode(std::vector<Int> &x) { m_subBitstreamMode = x;} 944 945 std::vector<Int> const &getOutputLayerSetIdxToVps() { return m_outputLayerSetIdxToVps;} 946 Int getOutputLayerSetIdxToVps(Int idx) { return m_outputLayerSetIdxToVps[idx];} 947 Void setOutputLayerSetIdxToVps(std::vector<Int> &x) { m_outputLayerSetIdxToVps = x;} 948 949 std::vector<Int> const &getHighestSublayerId() { return m_highestSublayerId;} 950 Int getHighestSublayerId(Int idx) { return m_highestSublayerId[idx];} 951 Void setHighestSublayerId(std::vector<Int> &x) { m_highestSublayerId = x;} 952 953 std::vector<Int> const &getAvgBitRate() { return m_avgBitRate;} 954 Int getAvgBitRate(Int idx) { return m_avgBitRate[idx];} 955 Void setAvgBitRate(std::vector<Int> &x) { m_avgBitRate = x;} 956 957 std::vector<Int> const &getMaxBitRate() { return m_maxBitRate;} 958 Int getMaxBitRate(Int idx) { return m_maxBitRate[idx];} 959 Void setMaxBitRate(std::vector<Int> &x) { m_maxBitRate = x;} 960 961 #endif 962 963 Void setUseWP ( Bool b ) { m_useWeightedPred = b; } 964 Void setWPBiPred ( Bool b ) { m_useWeightedBiPred = b; } 965 Bool getUseWP () { return m_useWeightedPred; } 966 Bool getWPBiPred () { return m_useWeightedBiPred; } 967 Void setLog2ParallelMergeLevelMinus2 ( UInt u ) { m_log2ParallelMergeLevelMinus2 = u; } 968 UInt getLog2ParallelMergeLevelMinus2 () { return m_log2ParallelMergeLevelMinus2; } 969 Void setMaxNumMergeCand ( UInt u ) { m_maxNumMergeCand = u; } 970 UInt getMaxNumMergeCand () { return m_maxNumMergeCand; } 971 Void setUseScalingListId ( ScalingListMode u ) { m_useScalingListId = u; } 972 ScalingListMode getUseScalingListId () { return m_useScalingListId; } 973 Void setScalingListFile ( Char* pch ) { m_scalingListFile = pch; } 974 Char* getScalingListFile () { return m_scalingListFile; } 975 Void setTMVPModeId ( Int u ) { m_TMVPModeId = u; } 976 Int getTMVPModeId () { return m_TMVPModeId; } 977 Void setSignHideFlag( Bool signHideFlag ) { m_signHideFlag = signHideFlag; } 978 Bool getSignHideFlag() { return m_signHideFlag; } 979 Bool getUseRateCtrl () { return m_RCEnableRateControl; } 980 Void setUseRateCtrl ( Bool b ) { m_RCEnableRateControl = b; } 981 Int getTargetBitrate () { return m_RCTargetBitrate; } 982 Void setTargetBitrate ( Int bitrate ) { m_RCTargetBitrate = bitrate; } 983 Int getKeepHierBit () { return m_RCKeepHierarchicalBit; } 984 Void setKeepHierBit ( Int i ) { m_RCKeepHierarchicalBit = i; } 985 Bool getLCULevelRC () { return m_RCLCULevelRC; } 986 Void setLCULevelRC ( Bool b ) { m_RCLCULevelRC = b; } 987 Bool getUseLCUSeparateModel () { return m_RCUseLCUSeparateModel; } 988 Void setUseLCUSeparateModel ( Bool b ) { m_RCUseLCUSeparateModel = b; } 989 Int getInitialQP () { return m_RCInitialQP; } 990 Void setInitialQP ( Int QP ) { m_RCInitialQP = QP; } 991 Bool getForceIntraQP () { return m_RCForceIntraQP; } 992 Void setForceIntraQP ( Bool b ) { m_RCForceIntraQP = b; } 802 993 803 994 #if KWU_RC_MADPRED_E0227 804 UInt getUseDepthMADPred () { return m_depthMADPred; } 805 Void setUseDepthMADPred (UInt b) { m_depthMADPred = b; } 806 #endif 807 #if KWU_RC_VIEWRC_E0227 808 Bool getUseViewWiseRateCtrl () { return m_bViewWiseRateCtrl; } 809 Void setUseViewWiseRateCtrl (Bool b) { m_bViewWiseRateCtrl = b; } 810 #endif 811 Bool getTransquantBypassEnableFlag() { return m_TransquantBypassEnableFlag; } 812 Void setTransquantBypassEnableFlag(Bool flag) { m_TransquantBypassEnableFlag = flag; } 813 Bool getCUTransquantBypassFlagForceValue() { return m_CUTransquantBypassFlagForce; } 814 Void setCUTransquantBypassFlagForceValue(Bool flag) { m_CUTransquantBypassFlagForce = flag; } 815 #if H_MV 816 Void setVPS ( TComVPS *p ) { m_cVPS = p; } 817 TComVPS* getVPS () { return m_cVPS; } 995 UInt getUseDepthMADPred () { return m_depthMADPred; } 996 Void setUseDepthMADPred (UInt b) { m_depthMADPred = b; } 997 #endif 998 #if KWU_RC_VIEWRC_E0227 999 Bool getUseViewWiseRateCtrl () { return m_bViewWiseRateCtrl; } 1000 Void setUseViewWiseRateCtrl (Bool b) { m_bViewWiseRateCtrl = b; } 1001 #endif 1002 Bool getTransquantBypassEnableFlag() { return m_TransquantBypassEnableFlag; } 1003 Void setTransquantBypassEnableFlag(Bool flag) { m_TransquantBypassEnableFlag = flag; } 1004 Bool getCUTransquantBypassFlagForceValue() { return m_CUTransquantBypassFlagForce; } 1005 Void setCUTransquantBypassFlagForceValue(Bool flag) { m_CUTransquantBypassFlagForce = flag; } 1006 CostMode getCostMode( ) { return m_costMode; } 1007 Void setCostMode(CostMode m ) { m_costMode = m; } 1008 #if NH_MV 1009 Void setVPS( TComVPS *p ) { m_cVPS = p; } 1010 TComVPS* getVPS() { return m_cVPS; } 818 1011 #else 819 Void setVPS(TComVPS *p) { m_cVPS = *p; } 820 TComVPS *getVPS() { return &m_cVPS; } 821 #endif 822 823 #if H_3D 824 Void setDLT ( TComDLT *p ) { m_cDLT = p; } 825 TComDLT* getDLT () { return m_cDLT; } 826 #endif 827 828 Void setUseRecalculateQPAccordingToLambda ( Bool b ) { m_recalculateQPAccordingToLambda = b; } 829 Bool getUseRecalculateQPAccordingToLambda () { return m_recalculateQPAccordingToLambda; } 830 831 Void setUseStrongIntraSmoothing ( Bool b ) { m_useStrongIntraSmoothing = b; } 832 Bool getUseStrongIntraSmoothing () { return m_useStrongIntraSmoothing; } 833 834 Void setActiveParameterSetsSEIEnabled ( Int b ) { m_activeParameterSetsSEIEnabled = b; } 835 Int getActiveParameterSetsSEIEnabled () { return m_activeParameterSetsSEIEnabled; } 836 Bool getVuiParametersPresentFlag() { return m_vuiParametersPresentFlag; } 837 Void setVuiParametersPresentFlag(Bool i) { m_vuiParametersPresentFlag = i; } 838 Bool getAspectRatioInfoPresentFlag() { return m_aspectRatioInfoPresentFlag; } 839 Void setAspectRatioInfoPresentFlag(Bool i) { m_aspectRatioInfoPresentFlag = i; } 840 Int getAspectRatioIdc() { return m_aspectRatioIdc; } 841 Void setAspectRatioIdc(Int i) { m_aspectRatioIdc = i; } 842 Int getSarWidth() { return m_sarWidth; } 843 Void setSarWidth(Int i) { m_sarWidth = i; } 844 Int getSarHeight() { return m_sarHeight; } 845 Void setSarHeight(Int i) { m_sarHeight = i; } 846 Bool getOverscanInfoPresentFlag() { return m_overscanInfoPresentFlag; } 847 Void setOverscanInfoPresentFlag(Bool i) { m_overscanInfoPresentFlag = i; } 848 Bool getOverscanAppropriateFlag() { return m_overscanAppropriateFlag; } 849 Void setOverscanAppropriateFlag(Bool i) { m_overscanAppropriateFlag = i; } 850 Bool getVideoSignalTypePresentFlag() { return m_videoSignalTypePresentFlag; } 851 Void setVideoSignalTypePresentFlag(Bool i) { m_videoSignalTypePresentFlag = i; } 852 Int getVideoFormat() { return m_videoFormat; } 853 Void setVideoFormat(Int i) { m_videoFormat = i; } 854 Bool getVideoFullRangeFlag() { return m_videoFullRangeFlag; } 855 Void setVideoFullRangeFlag(Bool i) { m_videoFullRangeFlag = i; } 856 Bool getColourDescriptionPresentFlag() { return m_colourDescriptionPresentFlag; } 857 Void setColourDescriptionPresentFlag(Bool i) { m_colourDescriptionPresentFlag = i; } 858 Int getColourPrimaries() { return m_colourPrimaries; } 859 Void setColourPrimaries(Int i) { m_colourPrimaries = i; } 860 Int getTransferCharacteristics() { return m_transferCharacteristics; } 861 Void setTransferCharacteristics(Int i) { m_transferCharacteristics = i; } 862 Int getMatrixCoefficients() { return m_matrixCoefficients; } 863 Void setMatrixCoefficients(Int i) { m_matrixCoefficients = i; } 864 Bool getChromaLocInfoPresentFlag() { return m_chromaLocInfoPresentFlag; } 865 Void setChromaLocInfoPresentFlag(Bool i) { m_chromaLocInfoPresentFlag = i; } 866 Int getChromaSampleLocTypeTopField() { return m_chromaSampleLocTypeTopField; } 867 Void setChromaSampleLocTypeTopField(Int i) { m_chromaSampleLocTypeTopField = i; } 868 Int getChromaSampleLocTypeBottomField() { return m_chromaSampleLocTypeBottomField; } 869 Void setChromaSampleLocTypeBottomField(Int i) { m_chromaSampleLocTypeBottomField = i; } 870 Bool getNeutralChromaIndicationFlag() { return m_neutralChromaIndicationFlag; } 871 Void setNeutralChromaIndicationFlag(Bool i) { m_neutralChromaIndicationFlag = i; } 872 Window &getDefaultDisplayWindow() { return m_defaultDisplayWindow; } 873 Void setDefaultDisplayWindow (Int offsetLeft, Int offsetRight, Int offsetTop, Int offsetBottom ) { m_defaultDisplayWindow.setWindow (offsetLeft, offsetRight, offsetTop, offsetBottom); } 874 Bool getFrameFieldInfoPresentFlag() { return m_frameFieldInfoPresentFlag; } 875 Void setFrameFieldInfoPresentFlag(Bool i) { m_frameFieldInfoPresentFlag = i; } 876 Bool getPocProportionalToTimingFlag() { return m_pocProportionalToTimingFlag; } 877 Void setPocProportionalToTimingFlag(Bool x) { m_pocProportionalToTimingFlag = x; } 878 Int getNumTicksPocDiffOneMinus1() { return m_numTicksPocDiffOneMinus1; } 879 Void setNumTicksPocDiffOneMinus1(Int x) { m_numTicksPocDiffOneMinus1 = x; } 880 Bool getBitstreamRestrictionFlag() { return m_bitstreamRestrictionFlag; } 881 Void setBitstreamRestrictionFlag(Bool i) { m_bitstreamRestrictionFlag = i; } 882 Bool getTilesFixedStructureFlag() { return m_tilesFixedStructureFlag; } 883 Void setTilesFixedStructureFlag(Bool i) { m_tilesFixedStructureFlag = i; } 884 Bool getMotionVectorsOverPicBoundariesFlag() { return m_motionVectorsOverPicBoundariesFlag; } 885 Void setMotionVectorsOverPicBoundariesFlag(Bool i) { m_motionVectorsOverPicBoundariesFlag = i; } 886 Int getMinSpatialSegmentationIdc() { return m_minSpatialSegmentationIdc; } 887 Void setMinSpatialSegmentationIdc(Int i) { m_minSpatialSegmentationIdc = i; } 888 Int getMaxBytesPerPicDenom() { return m_maxBytesPerPicDenom; } 889 Void setMaxBytesPerPicDenom(Int i) { m_maxBytesPerPicDenom = i; } 890 Int getMaxBitsPerMinCuDenom() { return m_maxBitsPerMinCuDenom; } 891 Void setMaxBitsPerMinCuDenom(Int i) { m_maxBitsPerMinCuDenom = i; } 892 Int getLog2MaxMvLengthHorizontal() { return m_log2MaxMvLengthHorizontal; } 893 Void setLog2MaxMvLengthHorizontal(Int i) { m_log2MaxMvLengthHorizontal = i; } 894 Int getLog2MaxMvLengthVertical() { return m_log2MaxMvLengthVertical; } 895 Void setLog2MaxMvLengthVertical(Int i) { m_log2MaxMvLengthVertical = i; } 896 897 Bool getProgressiveSourceFlag() const { return m_progressiveSourceFlag; } 898 Void setProgressiveSourceFlag(Bool b) { m_progressiveSourceFlag = b; } 899 900 Bool getInterlacedSourceFlag() const { return m_interlacedSourceFlag; } 901 Void setInterlacedSourceFlag(Bool b) { m_interlacedSourceFlag = b; } 902 903 Bool getNonPackedConstraintFlag() const { return m_nonPackedConstraintFlag; } 904 Void setNonPackedConstraintFlag(Bool b) { m_nonPackedConstraintFlag = b; } 905 906 Bool getFrameOnlyConstraintFlag() const { return m_frameOnlyConstraintFlag; } 907 Void setFrameOnlyConstraintFlag(Bool b) { m_frameOnlyConstraintFlag = b; } 908 #if H_3D 909 1012 Void setVPS(TComVPS *p) { m_cVPS = *p; } 1013 TComVPS * getVPS() { return &m_cVPS; } 1014 #endif 1015 1016 #if NH_3D_DLT 1017 Void setDLT( TComDLT p ) { m_cDLT = p; } 1018 TComDLT* getDLT() { return &m_cDLT; } 1019 #endif 1020 Void setUseRecalculateQPAccordingToLambda (Bool b) { m_recalculateQPAccordingToLambda = b; } 1021 Bool getUseRecalculateQPAccordingToLambda () { return m_recalculateQPAccordingToLambda; } 1022 1023 Void setUseStrongIntraSmoothing ( Bool b ) { m_useStrongIntraSmoothing = b; } 1024 Bool getUseStrongIntraSmoothing () { return m_useStrongIntraSmoothing; } 1025 1026 Void setEfficientFieldIRAPEnabled( Bool b ) { m_bEfficientFieldIRAPEnabled = b; } 1027 Bool getEfficientFieldIRAPEnabled( ) const { return m_bEfficientFieldIRAPEnabled; } 1028 1029 Void setHarmonizeGopFirstFieldCoupleEnabled( Bool b ) { m_bHarmonizeGopFirstFieldCoupleEnabled = b; } 1030 Bool getHarmonizeGopFirstFieldCoupleEnabled( ) const { return m_bHarmonizeGopFirstFieldCoupleEnabled; } 1031 1032 Void setActiveParameterSetsSEIEnabled ( Int b ) { m_activeParameterSetsSEIEnabled = b; } 1033 Int getActiveParameterSetsSEIEnabled () { return m_activeParameterSetsSEIEnabled; } 1034 Bool getVuiParametersPresentFlag() { return m_vuiParametersPresentFlag; } 1035 Void setVuiParametersPresentFlag(Bool i) { m_vuiParametersPresentFlag = i; } 1036 Bool getAspectRatioInfoPresentFlag() { return m_aspectRatioInfoPresentFlag; } 1037 Void setAspectRatioInfoPresentFlag(Bool i) { m_aspectRatioInfoPresentFlag = i; } 1038 Int getAspectRatioIdc() { return m_aspectRatioIdc; } 1039 Void setAspectRatioIdc(Int i) { m_aspectRatioIdc = i; } 1040 Int getSarWidth() { return m_sarWidth; } 1041 Void setSarWidth(Int i) { m_sarWidth = i; } 1042 Int getSarHeight() { return m_sarHeight; } 1043 Void setSarHeight(Int i) { m_sarHeight = i; } 1044 Bool getOverscanInfoPresentFlag() { return m_overscanInfoPresentFlag; } 1045 Void setOverscanInfoPresentFlag(Bool i) { m_overscanInfoPresentFlag = i; } 1046 Bool getOverscanAppropriateFlag() { return m_overscanAppropriateFlag; } 1047 Void setOverscanAppropriateFlag(Bool i) { m_overscanAppropriateFlag = i; } 1048 Bool getVideoSignalTypePresentFlag() { return m_videoSignalTypePresentFlag; } 1049 Void setVideoSignalTypePresentFlag(Bool i) { m_videoSignalTypePresentFlag = i; } 1050 Int getVideoFormat() { return m_videoFormat; } 1051 Void setVideoFormat(Int i) { m_videoFormat = i; } 1052 Bool getVideoFullRangeFlag() { return m_videoFullRangeFlag; } 1053 Void setVideoFullRangeFlag(Bool i) { m_videoFullRangeFlag = i; } 1054 Bool getColourDescriptionPresentFlag() { return m_colourDescriptionPresentFlag; } 1055 Void setColourDescriptionPresentFlag(Bool i) { m_colourDescriptionPresentFlag = i; } 1056 Int getColourPrimaries() { return m_colourPrimaries; } 1057 Void setColourPrimaries(Int i) { m_colourPrimaries = i; } 1058 Int getTransferCharacteristics() { return m_transferCharacteristics; } 1059 Void setTransferCharacteristics(Int i) { m_transferCharacteristics = i; } 1060 Int getMatrixCoefficients() { return m_matrixCoefficients; } 1061 Void setMatrixCoefficients(Int i) { m_matrixCoefficients = i; } 1062 Bool getChromaLocInfoPresentFlag() { return m_chromaLocInfoPresentFlag; } 1063 Void setChromaLocInfoPresentFlag(Bool i) { m_chromaLocInfoPresentFlag = i; } 1064 Int getChromaSampleLocTypeTopField() { return m_chromaSampleLocTypeTopField; } 1065 Void setChromaSampleLocTypeTopField(Int i) { m_chromaSampleLocTypeTopField = i; } 1066 Int getChromaSampleLocTypeBottomField() { return m_chromaSampleLocTypeBottomField; } 1067 Void setChromaSampleLocTypeBottomField(Int i) { m_chromaSampleLocTypeBottomField = i; } 1068 Bool getNeutralChromaIndicationFlag() { return m_neutralChromaIndicationFlag; } 1069 Void setNeutralChromaIndicationFlag(Bool i) { m_neutralChromaIndicationFlag = i; } 1070 Window &getDefaultDisplayWindow() { return m_defaultDisplayWindow; } 1071 Void setDefaultDisplayWindow (Int offsetLeft, Int offsetRight, Int offsetTop, Int offsetBottom ) { m_defaultDisplayWindow.setWindow (offsetLeft, offsetRight, offsetTop, offsetBottom); } 1072 Bool getFrameFieldInfoPresentFlag() { return m_frameFieldInfoPresentFlag; } 1073 Void setFrameFieldInfoPresentFlag(Bool i) { m_frameFieldInfoPresentFlag = i; } 1074 Bool getPocProportionalToTimingFlag() { return m_pocProportionalToTimingFlag; } 1075 Void setPocProportionalToTimingFlag(Bool x) { m_pocProportionalToTimingFlag = x; } 1076 Int getNumTicksPocDiffOneMinus1() { return m_numTicksPocDiffOneMinus1; } 1077 Void setNumTicksPocDiffOneMinus1(Int x) { m_numTicksPocDiffOneMinus1 = x; } 1078 Bool getBitstreamRestrictionFlag() { return m_bitstreamRestrictionFlag; } 1079 Void setBitstreamRestrictionFlag(Bool i) { m_bitstreamRestrictionFlag = i; } 1080 Bool getTilesFixedStructureFlag() { return m_tilesFixedStructureFlag; } 1081 Void setTilesFixedStructureFlag(Bool i) { m_tilesFixedStructureFlag = i; } 1082 Bool getMotionVectorsOverPicBoundariesFlag() { return m_motionVectorsOverPicBoundariesFlag; } 1083 Void setMotionVectorsOverPicBoundariesFlag(Bool i) { m_motionVectorsOverPicBoundariesFlag = i; } 1084 Int getMinSpatialSegmentationIdc() { return m_minSpatialSegmentationIdc; } 1085 Void setMinSpatialSegmentationIdc(Int i) { m_minSpatialSegmentationIdc = i; } 1086 Int getMaxBytesPerPicDenom() { return m_maxBytesPerPicDenom; } 1087 Void setMaxBytesPerPicDenom(Int i) { m_maxBytesPerPicDenom = i; } 1088 Int getMaxBitsPerMinCuDenom() { return m_maxBitsPerMinCuDenom; } 1089 Void setMaxBitsPerMinCuDenom(Int i) { m_maxBitsPerMinCuDenom = i; } 1090 Int getLog2MaxMvLengthHorizontal() { return m_log2MaxMvLengthHorizontal; } 1091 Void setLog2MaxMvLengthHorizontal(Int i) { m_log2MaxMvLengthHorizontal = i; } 1092 Int getLog2MaxMvLengthVertical() { return m_log2MaxMvLengthVertical; } 1093 Void setLog2MaxMvLengthVertical(Int i) { m_log2MaxMvLengthVertical = i; } 1094 1095 Bool getProgressiveSourceFlag() const { return m_progressiveSourceFlag; } 1096 Void setProgressiveSourceFlag(Bool b) { m_progressiveSourceFlag = b; } 1097 1098 Bool getInterlacedSourceFlag() const { return m_interlacedSourceFlag; } 1099 Void setInterlacedSourceFlag(Bool b) { m_interlacedSourceFlag = b; } 1100 1101 Bool getNonPackedConstraintFlag() const { return m_nonPackedConstraintFlag; } 1102 Void setNonPackedConstraintFlag(Bool b) { m_nonPackedConstraintFlag = b; } 1103 1104 Bool getFrameOnlyConstraintFlag() const { return m_frameOnlyConstraintFlag; } 1105 Void setFrameOnlyConstraintFlag(Bool b) { m_frameOnlyConstraintFlag = b; } 1106 1107 UInt getBitDepthConstraintValue() const { return m_bitDepthConstraintValue; } 1108 Void setBitDepthConstraintValue(UInt v) { m_bitDepthConstraintValue=v; } 1109 1110 ChromaFormat getChromaFormatConstraintValue() const { return m_chromaFormatConstraintValue; } 1111 Void setChromaFormatConstraintValue(ChromaFormat v) { m_chromaFormatConstraintValue=v; } 1112 1113 Bool getIntraConstraintFlag() const { return m_intraConstraintFlag; } 1114 Void setIntraConstraintFlag(Bool b) { m_intraConstraintFlag=b; } 1115 1116 Bool getOnePictureOnlyConstraintFlag() const { return m_onePictureOnlyConstraintFlag; } 1117 Void setOnePictureOnlyConstraintFlag(Bool b) { m_onePictureOnlyConstraintFlag=b; } 1118 1119 Bool getLowerBitRateConstraintFlag() const { return m_lowerBitRateConstraintFlag; } 1120 Void setLowerBitRateConstraintFlag(Bool b) { m_lowerBitRateConstraintFlag=b; } 1121 Bool getChromaSamplingFilterHintEnabled() { return m_chromaSamplingFilterHintEnabled;} 1122 Void setChromaSamplingFilterHintEnabled(Bool i) { m_chromaSamplingFilterHintEnabled = i;} 1123 Int getChromaSamplingHorFilterIdc() { return m_chromaSamplingHorFilterIdc;} 1124 Void setChromaSamplingHorFilterIdc(Int i) { m_chromaSamplingHorFilterIdc = i;} 1125 Int getChromaSamplingVerFilterIdc() { return m_chromaSamplingVerFilterIdc;} 1126 Void setChromaSamplingVerFilterIdc(Int i) { m_chromaSamplingVerFilterIdc = i;} 1127 1128 Void setSummaryOutFilename(const std::string &s) { m_summaryOutFilename = s; } 1129 const std::string& getSummaryOutFilename() const { return m_summaryOutFilename; } 1130 Void setSummaryPicFilenameBase(const std::string &s) { m_summaryPicFilenameBase = s; } 1131 const std::string& getSummaryPicFilenameBase() const { return m_summaryPicFilenameBase; } 1132 1133 Void setSummaryVerboseness(UInt v) { m_summaryVerboseness = v; } 1134 UInt getSummaryVerboseness( ) const { return m_summaryVerboseness; } 1135 1136 #if NH_3D 910 1137 // Only flags that are not in the SPS3dExtension should go here. 911 1138 /// 3D Tools … … 914 1141 Void setCameraParameters ( TAppComCamPara* c) { m_cameraParameters = c; } 915 1142 916 #if H_3D_VSO1143 #if NH_3D_VSO 917 1144 //==== VSO ========== 918 1145 Void setRenderModelParameters ( TRenModSetupStrParser* c ) { m_renderModelParameters = c; } … … 943 1170 Double getDispCoeff () { return m_dDispCoeff; } 944 1171 Void setDispCoeff ( Double d ) { m_dDispCoeff = d; } 945 #endif // H_3D_VSO 946 947 //==== DIM ========== 948 #if H_3D_DIM 1172 #endif // NH_3D_VSO 1173 949 1174 Bool getUseDMM () { return m_useDMM; } 950 1175 Void setUseDMM ( Bool b) { m_useDMM = b; } … … 954 1179 Bool getUseDLT () { return m_useDLT; } 955 1180 Void setUseDLT ( Bool b) { m_useDLT = b; } 956 #endif 957 #if H_3D_QTLPC 1181 958 1182 Void setUseQTL ( Bool b ) { m_bUseQTL = b; } 959 1183 Bool getUseQTL () { return m_bUseQTL; } 960 #endif 961 Void setProfileIdc( Int a ) { assert( a == 1 || a == 6 || a == 8 ); m_profileIdc = a; } 962 Bool decProcAnnexI() { assert( m_profileIdc != -1 ); return ( m_profileIdc == 8); } 963 964 #endif // H_3D 1184 1185 Void setProfileIdc( Int a ) { assert( a == 1 || a == 6 || a == 8 ); m_profileIdc = a; } 1186 Bool decProcAnnexI() { assert( m_profileIdc != -1 ); return ( m_profileIdc == Profile::MAIN3D ); } 1187 #endif // NH_3D 965 1188 }; 966 1189
Note: See TracChangeset for help on using the changeset viewer.