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

Unified Diff: include/libyuv/row.h

Issue 2520003004: Add MSA optimized ARGBToRGB565Row_MSA, ARGBToARGB1555Row_MSA, ARGBToARGB4444Row_MSA, ARGBToUV444Row… (Closed)
Patch Set: Clang format 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/convert_from_argb.cc » ('j') | source/row_msa.cc » ('J')
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 8f9bc6cd55f304167744456563439c45acc97b79..7923583f3aac4aeffd9866b6878d89f8a9d06493 100644
--- a/include/libyuv/row.h
+++ b/include/libyuv/row.h
@@ -386,6 +386,10 @@ extern "C" {
#define HAS_I422TORGB24ROW_MSA
#define HAS_ARGBTORGB24ROW_MSA
#define HAS_ARGBTORAWROW_MSA
+#define HAS_ARGBTORGB565ROW_MSA
+#define HAS_ARGBTOARGB1555ROW_MSA
+#define HAS_ARGBTOARGB4444ROW_MSA
+#define HAS_ARGBTOUV444ROW_MSA
#endif
#if defined(_MSC_VER) && !defined(__CLR_VER) && !defined(__clang__)
@@ -714,6 +718,10 @@ void ARGBToUVRow_NEON(const uint8* src_argb,
uint8* dst_u,
uint8* dst_v,
int width);
+void ARGBToUV444Row_MSA(const uint8* src_argb,
+ uint8* dst_u,
+ uint8* dst_v,
+ int width);
void ARGBToUVRow_MSA(const uint8* src_argb,
int src_stride_argb,
uint8* dst_u,
@@ -884,6 +892,10 @@ void ARGBToUVRow_Any_NEON(const uint8* src_argb,
uint8* dst_u,
uint8* dst_v,
int width);
+void ARGBToUV444Row_Any_MSA(const uint8* src_argb,
+ uint8* dst_u,
+ uint8* dst_v,
+ int width);
void ARGBToUVRow_Any_MSA(const uint8* src_argb,
int src_stride_argb,
uint8* dst_u,
@@ -1308,6 +1320,9 @@ void ARGBToRGB565DitherRow_NEON(const uint8* src_argb,
int width);
void ARGBToRGB24Row_MSA(const uint8* src_argb, uint8* dst_rgb, int width);
void ARGBToRAWRow_MSA(const uint8* src_argb, uint8* dst_rgb, int width);
+void ARGBToRGB565Row_MSA(const uint8* src_argb, uint8* dst_rgb, int width);
+void ARGBToARGB1555Row_MSA(const uint8* src_argb, uint8* dst_rgb, int width);
+void ARGBToARGB4444Row_MSA(const uint8* src_argb, uint8* dst_rgb, int width);
void ARGBToRGBARow_C(const uint8* src_argb, uint8* dst_rgb, int width);
void ARGBToRGB24Row_C(const uint8* src_argb, uint8* dst_rgb, int width);
@@ -1898,6 +1913,13 @@ void ARGBToRGB565DitherRow_Any_NEON(const uint8* src_argb,
int width);
void ARGBToRGB24Row_Any_MSA(const uint8* src_argb, uint8* dst_rgb, int width);
void ARGBToRAWRow_Any_MSA(const uint8* src_argb, uint8* dst_rgb, int width);
+void ARGBToRGB565Row_Any_MSA(const uint8* src_argb, uint8* dst_rgb, int width);
+void ARGBToARGB1555Row_Any_MSA(const uint8* src_argb,
+ uint8* dst_rgb,
+ int width);
+void ARGBToARGB4444Row_Any_MSA(const uint8* src_argb,
+ uint8* dst_rgb,
+ int width);
void I444ToARGBRow_Any_NEON(const uint8* src_y,
const uint8* src_u,
« no previous file with comments | « no previous file | source/convert_from_argb.cc » ('j') | source/row_msa.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698