Changeset 294 in 3DVCSoftware for branches/HTM-5.1-dev0/source/Lib/TLibCommon/TComSlice.h
- Timestamp:
- 19 Feb 2013, 20:33:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-5.1-dev0/source/Lib/TLibCommon/TComSlice.h
r292 r294 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 … … 276 274 UInt m_picWidthInLumaSamples; 277 275 UInt m_picHeightInLumaSamples; 278 #if PIC_CROPPING279 276 Bool m_picCroppingFlag; 280 277 Int m_picCropLeftOffset; … … 282 279 Int m_picCropTopOffset; 283 280 Int m_picCropBottomOffset; 284 #else285 Int m_aiPad[2];286 #endif287 281 UInt m_uiMaxCUWidth; 288 282 UInt m_uiMaxCUHeight; … … 290 284 UInt m_uiMinTrDepth; 291 285 UInt m_uiMaxTrDepth; 292 #if RPS_IN_SPS293 286 TComRPSList* m_RPSList; 294 287 Bool m_bLongTermRefsPresent; 295 #endif296 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER297 288 Int m_numReorderPics[MAX_TLAYER]; 298 #else299 Int m_maxNumberOfReferencePictures;300 Int m_numReorderFrames;301 #endif302 289 303 290 Int m_iNumberOfUsableInterViewRefs; … … 315 302 Bool m_useAMP; 316 303 Bool m_bUseALF; 317 #if LCU_SYNTAX_ALF318 304 Bool m_bALFCoefInSlice; 319 #endif320 #if !PIC_CROPPING321 Bool m_bUsePAD;322 #endif323 305 Bool m_bUseLMChroma; // JL: 324 306 … … 327 309 Bool m_useNSQT; 328 310 329 #if H0412_REF_PIC_LIST_RESTRICTION330 311 Bool m_restrictedRefPicListsFlag; 331 312 Bool m_listsModificationPresentFlag; 332 #endif333 313 334 314 // Parameter … … 336 316 UInt m_uiBitDepth; 337 317 UInt m_uiBitIncrement; 338 #if H0736_AVC_STYLE_QP_RANGE339 318 Int m_qpBDOffsetY; 340 319 Int m_qpBDOffsetC; 341 #endif342 320 343 321 #if LOSSLESS_CODING … … 381 359 382 360 Bool m_scalingListEnabledFlag; 383 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER384 361 UInt m_uiMaxDecPicBuffering[MAX_TLAYER]; 385 362 UInt m_uiMaxLatencyIncrease[MAX_TLAYER]; 386 #else387 UInt m_uiMaxDecFrameBuffering;388 UInt m_uiMaxLatencyIncrease;389 #endif390 363 391 364 Bool m_useDF; 392 365 393 #if TILES_WPP_ENTRY_POINT_SIGNALLING394 366 UInt m_tilesOrEntropyCodingSyncIdc; 395 367 Int m_numSubstreams; 396 #endif397 368 398 369 #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX … … 452 423 UInt getPicHeightInLumaSamples () { return m_picHeightInLumaSamples; } 453 424 454 #if PIC_CROPPING455 425 Bool getPicCroppingFlag() const { return m_picCroppingFlag; } 456 426 Void setPicCroppingFlag(Bool val) { m_picCroppingFlag = val; } … … 463 433 Int getPicCropBottomOffset() const { return m_picCropBottomOffset; } 464 434 Void setPicCropBottomOffset(Int val) { m_picCropBottomOffset = val; } 465 #endif466 435 467 436 Void setMaxCUWidth ( UInt u ) { m_uiMaxCUWidth = u; } … … 495 464 UInt getQuadtreeTUMaxDepthInter() { return m_uiQuadtreeTUMaxDepthInter; } 496 465 UInt getQuadtreeTUMaxDepthIntra() { return m_uiQuadtreeTUMaxDepthIntra; } 497 #if !PIC_CROPPING498 Void setPad (Int iPad[2]) { m_aiPad[0] = iPad[0]; m_aiPad[1] = iPad[1]; }499 #endif500 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER501 466 Void setNumReorderPics(Int i, UInt tlayer) { m_numReorderPics[tlayer] = i; } 502 467 Int getNumReorderPics(UInt tlayer) { return m_numReorderPics[tlayer]; } 503 #else504 Void setMaxNumberOfReferencePictures( Int u ) { m_maxNumberOfReferencePictures = u; }505 Int getMaxNumberOfReferencePictures() { return m_maxNumberOfReferencePictures; }506 Void setNumReorderFrames( Int i ) { m_numReorderFrames = i; }507 Int getNumReorderFrames() { return m_numReorderFrames; }508 #endif509 #if RPS_IN_SPS510 468 Void setRPSList( TComRPSList* RPSList ) { m_RPSList = RPSList; } 511 469 TComRPSList* getRPSList() { return m_RPSList; } 512 470 Bool getLongTermRefsPresent() { return m_bLongTermRefsPresent; } 513 471 Void setLongTermRefsPresent(Bool b) { m_bLongTermRefsPresent=b; } 514 #endif515 472 516 473 Void setNumberOfUsableInterViewRefs( Int number ) { m_iNumberOfUsableInterViewRefs = number; } … … 519 476 Int getUsableInterViewRef( Int pos ) { return m_aiUsableInterViewRefs[pos]; } 520 477 521 #if !PIC_CROPPING522 Void setPadX ( Int u ) { m_aiPad[0] = u; }523 Void setPadY ( Int u ) { m_aiPad[1] = u; }524 Int getPad ( Int u ) { assert(u < 2); return m_aiPad[u];}525 Int* getPad ( ) { return m_aiPad; }526 #endif527 478 528 479 // physical transform … … 532 483 // Tool list 533 484 Bool getUseALF () { return m_bUseALF; } 534 #if LCU_SYNTAX_ALF535 485 Void setUseALFCoefInSlice(Bool b) {m_bALFCoefInSlice = b;} 536 486 Bool getUseALFCoefInSlice() {return m_bALFCoefInSlice;} 537 #endif 538 539 #if !PIC_CROPPING 540 Bool getUsePAD () { return m_bUsePAD; } 541 Void setUsePAD ( Bool b ) { m_bUsePAD = b; } 542 #endif 487 543 488 Void setUseALF ( Bool b ) { m_bUseALF = b; } 544 489 Void setUseLComb (Bool b) { m_bUseLComb = b; } … … 557 502 Void setUseNSQT( Bool b ) { m_useNSQT = b; } 558 503 559 #if H0412_REF_PIC_LIST_RESTRICTION560 504 Bool getRestrictedRefPicListsFlag () { return m_restrictedRefPicListsFlag; } 561 505 Void setRestrictedRefPicListsFlag ( Bool b ) { m_restrictedRefPicListsFlag = b; } 562 506 Bool getListsModificationPresentFlag () { return m_listsModificationPresentFlag; } 563 507 Void setListsModificationPresentFlag ( Bool b ) { m_listsModificationPresentFlag = b; } 564 #endif565 508 566 509 // AMVP mode (for each depth) … … 577 520 UInt getBitIncrement () { return m_uiBitIncrement; } 578 521 Void setBitIncrement ( UInt u ) { m_uiBitIncrement = u; } 579 #if H0736_AVC_STYLE_QP_RANGE580 522 Int getQpBDOffsetY () { return m_qpBDOffsetY; } 581 523 Void setQpBDOffsetY ( Int value ) { m_qpBDOffsetY = value; } 582 524 Int getQpBDOffsetC () { return m_qpBDOffsetC; } 583 525 Void setQpBDOffsetC ( Int value ) { m_qpBDOffsetC = value; } 584 #endif585 526 586 527 Void setLFCrossSliceBoundaryFlag ( Bool bValue ) { m_bLFCrossSliceBoundaryFlag = bValue; } … … 625 566 Void setUniformSpacingIdr ( Int i ) { m_iUniformSpacingIdr = i; } 626 567 Int getUniformSpacingIdr () { return m_iUniformSpacingIdr; } 627 #if !REMOVE_TILE_DEPENDENCE628 Void setTileBoundaryIndependenceIdr ( Int i ) { m_iTileBoundaryIndependenceIdr = i; }629 Int getTileBoundaryIndependenceIdr () { return m_iTileBoundaryIndependenceIdr; }630 #endif631 568 Void setNumColumnsMinus1 ( Int i ) { m_iNumColumnsMinus1 = i; } 632 569 Int getNumColumnsMinus1 () { return m_iNumColumnsMinus1; } … … 661 598 Bool getScalingListFlag () { return m_scalingListEnabledFlag; } 662 599 Void setScalingListFlag ( Bool b ) { m_scalingListEnabledFlag = b; } 663 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER664 600 UInt getMaxDecPicBuffering (UInt tlayer) { return m_uiMaxDecPicBuffering[tlayer]; } 665 601 Void setMaxDecPicBuffering ( UInt ui, UInt tlayer ) { m_uiMaxDecPicBuffering[tlayer] = ui; } 666 602 UInt getMaxLatencyIncrease (UInt tlayer) { return m_uiMaxLatencyIncrease[tlayer]; } 667 603 Void setMaxLatencyIncrease ( UInt ui , UInt tlayer) { m_uiMaxLatencyIncrease[tlayer] = ui; } 668 #else669 UInt getMaxDecFrameBuffering () { return m_uiMaxDecFrameBuffering; }670 Void setMaxDecFrameBuffering ( UInt ui ) { m_uiMaxDecFrameBuffering = ui; }671 UInt getMaxLatencyIncrease () { return m_uiMaxLatencyIncrease; }672 Void setMaxLatencyIncrease ( UInt ui ) { m_uiMaxLatencyIncrease= ui; }673 #endif674 #if TILES_WPP_ENTRY_POINT_SIGNALLING675 604 UInt getTilesOrEntropyCodingSyncIdc () { return m_tilesOrEntropyCodingSyncIdc; } 676 605 Void setTilesOrEntropyCodingSyncIdc ( UInt val ) { m_tilesOrEntropyCodingSyncIdc = val; } 677 606 Int getNumSubstreams () { return m_numSubstreams; } 678 607 Void setNumSubstreams ( Int numSubstreams ) { m_numSubstreams = numSubstreams; } 679 #endif680 608 681 609 #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX … … 739 667 }; 740 668 741 #if !RPS_IN_SPS742 /// Reference Picture Set class743 class TComReferencePictureSet744 {745 private:746 Int m_numberOfPictures;747 Int m_numberOfNegativePictures;748 Int m_numberOfPositivePictures;749 Int m_numberOfLongtermPictures;750 Int m_deltaPOC[MAX_NUM_REF_PICS];751 Int m_POC[MAX_NUM_REF_PICS];752 Bool m_used[MAX_NUM_REF_PICS];753 Bool m_interRPSPrediction;754 Int m_deltaRIdxMinus1;755 Int m_deltaRPS;756 Int m_numRefIdc;757 Int m_refIdc[MAX_NUM_REF_PICS+1];758 759 public:760 TComReferencePictureSet();761 virtual ~TComReferencePictureSet();762 763 Void setUsed(Int bufferNum, Bool used);764 Void setDeltaPOC(Int bufferNum, Int deltaPOC);765 Void setPOC(Int bufferNum, Int deltaPOC);766 Void setNumberOfPictures(Int numberOfPictures);767 768 Int getUsed(Int bufferNum);769 Int getDeltaPOC(Int bufferNum);770 Int getPOC(Int bufferNum);771 Int getNumberOfPictures();772 773 Void setNumberOfNegativePictures(Int number) { m_numberOfNegativePictures = number; }774 Int getNumberOfNegativePictures() { return m_numberOfNegativePictures; }775 Void setNumberOfPositivePictures(Int number) { m_numberOfPositivePictures = number; }776 Int getNumberOfPositivePictures() { return m_numberOfPositivePictures; }777 Void setNumberOfLongtermPictures(Int number) { m_numberOfLongtermPictures = number; }778 Int getNumberOfLongtermPictures() { return m_numberOfLongtermPictures; }779 780 Void setInterRPSPrediction(Bool flag) { m_interRPSPrediction = flag; }781 Bool getInterRPSPrediction() { return m_interRPSPrediction; }782 Void setDeltaRIdxMinus1(Int x) { m_deltaRIdxMinus1 = x; }783 Int getDeltaRIdxMinus1() { return m_deltaRIdxMinus1; }784 Void setDeltaRPS(Int x) { m_deltaRPS = x; }785 Int getDeltaRPS() { return m_deltaRPS; }786 Void setNumRefIdc(Int x) { m_numRefIdc = x; }787 Int getNumRefIdc() { return m_numRefIdc; }788 789 Void setRefIdc(Int bufferNum, Int refIdc);790 Int getRefIdc(Int bufferNum);791 792 Void sortDeltaPOC();793 Void printDeltaPOC();794 };795 796 /// Reference Picture Set set class797 class TComRPSList798 {799 private:800 Int m_numberOfReferencePictureSets;801 TComReferencePictureSet* m_referencePictureSets;802 803 public:804 TComRPSList();805 virtual ~TComRPSList();806 807 Void create (Int numberOfEntries);808 Void destroy ();809 810 811 TComReferencePictureSet* getReferencePictureSet(Int referencePictureSetNum);812 Int getNumberOfReferencePictureSets();813 Void setNumberOfReferencePictureSets(Int numberOfReferencePictureSets);814 };815 #endif816 669 817 670 /// Reference Picture Lists class … … 821 674 UInt m_bRefPicListModificationFlagL0; 822 675 UInt m_bRefPicListModificationFlagL1; 823 #if !H0137_0138_LIST_MODIFICATION824 UInt m_uiNumberOfRefPicListModificationsL0;825 UInt m_uiNumberOfRefPicListModificationsL1;826 UInt m_ListIdcL0[32];827 #endif828 676 UInt m_RefPicSetIdxL0[32]; 829 #if !H0137_0138_LIST_MODIFICATION830 UInt m_ListIdcL1[32];831 #endif832 677 UInt m_RefPicSetIdxL1[32]; 833 678 … … 843 688 Bool getRefPicListModificationFlagL1() { return m_bRefPicListModificationFlagL1; } 844 689 Void setRefPicListModificationFlagL1(Bool flag) { m_bRefPicListModificationFlagL1 = flag; } 845 #if !H0137_0138_LIST_MODIFICATION846 UInt getNumberOfRefPicListModificationsL0() { return m_uiNumberOfRefPicListModificationsL0; }847 Void setNumberOfRefPicListModificationsL0(UInt nr) { m_uiNumberOfRefPicListModificationsL0 = nr; }848 UInt getNumberOfRefPicListModificationsL1() { return m_uiNumberOfRefPicListModificationsL1; }849 Void setNumberOfRefPicListModificationsL1(UInt nr) { m_uiNumberOfRefPicListModificationsL1 = nr; }850 Void setListIdcL0(UInt idx, UInt idc) { m_ListIdcL0[idx] = idc; }851 UInt getListIdcL0(UInt idx) { return m_ListIdcL0[idx]; }852 #endif853 690 Void setRefPicSetIdxL0(UInt idx, UInt refPicSetIdx) { m_RefPicSetIdxL0[idx] = refPicSetIdx; } 854 691 UInt getRefPicSetIdxL0(UInt idx) { return m_RefPicSetIdxL0[idx]; } 855 #if !H0137_0138_LIST_MODIFICATION856 Void setListIdcL1(UInt idx, UInt idc) { m_ListIdcL1[idx] = idc; }857 UInt getListIdcL1(UInt idx) { return m_ListIdcL1[idx]; }858 #endif859 692 Void setRefPicSetIdxL1(UInt idx, UInt refPicSetIdx) { m_RefPicSetIdxL1[idx] = refPicSetIdx; } 860 693 UInt getRefPicSetIdxL1(UInt idx) { return m_RefPicSetIdxL1[idx]; } … … 873 706 // access channel 874 707 TComSPS* m_pcSPS; 875 #if !RPS_IN_SPS876 TComRPSList* m_RPSList;877 #endif878 708 UInt m_uiMaxCuDQPDepth; 879 709 UInt m_uiMinCuDQPSize; … … 882 712 Int m_iChromaQpOffset2nd; 883 713 884 #if !RPS_IN_SPS 885 Bool m_bLongTermRefsPresent; 886 #endif 887 888 #if !H0566_TLA 889 UInt m_uiNumTlayerSwitchingFlags; // num_temporal_layer_switching_point_flags 890 Bool m_abTLayerSwitchingFlag[ MAX_TLAYER ]; // temporal_layer_switching_point_flag 891 #endif 714 892 715 893 716 Int m_iSliceGranularity; … … 896 719 UInt m_uiBiPredIdc; // Use of Weighting Bi-Prediction (B_SLICE) 897 720 898 #if H0388899 721 Bool m_OutputFlagPresentFlag; // Indicates the presence of output_flag in slice header 900 #endif901 722 902 723 Int m_iTileBehaviorControlPresentFlag; … … 904 725 Int m_iColumnRowInfoPresent; 905 726 Int m_iUniformSpacingIdr; 906 #if !REMOVE_TILE_DEPENDENCE907 Int m_iTileBoundaryIndependenceIdr;908 #endif909 727 Int m_iNumColumnsMinus1; 910 728 UInt* m_puiColumnWidth; … … 913 731 914 732 Int m_iEntropyCodingMode; // !!! in PPS now, but also remains in slice header! 915 #if !WPP_SIMPLIFICATION916 Int m_iEntropyCodingSynchro;917 Bool m_bCabacIstateReset;918 #endif919 733 Int m_iNumSubstreams; 920 734 921 735 Bool m_enableTMVPFlag; 922 736 923 #if MULTIBITS_DATA_HIDING924 737 Int m_signHideFlag; 925 738 Int m_signHidingThreshold; 926 #endif927 739 928 740 #if CABAC_INIT_FLAG … … 933 745 #endif 934 746 #endif 935 #if DBL_CONTROL936 747 Bool m_DeblockingFilterControlPresent; 937 #endif938 #if PARALLEL_MERGE939 748 UInt m_log2ParallelMergeLevelMinus2; 940 #endif941 749 public: 942 750 TComPPS(); … … 957 765 Void setConstrainedIntraPred ( Bool b ) { m_bConstrainedIntraPred = b; } 958 766 959 #if !H0566_TLA 960 UInt getNumTLayerSwitchingFlags() { return m_uiNumTlayerSwitchingFlags; } 961 Void setNumTLayerSwitchingFlags( UInt uiNumTlayerSwitchingFlags ) { assert( uiNumTlayerSwitchingFlags < MAX_TLAYER ); m_uiNumTlayerSwitchingFlags = uiNumTlayerSwitchingFlags; } 962 963 Bool getTLayerSwitchingFlag( UInt uiTLayer ) { assert( uiTLayer < MAX_TLAYER ); return m_abTLayerSwitchingFlag[ uiTLayer ]; } 964 Void setTLayerSwitchingFlag( UInt uiTLayer, Bool bValue ) { m_abTLayerSwitchingFlag[ uiTLayer ] = bValue; } 965 #endif 966 967 #if !RPS_IN_SPS 968 Bool getLongTermRefsPresent() { return m_bLongTermRefsPresent; } 969 Void setLongTermRefsPresent(Bool b) { m_bLongTermRefsPresent=b; } 970 #endif 767 971 768 Void setSPS ( TComSPS* pcSPS ) { m_pcSPS = pcSPS; } 972 769 TComSPS* getSPS () { return m_pcSPS; } 973 #if !RPS_IN_SPS974 Void setRPSList ( TComRPSList* RPSList ) { m_RPSList = RPSList; }975 TComRPSList* getRPSList () { return m_RPSList; }976 #endif977 770 Void setMaxCuDQPDepth ( UInt u ) { m_uiMaxCuDQPDepth = u; } 978 771 UInt getMaxCuDQPDepth () { return m_uiMaxCuDQPDepth;} … … 991 784 Void setWPBiPredIdc ( UInt u ) { m_uiBiPredIdc = u; } 992 785 993 #if H0388994 786 Void setOutputFlagPresentFlag( Bool b ) { m_OutputFlagPresentFlag = b; } 995 787 Bool getOutputFlagPresentFlag() { return m_OutputFlagPresentFlag; } 996 #endif997 788 998 789 Void setTileBehaviorControlPresentFlag ( Int i ) { m_iTileBehaviorControlPresentFlag = i; } … … 1004 795 Void setUniformSpacingIdr ( Int i ) { m_iUniformSpacingIdr = i; } 1005 796 Int getUniformSpacingIdr () { return m_iUniformSpacingIdr; } 1006 #if !REMOVE_TILE_DEPENDENCE1007 Void setTileBoundaryIndependenceIdr ( Int i ) { m_iTileBoundaryIndependenceIdr = i; }1008 Int getTileBoundaryIndependenceIdr () { return m_iTileBoundaryIndependenceIdr; }1009 #endif1010 797 Void setNumColumnsMinus1 ( Int i ) { m_iNumColumnsMinus1 = i; } 1011 798 Int getNumColumnsMinus1 () { return m_iNumColumnsMinus1; } … … 1040 827 Void setEntropyCodingMode(Int iEntropyCodingMode) { m_iEntropyCodingMode = iEntropyCodingMode; } 1041 828 Int getEntropyCodingMode() { return m_iEntropyCodingMode; } 1042 #if !WPP_SIMPLIFICATION1043 Void setEntropyCodingSynchro(Int iEntropyCodingSynchro) { m_iEntropyCodingSynchro = iEntropyCodingSynchro; }1044 Int getEntropyCodingSynchro() { return m_iEntropyCodingSynchro; }1045 Void setCabacIstateReset(Bool bCabacIstateReset) { m_bCabacIstateReset = bCabacIstateReset; }1046 Bool getCabacIstateReset() { return m_bCabacIstateReset; }1047 #endif1048 829 Void setNumSubstreams(Int iNumSubstreams) { m_iNumSubstreams = iNumSubstreams; } 1049 830 Int getNumSubstreams() { return m_iNumSubstreams; } 1050 831 1051 #if MULTIBITS_DATA_HIDING1052 832 Void setSignHideFlag( Int signHideFlag ) { m_signHideFlag = signHideFlag; } 1053 833 Void setTSIG( Int tsig ) { m_signHidingThreshold = tsig; } 1054 834 Int getSignHideFlag() { return m_signHideFlag; } 1055 835 Int getTSIG() { return m_signHidingThreshold; } 1056 #endif1057 836 1058 837 Void setEnableTMVPFlag( Bool b ) { m_enableTMVPFlag = b; } … … 1069 848 #endif 1070 849 #endif 1071 #if DBL_CONTROL1072 850 Void setDeblockingFilterControlPresent ( Bool bValue ) { m_DeblockingFilterControlPresent = bValue; } 1073 851 Bool getDeblockingFilterControlPresent () { return m_DeblockingFilterControlPresent; } 1074 #endif1075 #if PARALLEL_MERGE1076 852 UInt getLog2ParallelMergeLevelMinus2 () { return m_log2ParallelMergeLevelMinus2; } 1077 853 Void setLog2ParallelMergeLevelMinus2 (UInt mrgLevel) { m_log2ParallelMergeLevelMinus2 = mrgLevel; } 1078 #endif1079 854 }; 1080 855 … … 1093 868 Int* getScalingListDefaultAddress (UInt sizeId, UInt listId); //!< get default matrix coefficient 1094 869 Void processDefaultMarix (UInt sizeId, UInt listId); 1095 #if SCALING_LIST1096 870 Void setScalingListDC (UInt sizeId, UInt listId, UInt u) { m_scalingListDC[sizeId][listId] = u; } //!< set DC value 1097 871 Int getScalingListDC (UInt sizeId, UInt listId) { return m_scalingListDC[sizeId][listId]; } //!< get DC value … … 1099 873 Void setUseDefaultScalingMatrixFlag (UInt sizeId, UInt listId, Bool b) { m_useDefaultScalingMatrixFlag[sizeId][listId] = b; } //!< set default matrix enabled/disabled in each matrix 1100 874 Bool getUseDefaultScalingMatrixFlag (UInt sizeId, UInt listId) { return m_useDefaultScalingMatrixFlag[sizeId][listId]; } //!< get default matrix enabled/disabled in each matrix 1101 #endif1102 875 Void processRefMatrix (UInt sizeId, UInt listId , UInt refListId ); 1103 876 Bool xParseScalingList (char* pchFile); … … 1106 879 Void init (); 1107 880 Void destroy (); 1108 #if SCALING_LIST1109 881 Int m_scalingListDC [SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM]; //!< the DC value of the matrix coefficient for 16x16 1110 882 Bool m_useDefaultScalingMatrixFlag [SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM]; //!< UseDefaultScalingMatrixFlag 1111 #endif1112 883 UInt m_refMatrixId [SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM]; //!< RefMatrixID 1113 884 Bool m_scalingListPresentFlag; //!< flag for using default matrix … … 1130 901 Bool getAlfEnabled () {return m_bAlfEnabled; } //!< get ALF enabled/disabled in APS 1131 902 1132 #if LCU_SYNTAX_ALF1133 903 AlfParamSet* getAlfParam () {return m_alfParamSet;} 1134 #else1135 ALFParam* getAlfParam () {return m_pAlfParam; } //!< get ALF parameters in APS1136 #endif1137 904 SAOParam* getSaoParam () {return m_pSaoParam; } //!< get SAO parameters in APS 1138 905 … … 1157 924 Bool getScalingListEnabled () { return m_scalingListEnabled; } //!< get ScalingList enabled/disabled in APS 1158 925 TComScalingList* getScalingList () { return m_scalingList; } //!< get ScalingList class pointer in APS 1159 #if SAO_UNIT_INTERLEAVING1160 926 Bool getSaoInterleavingFlag() {return m_saoInterleavingFlag;} //!< get SAO interleaving flag in APS 1161 927 Void setSaoInterleavingFlag(Bool bVal) {m_saoInterleavingFlag = bVal;} //!< set SAO interleaving flag in APS 1162 #endif1163 928 1164 929 private: … … 1167 932 Bool m_bAlfEnabled; //!< ALF enabled/disabled in APS (true for enabled) 1168 933 SAOParam* m_pSaoParam; //!< SAO parameter object pointer 1169 #if LCU_SYNTAX_ALF1170 934 AlfParamSet* m_alfParamSet; 1171 #else1172 ALFParam* m_pAlfParam; //!< ALF parameter object pointer1173 #endif1174 935 Bool m_loopFilterOffsetInAPS; //< offset for deblocking filter in 0 = slice header, 1 = APS 1175 936 Bool m_loopFilterDisable; //< Deblocking filter enabled/disabled in APS … … 1178 939 Bool m_scalingListEnabled; //!< ScalingList enabled/disabled in APS (true for enabled) 1179 940 TComScalingList* m_scalingList; //!< ScalingList class pointer 1180 #if SAO_UNIT_INTERLEAVING1181 941 Bool m_saoInterleavingFlag; //!< SAO interleaving flag 1182 #endif1183 942 1184 943 public: … … 1212 971 bool m_alfEnabledFlag; 1213 972 bool m_saoEnabledFlag; 1214 #if SAO_UNIT_INTERLEAVING1215 973 bool m_saoInterleavingFlag; ///< SAO interleaving flag 1216 974 bool m_saoEnabledFlagCb; ///< SAO Cb enabled flag 1217 975 bool m_saoEnabledFlagCr; ///< SAO Cr enabled flag 1218 #endif1219 976 Int m_iPPSId; ///< picture parameter set ID 1220 #if H03881221 977 Bool m_PicOutputFlag; ///< pic_output_flag 1222 #endif1223 978 Int m_iPOC; 1224 979 Int m_iLastIDR; … … 1337 1092 #endif 1338 1093 1339 #if H0111_MVD_L1_ZERO1340 1094 Bool m_bLMvdL1Zero; 1341 #endif1342 #if TILES_WPP_ENTRY_POINT_SIGNALLING1343 1095 Int m_numEntryPointOffsets; 1344 #endif1345 1096 1346 1097 Int m_viewId; … … 1397 1148 Void setAPSId ( Int Id) { m_iAPSId =Id; } //!< set APS ID 1398 1149 Int getAPSId () { return m_iAPSId; } //!< get APS ID 1399 #if H03881400 1150 Void setPicOutputFlag( Bool b ) { m_PicOutputFlag = b; } 1401 1151 Bool getPicOutputFlag() { return m_PicOutputFlag; } 1402 #endif1403 1152 Void setAlfEnabledFlag(Bool s) {m_alfEnabledFlag =s; } 1404 1153 Bool getAlfEnabledFlag() { return m_alfEnabledFlag; } 1405 1154 Void setSaoEnabledFlag(Bool s) {m_saoEnabledFlag =s; } 1406 1155 Bool getSaoEnabledFlag() { return m_saoEnabledFlag; } 1407 #if SAO_UNIT_INTERLEAVING1408 1156 Void setSaoInterleavingFlag(Bool s) {m_saoInterleavingFlag =s; } //!< set SAO interleaving flag 1409 1157 Bool getSaoInterleavingFlag() { return m_saoInterleavingFlag; } //!< get SAO interleaving flag … … 1412 1160 Void setSaoEnabledFlagCr(Bool s) {m_saoEnabledFlagCr =s; } //!< set SAO Cr enabled flag 1413 1161 Bool getSaoEnabledFlagCr() { return m_saoEnabledFlagCr; } //!< get SAO Cr enabled flag 1414 #endif1415 1162 Void setRPS ( TComReferencePictureSet *pcRPS ) { m_pcRPS = pcRPS; } 1416 1163 TComReferencePictureSet* getRPS () { return m_pcRPS; } … … 1454 1201 #endif 1455 1202 Bool getCheckLDC () { return m_bCheckLDC; } 1456 #if H0111_MVD_L1_ZERO1457 1203 Bool getMvdL1ZeroFlag () { return m_bLMvdL1Zero; } 1458 #endif1459 1204 Int getRefIdxOfLC (RefPicList e, Int iRefIdx) { return m_iRefIdxOfLC[e][iRefIdx]; } 1460 1205 Int getListIdFromIdxOfLC(Int iRefIdx) { return m_eListIdFromIdxOfLC[iRefIdx]; } … … 1510 1255 #endif 1511 1256 Void setCheckLDC ( Bool b ) { m_bCheckLDC = b; } 1512 #if H0111_MVD_L1_ZERO1513 1257 Void setMvdL1ZeroFlag ( Bool b) { m_bLMvdL1Zero = b; } 1514 #endif1515 1258 1516 1259 Bool isIntra () { return m_eSliceType == I_SLICE; } … … 1550 1293 Void setTLayer ( UInt uiTLayer ) { m_uiTLayer = uiTLayer; } 1551 1294 1552 #if !H0566_TLA1553 Bool getTLayerSwitchingFlag() { return m_bTLayerSwitchingFlag; }1554 Void setTLayerSwitchingFlag( Bool bValue ) { m_bTLayerSwitchingFlag = bValue; }1555 #endif1556 1295 1557 1296 Void setTLayerInfo( UInt uiTLayer ); 1558 1297 Void decodingMarking( TComList<TComPic*>& rcListPic, Int iGOPSIze, Int& iMaxRefPicNum ); 1559 1298 Void applyReferencePictureSet( TComList<TComPic*>& rcListPic, TComReferencePictureSet *RPSList); 1560 #if H0566_TLA && H0566_TLA_SET_FOR_SWITCHING_POINTS1299 #if H0566_TLA_SET_FOR_SWITCHING_POINTS 1561 1300 Bool isTemporalLayerSwitchingPoint( TComList<TComPic*>& rcListPic, TComReferencePictureSet *RPSList); 1562 1301 #endif 1563 #if START_DECODING_AT_CRA1564 1302 Int checkThatAllRefPicsAreAvailable( TComList<TComPic*>& rcListPic, TComReferencePictureSet *pReferencePictureSet, Bool outputFlag, Int pocRandomAccess = 0); 1565 #else1566 Int checkThatAllRefPicsAreAvailable( TComList<TComPic*>& rcListPic, TComReferencePictureSet *pReferencePictureSet, Bool outputFlag);1567 #endif1568 1303 Void createExplicitReferencePictureSetFromReference( TComList<TComPic*>& rcListPic, TComReferencePictureSet *pReferencePictureSet); 1569 1304 … … 1639 1374 Int getCABACinitIDC() {return m_cabacInitIdc; } //!< get CABAC initial IDC number 1640 1375 #endif 1641 #if TILES_WPP_ENTRY_POINT_SIGNALLING1642 1376 Void setNumEntryPointOffsets(Int val) { m_numEntryPointOffsets = val; } 1643 1377 Int getNumEntryPointOffsets() { return m_numEntryPointOffsets; } 1644 #endif1645 1378 1646 1379 Void setViewId( Int viewId ) { m_viewId = viewId; }
Note: See TracChangeset for help on using the changeset viewer.