Update prebuilts for RS compatibility library.
Bug: 8712709
SHA values
frameworks/rs : 70cc3f31ebe6dd61e173d9e0a120a2e4932b14c5
frameworks/support: e4788686b60d6f03b6bfd05fe2ba32b786c77929
Change-Id: I1391f025bc3a3c87960753d4f28da5e3ca378f32
diff --git a/renderscript/include/rs_allocation.rsh b/renderscript/include/rs_allocation.rsh
index cefd09f..0f5e79d 100644
--- a/renderscript/include/rs_allocation.rsh
+++ b/renderscript/include/rs_allocation.rsh
@@ -350,6 +350,28 @@
#undef SET_ELEMENT_AT
+/**
+ * Extract a single element from an allocation.
+ */
+extern const uchar __attribute__((overloadable))
+ rsGetElementAtYuv_uchar_Y(rs_allocation a, uint32_t x, uint32_t y);
+
+/**
+ * Extract a single element from an allocation.
+ *
+ * Coordinates are in the dimensions of the Y plane
+ */
+extern const uchar __attribute__((overloadable))
+ rsGetElementAtYuv_uchar_U(rs_allocation a, uint32_t x, uint32_t y);
+
+/**
+ * Extract a single element from an allocation.
+ *
+ * Coordinates are in the dimensions of the Y plane
+ */
+extern const uchar __attribute__((overloadable))
+ rsGetElementAtYuv_uchar_V(rs_allocation a, uint32_t x, uint32_t y);
+
#endif // (defined(RS_VERSION) && (RS_VERSION >= 18))
#endif