X-Git-Url: https://git.piment-noir.org/?p=deb_x265.git;a=blobdiff_plain;f=source%2Fcommon%2Fslice.h;h=90712b98826ccbf922182f18543b362541822fac;hp=bd0ba63533979ae2e6a132e3b35fdbd9e2d90f97;hb=b53f7c52d8280ab63876efd6eb292c21430ac607;hpb=5c9b45285dd64723ad1dac380b98a7b1f3095674 diff --git a/source/common/slice.h b/source/common/slice.h index bd0ba63..90712b9 100644 --- a/source/common/slice.h +++ b/source/common/slice.h @@ -242,8 +242,7 @@ struct PPS { uint32_t maxCuDQPDepth; - int chromaCbQpOffset; // use param - int chromaCrQpOffset; // use param + int chromaQpOffset[2]; // use param bool bUseWeightPred; // use param bool bUseWeightedBiPred; // use param @@ -334,6 +333,8 @@ public: void setRefPicList(PicList& picList); + const Frame* getRefPic(int list, int refIdx) const { return refIdx >= 0 ? m_refPicList[list][refIdx] : NULL; } + bool getRapPicFlag() const { return m_nalUnitType == NAL_UNIT_CODED_SLICE_IDR_W_RADL