Changeset 296 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComSlice.h
- Timestamp:
- 20 Feb 2013, 22:07:43 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibCommon/TComSlice.h
r210 r296 54 54 class TComDepthMapGenerator; 55 55 #endif 56 #if H HI_INTER_VIEW_RESIDUAL_PRED56 #if H3D_IVRP 57 57 class TComResidualGenerator; 58 58 #endif … … 68 68 // ==================================================================================================================== 69 69 70 #if RPS_IN_SPS71 70 /// Reference Picture Set class 72 71 class TComReferencePictureSet … … 142 141 Void setNumberOfReferencePictureSets(Int numberOfReferencePictureSets); 143 142 }; 144 #endif145 143 146 144 #if VIDYO_VPS_INTEGRATION|QC_MVHEVC_B0046 … … 179 177 UInt m_uiMaxDecPicBuffering[MAX_TLAYER]; 180 178 UInt m_uiMaxLatencyIncrease[MAX_TLAYER]; 181 179 #if INTER_VIEW_VECTOR_SCALING_C0115 180 Bool m_bIVScalingFlag; 181 #endif 182 182 public: 183 183 TComVPS(); … … 213 213 Void setDependentLayer(UInt v, UInt layer) { m_uiDependentLayer[layer] = v; } 214 214 UInt getDependentLayer(UInt layer) { return m_uiDependentLayer[layer]; } 215 #endif 216 #if INTER_VIEW_VECTOR_SCALING_C0115 217 Bool getIVScalingFlag( ) { return m_bIVScalingFlag; } 218 Void setIVScalingFlag(Bool b) { m_bIVScalingFlag = b; } 215 219 #endif 216 220 Void setNumReorderPics(UInt v, UInt tLayer) { m_numReorderPics[tLayer] = v; } … … 270 274 UInt m_picWidthInLumaSamples; 271 275 UInt m_picHeightInLumaSamples; 272 #if PIC_CROPPING273 276 Bool m_picCroppingFlag; 274 277 Int m_picCropLeftOffset; … … 276 279 Int m_picCropTopOffset; 277 280 Int m_picCropBottomOffset; 278 #else279 Int m_aiPad[2];280 #endif281 281 UInt m_uiMaxCUWidth; 282 282 UInt m_uiMaxCUHeight; … … 284 284 UInt m_uiMinTrDepth; 285 285 UInt m_uiMaxTrDepth; 286 #if RPS_IN_SPS287 286 TComRPSList* m_RPSList; 288 287 Bool m_bLongTermRefsPresent; 289 #endif290 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER291 288 Int m_numReorderPics[MAX_TLAYER]; 292 #else293 Int m_maxNumberOfReferencePictures;294 Int m_numReorderFrames;295 #endif296 289 297 290 Int m_iNumberOfUsableInterViewRefs; … … 309 302 Bool m_useAMP; 310 303 Bool m_bUseALF; 311 #if LCU_SYNTAX_ALF312 304 Bool m_bALFCoefInSlice; 313 #endif314 #if !PIC_CROPPING315 Bool m_bUsePAD;316 #endif317 305 Bool m_bUseLMChroma; // JL: 318 306 … … 321 309 Bool m_useNSQT; 322 310 323 #if H0412_REF_PIC_LIST_RESTRICTION324 311 Bool m_restrictedRefPicListsFlag; 325 312 Bool m_listsModificationPresentFlag; 326 #endif327 313 328 314 // Parameter … … 330 316 UInt m_uiBitDepth; 331 317 UInt m_uiBitIncrement; 332 #if H0736_AVC_STYLE_QP_RANGE333 318 Int m_qpBDOffsetY; 334 319 Int m_qpBDOffsetC; 335 #endif336 320 337 321 #if LOSSLESS_CODING … … 375 359 376 360 Bool m_scalingListEnabledFlag; 377 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER378 361 UInt m_uiMaxDecPicBuffering[MAX_TLAYER]; 379 362 UInt m_uiMaxLatencyIncrease[MAX_TLAYER]; 380 #else381 UInt m_uiMaxDecFrameBuffering;382 UInt m_uiMaxLatencyIncrease;383 #endif384 363 385 364 Bool m_useDF; 386 365 387 #if TILES_WPP_ENTRY_POINT_SIGNALLING388 366 UInt m_tilesOrEntropyCodingSyncIdc; 389 367 Int m_numSubstreams; 390 #endif391 368 392 369 #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX … … 409 386 #endif 410 387 411 #if H HI_INTER_VIEW_MOTION_PRED388 #if H3D_IVMP 412 389 UInt m_uiMultiviewMvPredMode; 413 390 #endif 414 #if H HI_INTER_VIEW_RESIDUAL_PRED391 #if H3D_IVRP 415 392 UInt m_uiMultiviewResPredMode; 416 393 #endif … … 419 396 TComDepthMapGenerator* m_pcDepthMapGenerator; 420 397 #endif 421 #if H HI_INTER_VIEW_RESIDUAL_PRED398 #if H3D_IVRP 422 399 TComResidualGenerator* m_pcResidualGenerator; 423 400 #endif … … 446 423 UInt getPicHeightInLumaSamples () { return m_picHeightInLumaSamples; } 447 424 448 #if PIC_CROPPING449 425 Bool getPicCroppingFlag() const { return m_picCroppingFlag; } 450 426 Void setPicCroppingFlag(Bool val) { m_picCroppingFlag = val; } … … 457 433 Int getPicCropBottomOffset() const { return m_picCropBottomOffset; } 458 434 Void setPicCropBottomOffset(Int val) { m_picCropBottomOffset = val; } 459 #endif460 435 461 436 Void setMaxCUWidth ( UInt u ) { m_uiMaxCUWidth = u; } … … 489 464 UInt getQuadtreeTUMaxDepthInter() { return m_uiQuadtreeTUMaxDepthInter; } 490 465 UInt getQuadtreeTUMaxDepthIntra() { return m_uiQuadtreeTUMaxDepthIntra; } 491 #if !PIC_CROPPING492 Void setPad (Int iPad[2]) { m_aiPad[0] = iPad[0]; m_aiPad[1] = iPad[1]; }493 #endif494 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER495 466 Void setNumReorderPics(Int i, UInt tlayer) { m_numReorderPics[tlayer] = i; } 496 467 Int getNumReorderPics(UInt tlayer) { return m_numReorderPics[tlayer]; } 497 #else498 Void setMaxNumberOfReferencePictures( Int u ) { m_maxNumberOfReferencePictures = u; }499 Int getMaxNumberOfReferencePictures() { return m_maxNumberOfReferencePictures; }500 Void setNumReorderFrames( Int i ) { m_numReorderFrames = i; }501 Int getNumReorderFrames() { return m_numReorderFrames; }502 #endif503 #if RPS_IN_SPS504 468 Void setRPSList( TComRPSList* RPSList ) { m_RPSList = RPSList; } 505 469 TComRPSList* getRPSList() { return m_RPSList; } 506 470 Bool getLongTermRefsPresent() { return m_bLongTermRefsPresent; } 507 471 Void setLongTermRefsPresent(Bool b) { m_bLongTermRefsPresent=b; } 508 #endif509 472 510 473 Void setNumberOfUsableInterViewRefs( Int number ) { m_iNumberOfUsableInterViewRefs = number; } … … 513 476 Int getUsableInterViewRef( Int pos ) { return m_aiUsableInterViewRefs[pos]; } 514 477 515 #if !PIC_CROPPING516 Void setPadX ( Int u ) { m_aiPad[0] = u; }517 Void setPadY ( Int u ) { m_aiPad[1] = u; }518 Int getPad ( Int u ) { assert(u < 2); return m_aiPad[u];}519 Int* getPad ( ) { return m_aiPad; }520 #endif521 478 522 479 // physical transform … … 526 483 // Tool list 527 484 Bool getUseALF () { return m_bUseALF; } 528 #if LCU_SYNTAX_ALF529 485 Void setUseALFCoefInSlice(Bool b) {m_bALFCoefInSlice = b;} 530 486 Bool getUseALFCoefInSlice() {return m_bALFCoefInSlice;} 531 #endif 532 533 #if !PIC_CROPPING 534 Bool getUsePAD () { return m_bUsePAD; } 535 Void setUsePAD ( Bool b ) { m_bUsePAD = b; } 536 #endif 487 537 488 Void setUseALF ( Bool b ) { m_bUseALF = b; } 538 489 Void setUseLComb (Bool b) { m_bUseLComb = b; } … … 551 502 Void setUseNSQT( Bool b ) { m_useNSQT = b; } 552 503 553 #if H0412_REF_PIC_LIST_RESTRICTION554 504 Bool getRestrictedRefPicListsFlag () { return m_restrictedRefPicListsFlag; } 555 505 Void setRestrictedRefPicListsFlag ( Bool b ) { m_restrictedRefPicListsFlag = b; } 556 506 Bool getListsModificationPresentFlag () { return m_listsModificationPresentFlag; } 557 507 Void setListsModificationPresentFlag ( Bool b ) { m_listsModificationPresentFlag = b; } 558 #endif559 508 560 509 // AMVP mode (for each depth) … … 571 520 UInt getBitIncrement () { return m_uiBitIncrement; } 572 521 Void setBitIncrement ( UInt u ) { m_uiBitIncrement = u; } 573 #if H0736_AVC_STYLE_QP_RANGE574 522 Int getQpBDOffsetY () { return m_qpBDOffsetY; } 575 523 Void setQpBDOffsetY ( Int value ) { m_qpBDOffsetY = value; } 576 524 Int getQpBDOffsetC () { return m_qpBDOffsetC; } 577 525 Void setQpBDOffsetC ( Int value ) { m_qpBDOffsetC = value; } 578 #endif579 526 580 527 Void setLFCrossSliceBoundaryFlag ( Bool bValue ) { m_bLFCrossSliceBoundaryFlag = bValue; } … … 619 566 Void setUniformSpacingIdr ( Int i ) { m_iUniformSpacingIdr = i; } 620 567 Int getUniformSpacingIdr () { return m_iUniformSpacingIdr; } 621 #if !REMOVE_TILE_DEPENDENCE622 Void setTileBoundaryIndependenceIdr ( Int i ) { m_iTileBoundaryIndependenceIdr = i; }623 Int getTileBoundaryIndependenceIdr () { return m_iTileBoundaryIndependenceIdr; }624 #endif625 568 Void setNumColumnsMinus1 ( Int i ) { m_iNumColumnsMinus1 = i; } 626 569 Int getNumColumnsMinus1 () { return m_iNumColumnsMinus1; } … … 655 598 Bool getScalingListFlag () { return m_scalingListEnabledFlag; } 656 599 Void setScalingListFlag ( Bool b ) { m_scalingListEnabledFlag = b; } 657 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER658 600 UInt getMaxDecPicBuffering (UInt tlayer) { return m_uiMaxDecPicBuffering[tlayer]; } 659 601 Void setMaxDecPicBuffering ( UInt ui, UInt tlayer ) { m_uiMaxDecPicBuffering[tlayer] = ui; } 660 602 UInt getMaxLatencyIncrease (UInt tlayer) { return m_uiMaxLatencyIncrease[tlayer]; } 661 603 Void setMaxLatencyIncrease ( UInt ui , UInt tlayer) { m_uiMaxLatencyIncrease[tlayer] = ui; } 662 #else663 UInt getMaxDecFrameBuffering () { return m_uiMaxDecFrameBuffering; }664 Void setMaxDecFrameBuffering ( UInt ui ) { m_uiMaxDecFrameBuffering = ui; }665 UInt getMaxLatencyIncrease () { return m_uiMaxLatencyIncrease; }666 Void setMaxLatencyIncrease ( UInt ui ) { m_uiMaxLatencyIncrease= ui; }667 #endif668 #if TILES_WPP_ENTRY_POINT_SIGNALLING669 604 UInt getTilesOrEntropyCodingSyncIdc () { return m_tilesOrEntropyCodingSyncIdc; } 670 605 Void setTilesOrEntropyCodingSyncIdc ( UInt val ) { m_tilesOrEntropyCodingSyncIdc = val; } 671 606 Int getNumSubstreams () { return m_numSubstreams; } 672 607 Void setNumSubstreams ( Int numSubstreams ) { m_numSubstreams = numSubstreams; } 673 #endif674 608 675 609 #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX … … 705 639 Void setPredDepthMapGeneration( UInt uiViewId, Bool bIsDepth, UInt uiPdmGenMode = 0, UInt uiPdmMvPredMode = 0, UInt uiPdmPrec = 0, Int** aaiPdmScaleNomDelta = 0, Int** aaiPdmOffset = 0 ); 706 640 #endif 707 #if H HI_INTER_VIEW_RESIDUAL_PRED641 #if H3D_IVRP 708 642 Void setMultiviewResPredMode ( UInt uiResPrdMode ) { m_uiMultiviewResPredMode = uiResPrdMode; } 709 643 #endif … … 716 650 #endif 717 651 718 #if H HI_INTER_VIEW_MOTION_PRED652 #if H3D_IVMP 719 653 UInt getMultiviewMvPredMode () { return m_uiMultiviewMvPredMode; } 720 654 #endif 721 #if H HI_INTER_VIEW_RESIDUAL_PRED655 #if H3D_IVRP 722 656 UInt getMultiviewResPredMode () { return m_uiMultiviewResPredMode; } 723 657 #endif … … 727 661 TComDepthMapGenerator* getDepthMapGenerator() { return m_pcDepthMapGenerator; } 728 662 #endif 729 #if H HI_INTER_VIEW_RESIDUAL_PRED663 #if H3D_IVRP 730 664 Void setResidualGenerator( TComResidualGenerator* pcResidualGenerator ) { m_pcResidualGenerator = pcResidualGenerator; } 731 665 TComResidualGenerator* getResidualGenerator() { return m_pcResidualGenerator; } … … 733 667 }; 734 668 735 #if !RPS_IN_SPS736 /// Reference Picture Set class737 class TComReferencePictureSet738 {739 private:740 Int m_numberOfPictures;741 Int m_numberOfNegativePictures;742 Int m_numberOfPositivePictures;743 Int m_numberOfLongtermPictures;744 Int m_deltaPOC[MAX_NUM_REF_PICS];745 Int m_POC[MAX_NUM_REF_PICS];746 Bool m_used[MAX_NUM_REF_PICS];747 Bool m_interRPSPrediction;748 Int m_deltaRIdxMinus1;749 Int m_deltaRPS;750 Int m_numRefIdc;751 Int m_refIdc[MAX_NUM_REF_PICS+1];752 753 public:754 TComReferencePictureSet();755 virtual ~TComReferencePictureSet();756 757 Void setUsed(Int bufferNum, Bool used);758 Void setDeltaPOC(Int bufferNum, Int deltaPOC);759 Void setPOC(Int bufferNum, Int deltaPOC);760 Void setNumberOfPictures(Int numberOfPictures);761 762 Int getUsed(Int bufferNum);763 Int getDeltaPOC(Int bufferNum);764 Int getPOC(Int bufferNum);765 Int getNumberOfPictures();766 767 Void setNumberOfNegativePictures(Int number) { m_numberOfNegativePictures = number; }768 Int getNumberOfNegativePictures() { return m_numberOfNegativePictures; }769 Void setNumberOfPositivePictures(Int number) { m_numberOfPositivePictures = number; }770 Int getNumberOfPositivePictures() { return m_numberOfPositivePictures; }771 Void setNumberOfLongtermPictures(Int number) { m_numberOfLongtermPictures = number; }772 Int getNumberOfLongtermPictures() { return m_numberOfLongtermPictures; }773 774 Void setInterRPSPrediction(Bool flag) { m_interRPSPrediction = flag; }775 Bool getInterRPSPrediction() { return m_interRPSPrediction; }776 Void setDeltaRIdxMinus1(Int x) { m_deltaRIdxMinus1 = x; }777 Int getDeltaRIdxMinus1() { return m_deltaRIdxMinus1; }778 Void setDeltaRPS(Int x) { m_deltaRPS = x; }779 Int getDeltaRPS() { return m_deltaRPS; }780 Void setNumRefIdc(Int x) { m_numRefIdc = x; }781 Int getNumRefIdc() { return m_numRefIdc; }782 783 Void setRefIdc(Int bufferNum, Int refIdc);784 Int getRefIdc(Int bufferNum);785 786 Void sortDeltaPOC();787 Void printDeltaPOC();788 };789 790 /// Reference Picture Set set class791 class TComRPSList792 {793 private:794 Int m_numberOfReferencePictureSets;795 TComReferencePictureSet* m_referencePictureSets;796 797 public:798 TComRPSList();799 virtual ~TComRPSList();800 801 Void create (Int numberOfEntries);802 Void destroy ();803 804 805 TComReferencePictureSet* getReferencePictureSet(Int referencePictureSetNum);806 Int getNumberOfReferencePictureSets();807 Void setNumberOfReferencePictureSets(Int numberOfReferencePictureSets);808 };809 #endif810 669 811 670 /// Reference Picture Lists class … … 815 674 UInt m_bRefPicListModificationFlagL0; 816 675 UInt m_bRefPicListModificationFlagL1; 817 #if !H0137_0138_LIST_MODIFICATION818 UInt m_uiNumberOfRefPicListModificationsL0;819 UInt m_uiNumberOfRefPicListModificationsL1;820 UInt m_ListIdcL0[32];821 #endif822 676 UInt m_RefPicSetIdxL0[32]; 823 #if !H0137_0138_LIST_MODIFICATION824 UInt m_ListIdcL1[32];825 #endif826 677 UInt m_RefPicSetIdxL1[32]; 827 678 … … 837 688 Bool getRefPicListModificationFlagL1() { return m_bRefPicListModificationFlagL1; } 838 689 Void setRefPicListModificationFlagL1(Bool flag) { m_bRefPicListModificationFlagL1 = flag; } 839 #if !H0137_0138_LIST_MODIFICATION840 UInt getNumberOfRefPicListModificationsL0() { return m_uiNumberOfRefPicListModificationsL0; }841 Void setNumberOfRefPicListModificationsL0(UInt nr) { m_uiNumberOfRefPicListModificationsL0 = nr; }842 UInt getNumberOfRefPicListModificationsL1() { return m_uiNumberOfRefPicListModificationsL1; }843 Void setNumberOfRefPicListModificationsL1(UInt nr) { m_uiNumberOfRefPicListModificationsL1 = nr; }844 Void setListIdcL0(UInt idx, UInt idc) { m_ListIdcL0[idx] = idc; }845 UInt getListIdcL0(UInt idx) { return m_ListIdcL0[idx]; }846 #endif847 690 Void setRefPicSetIdxL0(UInt idx, UInt refPicSetIdx) { m_RefPicSetIdxL0[idx] = refPicSetIdx; } 848 691 UInt getRefPicSetIdxL0(UInt idx) { return m_RefPicSetIdxL0[idx]; } 849 #if !H0137_0138_LIST_MODIFICATION850 Void setListIdcL1(UInt idx, UInt idc) { m_ListIdcL1[idx] = idc; }851 UInt getListIdcL1(UInt idx) { return m_ListIdcL1[idx]; }852 #endif853 692 Void setRefPicSetIdxL1(UInt idx, UInt refPicSetIdx) { m_RefPicSetIdxL1[idx] = refPicSetIdx; } 854 693 UInt getRefPicSetIdxL1(UInt idx) { return m_RefPicSetIdxL1[idx]; } … … 867 706 // access channel 868 707 TComSPS* m_pcSPS; 869 #if !RPS_IN_SPS870 TComRPSList* m_RPSList;871 #endif872 708 UInt m_uiMaxCuDQPDepth; 873 709 UInt m_uiMinCuDQPSize; … … 876 712 Int m_iChromaQpOffset2nd; 877 713 878 #if !RPS_IN_SPS 879 Bool m_bLongTermRefsPresent; 880 #endif 881 882 #if !H0566_TLA 883 UInt m_uiNumTlayerSwitchingFlags; // num_temporal_layer_switching_point_flags 884 Bool m_abTLayerSwitchingFlag[ MAX_TLAYER ]; // temporal_layer_switching_point_flag 885 #endif 714 886 715 887 716 Int m_iSliceGranularity; … … 890 719 UInt m_uiBiPredIdc; // Use of Weighting Bi-Prediction (B_SLICE) 891 720 892 #if H0388893 721 Bool m_OutputFlagPresentFlag; // Indicates the presence of output_flag in slice header 894 #endif895 722 896 723 Int m_iTileBehaviorControlPresentFlag; … … 898 725 Int m_iColumnRowInfoPresent; 899 726 Int m_iUniformSpacingIdr; 900 #if !REMOVE_TILE_DEPENDENCE901 Int m_iTileBoundaryIndependenceIdr;902 #endif903 727 Int m_iNumColumnsMinus1; 904 728 UInt* m_puiColumnWidth; … … 907 731 908 732 Int m_iEntropyCodingMode; // !!! in PPS now, but also remains in slice header! 909 #if !WPP_SIMPLIFICATION910 Int m_iEntropyCodingSynchro;911 Bool m_bCabacIstateReset;912 #endif913 733 Int m_iNumSubstreams; 914 734 915 735 Bool m_enableTMVPFlag; 916 736 917 #if MULTIBITS_DATA_HIDING918 737 Int m_signHideFlag; 919 738 Int m_signHidingThreshold; 920 #endif921 739 922 740 #if CABAC_INIT_FLAG … … 927 745 #endif 928 746 #endif 929 #if DBL_CONTROL930 747 Bool m_DeblockingFilterControlPresent; 931 #endif932 #if PARALLEL_MERGE933 748 UInt m_log2ParallelMergeLevelMinus2; 934 #endif935 749 public: 936 750 TComPPS(); … … 951 765 Void setConstrainedIntraPred ( Bool b ) { m_bConstrainedIntraPred = b; } 952 766 953 #if !H0566_TLA 954 UInt getNumTLayerSwitchingFlags() { return m_uiNumTlayerSwitchingFlags; } 955 Void setNumTLayerSwitchingFlags( UInt uiNumTlayerSwitchingFlags ) { assert( uiNumTlayerSwitchingFlags < MAX_TLAYER ); m_uiNumTlayerSwitchingFlags = uiNumTlayerSwitchingFlags; } 956 957 Bool getTLayerSwitchingFlag( UInt uiTLayer ) { assert( uiTLayer < MAX_TLAYER ); return m_abTLayerSwitchingFlag[ uiTLayer ]; } 958 Void setTLayerSwitchingFlag( UInt uiTLayer, Bool bValue ) { m_abTLayerSwitchingFlag[ uiTLayer ] = bValue; } 959 #endif 960 961 #if !RPS_IN_SPS 962 Bool getLongTermRefsPresent() { return m_bLongTermRefsPresent; } 963 Void setLongTermRefsPresent(Bool b) { m_bLongTermRefsPresent=b; } 964 #endif 767 965 768 Void setSPS ( TComSPS* pcSPS ) { m_pcSPS = pcSPS; } 966 769 TComSPS* getSPS () { return m_pcSPS; } 967 #if !RPS_IN_SPS968 Void setRPSList ( TComRPSList* RPSList ) { m_RPSList = RPSList; }969 TComRPSList* getRPSList () { return m_RPSList; }970 #endif971 770 Void setMaxCuDQPDepth ( UInt u ) { m_uiMaxCuDQPDepth = u; } 972 771 UInt getMaxCuDQPDepth () { return m_uiMaxCuDQPDepth;} … … 985 784 Void setWPBiPredIdc ( UInt u ) { m_uiBiPredIdc = u; } 986 785 987 #if H0388988 786 Void setOutputFlagPresentFlag( Bool b ) { m_OutputFlagPresentFlag = b; } 989 787 Bool getOutputFlagPresentFlag() { return m_OutputFlagPresentFlag; } 990 #endif991 788 992 789 Void setTileBehaviorControlPresentFlag ( Int i ) { m_iTileBehaviorControlPresentFlag = i; } … … 998 795 Void setUniformSpacingIdr ( Int i ) { m_iUniformSpacingIdr = i; } 999 796 Int getUniformSpacingIdr () { return m_iUniformSpacingIdr; } 1000 #if !REMOVE_TILE_DEPENDENCE1001 Void setTileBoundaryIndependenceIdr ( Int i ) { m_iTileBoundaryIndependenceIdr = i; }1002 Int getTileBoundaryIndependenceIdr () { return m_iTileBoundaryIndependenceIdr; }1003 #endif1004 797 Void setNumColumnsMinus1 ( Int i ) { m_iNumColumnsMinus1 = i; } 1005 798 Int getNumColumnsMinus1 () { return m_iNumColumnsMinus1; } … … 1034 827 Void setEntropyCodingMode(Int iEntropyCodingMode) { m_iEntropyCodingMode = iEntropyCodingMode; } 1035 828 Int getEntropyCodingMode() { return m_iEntropyCodingMode; } 1036 #if !WPP_SIMPLIFICATION1037 Void setEntropyCodingSynchro(Int iEntropyCodingSynchro) { m_iEntropyCodingSynchro = iEntropyCodingSynchro; }1038 Int getEntropyCodingSynchro() { return m_iEntropyCodingSynchro; }1039 Void setCabacIstateReset(Bool bCabacIstateReset) { m_bCabacIstateReset = bCabacIstateReset; }1040 Bool getCabacIstateReset() { return m_bCabacIstateReset; }1041 #endif1042 829 Void setNumSubstreams(Int iNumSubstreams) { m_iNumSubstreams = iNumSubstreams; } 1043 830 Int getNumSubstreams() { return m_iNumSubstreams; } 1044 831 1045 #if MULTIBITS_DATA_HIDING1046 832 Void setSignHideFlag( Int signHideFlag ) { m_signHideFlag = signHideFlag; } 1047 833 Void setTSIG( Int tsig ) { m_signHidingThreshold = tsig; } 1048 834 Int getSignHideFlag() { return m_signHideFlag; } 1049 835 Int getTSIG() { return m_signHidingThreshold; } 1050 #endif1051 836 1052 837 Void setEnableTMVPFlag( Bool b ) { m_enableTMVPFlag = b; } … … 1063 848 #endif 1064 849 #endif 1065 #if DBL_CONTROL1066 850 Void setDeblockingFilterControlPresent ( Bool bValue ) { m_DeblockingFilterControlPresent = bValue; } 1067 851 Bool getDeblockingFilterControlPresent () { return m_DeblockingFilterControlPresent; } 1068 #endif1069 #if PARALLEL_MERGE1070 852 UInt getLog2ParallelMergeLevelMinus2 () { return m_log2ParallelMergeLevelMinus2; } 1071 853 Void setLog2ParallelMergeLevelMinus2 (UInt mrgLevel) { m_log2ParallelMergeLevelMinus2 = mrgLevel; } 1072 #endif1073 854 }; 1074 855 … … 1087 868 Int* getScalingListDefaultAddress (UInt sizeId, UInt listId); //!< get default matrix coefficient 1088 869 Void processDefaultMarix (UInt sizeId, UInt listId); 1089 #if SCALING_LIST1090 870 Void setScalingListDC (UInt sizeId, UInt listId, UInt u) { m_scalingListDC[sizeId][listId] = u; } //!< set DC value 1091 871 Int getScalingListDC (UInt sizeId, UInt listId) { return m_scalingListDC[sizeId][listId]; } //!< get DC value … … 1093 873 Void setUseDefaultScalingMatrixFlag (UInt sizeId, UInt listId, Bool b) { m_useDefaultScalingMatrixFlag[sizeId][listId] = b; } //!< set default matrix enabled/disabled in each matrix 1094 874 Bool getUseDefaultScalingMatrixFlag (UInt sizeId, UInt listId) { return m_useDefaultScalingMatrixFlag[sizeId][listId]; } //!< get default matrix enabled/disabled in each matrix 1095 #endif1096 875 Void processRefMatrix (UInt sizeId, UInt listId , UInt refListId ); 1097 876 Bool xParseScalingList (char* pchFile); … … 1100 879 Void init (); 1101 880 Void destroy (); 1102 #if SCALING_LIST1103 881 Int m_scalingListDC [SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM]; //!< the DC value of the matrix coefficient for 16x16 1104 882 Bool m_useDefaultScalingMatrixFlag [SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM]; //!< UseDefaultScalingMatrixFlag 1105 #endif1106 883 UInt m_refMatrixId [SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM]; //!< RefMatrixID 1107 884 Bool m_scalingListPresentFlag; //!< flag for using default matrix … … 1124 901 Bool getAlfEnabled () {return m_bAlfEnabled; } //!< get ALF enabled/disabled in APS 1125 902 1126 #if LCU_SYNTAX_ALF1127 903 AlfParamSet* getAlfParam () {return m_alfParamSet;} 1128 #else1129 ALFParam* getAlfParam () {return m_pAlfParam; } //!< get ALF parameters in APS1130 #endif1131 904 SAOParam* getSaoParam () {return m_pSaoParam; } //!< get SAO parameters in APS 1132 905 … … 1151 924 Bool getScalingListEnabled () { return m_scalingListEnabled; } //!< get ScalingList enabled/disabled in APS 1152 925 TComScalingList* getScalingList () { return m_scalingList; } //!< get ScalingList class pointer in APS 1153 #if SAO_UNIT_INTERLEAVING1154 926 Bool getSaoInterleavingFlag() {return m_saoInterleavingFlag;} //!< get SAO interleaving flag in APS 1155 927 Void setSaoInterleavingFlag(Bool bVal) {m_saoInterleavingFlag = bVal;} //!< set SAO interleaving flag in APS 1156 #endif1157 928 1158 929 private: … … 1161 932 Bool m_bAlfEnabled; //!< ALF enabled/disabled in APS (true for enabled) 1162 933 SAOParam* m_pSaoParam; //!< SAO parameter object pointer 1163 #if LCU_SYNTAX_ALF1164 934 AlfParamSet* m_alfParamSet; 1165 #else1166 ALFParam* m_pAlfParam; //!< ALF parameter object pointer1167 #endif1168 935 Bool m_loopFilterOffsetInAPS; //< offset for deblocking filter in 0 = slice header, 1 = APS 1169 936 Bool m_loopFilterDisable; //< Deblocking filter enabled/disabled in APS … … 1172 939 Bool m_scalingListEnabled; //!< ScalingList enabled/disabled in APS (true for enabled) 1173 940 TComScalingList* m_scalingList; //!< ScalingList class pointer 1174 #if SAO_UNIT_INTERLEAVING1175 941 Bool m_saoInterleavingFlag; //!< SAO interleaving flag 1176 #endif1177 942 1178 943 public: … … 1206 971 bool m_alfEnabledFlag; 1207 972 bool m_saoEnabledFlag; 1208 #if SAO_UNIT_INTERLEAVING1209 973 bool m_saoInterleavingFlag; ///< SAO interleaving flag 1210 974 bool m_saoEnabledFlagCb; ///< SAO Cb enabled flag 1211 975 bool m_saoEnabledFlagCr; ///< SAO Cr enabled flag 1212 #endif1213 976 Int m_iPPSId; ///< picture parameter set ID 1214 #if H03881215 977 Bool m_PicOutputFlag; ///< pic_output_flag 1216 #endif1217 978 Int m_iPOC; 1218 979 Int m_iLastIDR; … … 1248 1009 1249 1010 Bool m_bCheckLDC; 1011 #if QC_TMVP_MRG_REFIDX_C0047 1012 Int m_aiNewRefIdx [2]; 1013 #endif 1250 1014 1251 1015 // Data … … 1265 1029 #endif 1266 1030 #if QC_IV_AS_LT_B0046 1267 Bool 1031 Bool m_bWasLongTerm[2][MAX_NUM_REF+1]; //was long-term picture 1268 1032 #endif 1269 1033 TComSPS* m_pcSPS; … … 1328 1092 #endif 1329 1093 1330 #if H0111_MVD_L1_ZERO1331 1094 Bool m_bLMvdL1Zero; 1332 #endif1333 #if TILES_WPP_ENTRY_POINT_SIGNALLING1334 1095 Int m_numEntryPointOffsets; 1335 #endif1336 1096 1337 1097 Int m_viewId; … … 1340 1100 Int m_aaiCodedOffset[2][MAX_VIEW_NUM]; 1341 1101 1342 #if SONY_COLPIC_AVAILABILITY|QC_MVHEVC_B00461343 Int m_iViewOrderIdx;1344 #endif1345 1102 #if LGE_ILLUCOMP_B0045 1346 1103 Bool m_bApplyIC; 1104 #endif 1105 #if INTER_VIEW_VECTOR_SCALING_C0115|QC_MVHEVC_B0046 1106 Bool m_bIVScalingFlag; 1107 Int m_iViewOrderIdx; // will be changed to view_id 1108 #endif 1109 1110 #if MERL_VSP_C0152 1111 TComPic* m_apcRefPicBaseTxt; 1112 TComPic* m_apcRefPicBaseDepth; 1113 Int* m_aiShiftLUT; 1114 Int m_iShiftPrec; 1347 1115 #endif 1348 1116 … … 1380 1148 Void setAPSId ( Int Id) { m_iAPSId =Id; } //!< set APS ID 1381 1149 Int getAPSId () { return m_iAPSId; } //!< get APS ID 1382 #if H03881383 1150 Void setPicOutputFlag( Bool b ) { m_PicOutputFlag = b; } 1384 1151 Bool getPicOutputFlag() { return m_PicOutputFlag; } 1385 #endif1386 1152 Void setAlfEnabledFlag(Bool s) {m_alfEnabledFlag =s; } 1387 1153 Bool getAlfEnabledFlag() { return m_alfEnabledFlag; } 1388 1154 Void setSaoEnabledFlag(Bool s) {m_saoEnabledFlag =s; } 1389 1155 Bool getSaoEnabledFlag() { return m_saoEnabledFlag; } 1390 #if SAO_UNIT_INTERLEAVING1391 1156 Void setSaoInterleavingFlag(Bool s) {m_saoInterleavingFlag =s; } //!< set SAO interleaving flag 1392 1157 Bool getSaoInterleavingFlag() { return m_saoInterleavingFlag; } //!< get SAO interleaving flag … … 1395 1160 Void setSaoEnabledFlagCr(Bool s) {m_saoEnabledFlagCr =s; } //!< set SAO Cr enabled flag 1396 1161 Bool getSaoEnabledFlagCr() { return m_saoEnabledFlagCr; } //!< get SAO Cr enabled flag 1397 #endif1398 1162 Void setRPS ( TComReferencePictureSet *pcRPS ) { m_pcRPS = pcRPS; } 1399 1163 TComReferencePictureSet* getRPS () { return m_pcRPS; } … … 1430 1194 Int getRefViewId ( RefPicList e, Int iRefIdx) { return m_aiRefViewIdList[e][iRefIdx]; } 1431 1195 TComPic* getTexturePic () const { return m_pcTexturePic; } 1432 #if SONY_COLPIC_AVAILABILITY1433 Int getViewOrderIdx () { return m_iViewOrderIdx; }1434 #endif1435 1196 Int getDepth () { return m_iDepth; } 1436 1197 UInt getColDir () { return m_uiColDir; } … … 1440 1201 #endif 1441 1202 Bool getCheckLDC () { return m_bCheckLDC; } 1442 #if H0111_MVD_L1_ZERO1443 1203 Bool getMvdL1ZeroFlag () { return m_bLMvdL1Zero; } 1444 #endif1445 1204 Int getRefIdxOfLC (RefPicList e, Int iRefIdx) { return m_iRefIdxOfLC[e][iRefIdx]; } 1446 1205 Int getListIdFromIdxOfLC(Int iRefIdx) { return m_eListIdFromIdxOfLC[iRefIdx]; } … … 1482 1241 Void setRefViewId ( Int i, RefPicList e, Int iRefIdx ) { m_aiRefViewIdList[e][iRefIdx] = i; } 1483 1242 Void setTexturePic ( TComPic *pcTexturePic ) { m_pcTexturePic = pcTexturePic; } 1484 #if SONY_COLPIC_AVAILABILITY1485 Void setViewOrderIdx ( Int i ) { m_iViewOrderIdx = i; }1486 #endif1487 1243 Void setNumRefIdx ( RefPicList e, Int i ) { m_aiNumRefIdx[e] = i; } 1488 1244 Void setPic ( TComPic* p ) { m_pcPic = p; } … … 1499 1255 #endif 1500 1256 Void setCheckLDC ( Bool b ) { m_bCheckLDC = b; } 1501 #if H0111_MVD_L1_ZERO1502 1257 Void setMvdL1ZeroFlag ( Bool b) { m_bLMvdL1Zero = b; } 1503 #endif1504 1258 1505 1259 Bool isIntra () { return m_eSliceType == I_SLICE; } … … 1539 1293 Void setTLayer ( UInt uiTLayer ) { m_uiTLayer = uiTLayer; } 1540 1294 1541 #if !H0566_TLA1542 Bool getTLayerSwitchingFlag() { return m_bTLayerSwitchingFlag; }1543 Void setTLayerSwitchingFlag( Bool bValue ) { m_bTLayerSwitchingFlag = bValue; }1544 #endif1545 1295 1546 1296 Void setTLayerInfo( UInt uiTLayer ); 1547 1297 Void decodingMarking( TComList<TComPic*>& rcListPic, Int iGOPSIze, Int& iMaxRefPicNum ); 1548 1298 Void applyReferencePictureSet( TComList<TComPic*>& rcListPic, TComReferencePictureSet *RPSList); 1549 #if H0566_TLA && H0566_TLA_SET_FOR_SWITCHING_POINTS1299 #if H0566_TLA_SET_FOR_SWITCHING_POINTS 1550 1300 Bool isTemporalLayerSwitchingPoint( TComList<TComPic*>& rcListPic, TComReferencePictureSet *RPSList); 1551 1301 #endif 1552 #if START_DECODING_AT_CRA1553 1302 Int checkThatAllRefPicsAreAvailable( TComList<TComPic*>& rcListPic, TComReferencePictureSet *pReferencePictureSet, Bool outputFlag, Int pocRandomAccess = 0); 1554 #else1555 Int checkThatAllRefPicsAreAvailable( TComList<TComPic*>& rcListPic, TComReferencePictureSet *pReferencePictureSet, Bool outputFlag);1556 #endif1557 1303 Void createExplicitReferencePictureSetFromReference( TComList<TComPic*>& rcListPic, TComReferencePictureSet *pReferencePictureSet); 1558 1304 … … 1628 1374 Int getCABACinitIDC() {return m_cabacInitIdc; } //!< get CABAC initial IDC number 1629 1375 #endif 1630 #if TILES_WPP_ENTRY_POINT_SIGNALLING1631 1376 Void setNumEntryPointOffsets(Int val) { m_numEntryPointOffsets = val; } 1632 1377 Int getNumEntryPointOffsets() { return m_numEntryPointOffsets; } 1633 #endif1634 1378 1635 1379 Void setViewId( Int viewId ) { m_viewId = viewId; } … … 1653 1397 Bool getApplyIC () { return m_bApplyIC; } 1654 1398 Void xSetApplyIC (); 1399 #endif 1400 #if QC_TMVP_MRG_REFIDX_C0047 1401 Int getNewRefIdx ( RefPicList e ) { return m_aiNewRefIdx[e]; } 1402 Void setNewRefIdx ( RefPicList e, Int i ) { m_aiNewRefIdx[e] = i; } 1403 #endif 1404 #if INTER_VIEW_VECTOR_SCALING_C0115 1405 Void setIVScalingFlag( Bool val ) { m_bIVScalingFlag = val; } 1406 Bool getIVScalingFlag() { return m_bIVScalingFlag; } 1407 Void setViewOrderIdx ( Int i ) { m_iViewOrderIdx = i; } // will be changed to view_id 1408 Int getViewOrderIdx () { return m_iViewOrderIdx; } // will be changed to view_id 1409 #endif 1410 1411 #if MERL_VSP_C0152 1412 TComPic* getRefPicBaseTxt () { return m_apcRefPicBaseTxt; } 1413 Void setRefPicBaseTxt ( TComPic* RefPic) { m_apcRefPicBaseTxt = RefPic; } 1414 TComPic* getRefPicBaseDepth () { return m_apcRefPicBaseDepth; } 1415 Void setRefPicBaseDepth ( TComPic* RefPic) { m_apcRefPicBaseDepth = RefPic; } 1416 1417 Void setBWVSPLUTParam( Int *pShiftLUT, Int iLoG2LUTPrec) { m_aiShiftLUT = pShiftLUT; m_iShiftPrec = iLoG2LUTPrec; } 1418 Void getBWVSPLUTParam( Int*&pShiftLUT, Int&iLoG2LUTPrec) { pShiftLUT = m_aiShiftLUT; iLoG2LUTPrec = m_iShiftPrec; } 1655 1419 #endif 1656 1420
Note: See TracChangeset for help on using the changeset viewer.