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

Unified Diff: src/opts/SkFontHost_FreeType_common_opts_neon.h

Issue 892453002: neon code for bgra to rgba conversion for copyFTBitmap Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Added handling of SkPMColor formats and updated variable type and formatting Created 5 years, 11 months 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 | « gyp/ports.gyp ('k') | src/opts/SkFontHost_FreeType_common_opts_neon.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/opts/SkFontHost_FreeType_common_opts_neon.h
diff --git a/src/opts/SkFontHost_FreeType_common_opts_neon.h b/src/opts/SkFontHost_FreeType_common_opts_neon.h
new file mode 100644
index 0000000000000000000000000000000000000000..fc78b656ce9c7bd929dcc5e1dbada8b336d0db31
--- /dev/null
+++ b/src/opts/SkFontHost_FreeType_common_opts_neon.h
@@ -0,0 +1,7 @@
+
+/**
+ * convert pixel format to SkPMColor when src format is FT_PIXEL_MODE_BGRA
+ * src: FT_Bitmap.buffer
+ */
+void SkPackARGB32_neon(const uint32_t* src, SkPMColor* dst, int height, int width,
+ size_t dstRowBytes, size_t srcRowBytes);
« no previous file with comments | « gyp/ports.gyp ('k') | src/opts/SkFontHost_FreeType_common_opts_neon.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698