Add blur intrinsic to C++.

Change-Id: I5cfc5873a1bda949619f96787cd68bb92cc48f8f
diff --git a/cpp/ScriptIntrinsics.cpp b/cpp/ScriptIntrinsics.cpp
index 2781e5e..2150d40 100644
--- a/cpp/ScriptIntrinsics.cpp
+++ b/cpp/ScriptIntrinsics.cpp
@@ -95,7 +95,16 @@
     Script::forEach(35, in, out, NULL, 0);
 }
 
+ScriptIntrinsicBlur::ScriptIntrinsicBlur(sp<RS> rs, Element *e)
+    : ScriptIntrinsic(rs, RS_SCRIPT_INTRINSIC_ID_BLUR, e) {
 
+}
 
+void ScriptIntrinsicBlur::blur(sp<Allocation> in, sp<Allocation> out) {
+    Script::setVar(1, in);
+    Script::forEach(0, NULL, out, NULL, 0);
+}
 
-
+void ScriptIntrinsicBlur::setRadius(float radius) {
+    Script::setVar(0, &radius, sizeof(float));
+}