X-Git-Url: https://git.piment-noir.org/?p=deb_x265.git;a=blobdiff_plain;f=source%2Fencoder%2Freference.h;h=6b33499a412e7bca7fcf31534a4295b04ebca4ec;hp=3fb9afd092a19b47cc265176c91a7b9fe328511c;hb=b53f7c52d8280ab63876efd6eb292c21430ac607;hpb=5c9b45285dd64723ad1dac380b98a7b1f3095674 diff --git a/source/encoder/reference.h b/source/encoder/reference.h index 3fb9afd..6b33499 100644 --- a/source/encoder/reference.h +++ b/source/encoder/reference.h @@ -25,13 +25,13 @@ #define X265_REFERENCE_H #include "primitives.h" +#include "picyuv.h" #include "lowres.h" #include "mv.h" namespace x265 { // private x265 namespace -class PicYuv; struct WeightParam; class MotionReference : public ReferencePlanes @@ -40,12 +40,12 @@ public: MotionReference(); ~MotionReference(); - int init(PicYuv*, WeightParam* w = NULL); + int init(PicYuv*, WeightParam* wp, const x265_param& p); void applyWeight(int rows, int numRows); - PicYuv* m_reconPic; - pixel* m_weightBuffer; - int m_numWeightedRows; + pixel* weightBuffer[3]; + int numInterpPlanes; + int numWeightedRows; protected: