Add VP9 inter-frame prediction intrinsic
Change-Id: If8985a6200fb6d34083eff711ccdf2f1b3c374e6
diff --git a/cpp/rsCppStructs.h b/cpp/rsCppStructs.h
index 6c14e8c..805f072 100644
--- a/cpp/rsCppStructs.h
+++ b/cpp/rsCppStructs.h
@@ -1435,6 +1435,20 @@
*/
void setLUT(sp<Allocation> lut);
};
+/**
+ * Intrinsic for VP9InterPrediction
+ */
+class ScriptIntrinsicVP9InterPred : public ScriptIntrinsic {
+ private:
+ ScriptIntrinsicVP9InterPred(sp<RS> rs, sp<const Element> e);
+ public:
+ static sp<ScriptIntrinsicVP9InterPred> create(sp<RS> rs, sp<const Element> e);
+
+ void forEach(sp<Allocation> asize);
+ void setRef(sp<Allocation> ref);
+ void setParamCount(int fri, int sec, int offset);
+ void setParam(sp<Allocation> param);
+};
/**
* Intrinsic kernel for blending two Allocations.