Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: include/libyuv/row.h

Issue 2529983002: Add MSA optimized ARGB Multiply/Add/Subtract row functions (Closed)
Patch Set: Corrected patchset files Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | source/planar_functions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/libyuv/row.h
diff --git a/include/libyuv/row.h b/include/libyuv/row.h
index 7923583f3aac4aeffd9866b6878d89f8a9d06493..16394da02cec9a0e973cbd62ee8c0ce39d7b8f44 100644
--- a/include/libyuv/row.h
+++ b/include/libyuv/row.h
@@ -390,6 +390,9 @@ extern "C" {
#define HAS_ARGBTOARGB1555ROW_MSA
#define HAS_ARGBTOARGB4444ROW_MSA
#define HAS_ARGBTOUV444ROW_MSA
+#define HAS_ARGBMULTIPLYROW_MSA
+#define HAS_ARGBADDROW_MSA
+#define HAS_ARGBSUBTRACTROW_MSA
#endif
#if defined(_MSC_VER) && !defined(__CLR_VER) && !defined(__clang__)
@@ -1809,6 +1812,14 @@ void ARGBMultiplyRow_Any_NEON(const uint8* src_argb,
const uint8* src_argb1,
uint8* dst_argb,
int width);
+void ARGBMultiplyRow_MSA(const uint8* src_argb,
+ const uint8* src_argb1,
+ uint8* dst_argb,
+ int width);
+void ARGBMultiplyRow_Any_MSA(const uint8* src_argb,
+ const uint8* src_argb1,
+ uint8* dst_argb,
+ int width);
// ARGB add images.
void ARGBAddRow_C(const uint8* src_argb,
@@ -1839,6 +1850,14 @@ void ARGBAddRow_Any_NEON(const uint8* src_argb,
const uint8* src_argb1,
uint8* dst_argb,
int width);
+void ARGBAddRow_MSA(const uint8* src_argb,
+ const uint8* src_argb1,
+ uint8* dst_argb,
+ int width);
+void ARGBAddRow_Any_MSA(const uint8* src_argb,
+ const uint8* src_argb1,
+ uint8* dst_argb,
+ int width);
// ARGB subtract images. Same API as Blend, but these require
// pointer and width alignment for SSE2.
@@ -1870,6 +1889,14 @@ void ARGBSubtractRow_Any_NEON(const uint8* src_argb,
const uint8* src_argb1,
uint8* dst_argb,
int width);
+void ARGBSubtractRow_MSA(const uint8* src_argb,
+ const uint8* src_argb1,
+ uint8* dst_argb,
+ int width);
+void ARGBSubtractRow_Any_MSA(const uint8* src_argb,
+ const uint8* src_argb1,
+ uint8* dst_argb,
+ int width);
void ARGBToRGB24Row_Any_SSSE3(const uint8* src_argb, uint8* dst_rgb, int width);
void ARGBToRAWRow_Any_SSSE3(const uint8* src_argb, uint8* dst_rgb, int width);
« no previous file with comments | « no previous file | source/planar_functions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698