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

Unified Diff: src/core/SkOpts.h

Issue 1680743005: NEON Optimized RGBA->PMColor sampling in SkSwizzler (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Adding NEON implementations Created 4 years, 10 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
Index: src/core/SkOpts.h
diff --git a/src/core/SkOpts.h b/src/core/SkOpts.h
index 2e8778e1a1bf63bb2bb4c4bb6ac4ba60ff197002..31665683863d97b118a9da0cccfb160665943d6c 100644
--- a/src/core/SkOpts.h
+++ b/src/core/SkOpts.h
@@ -66,7 +66,13 @@ namespace SkOpts {
grayA_to_RGBA, // i.e. expand to color channels
grayA_to_rgbA, // i.e. expand to color channels and premultiply
inverted_CMYK_to_RGB1, // i.e. convert color space
- inverted_CMYK_to_BGR1; // i.e. convert color space
+ inverted_CMYK_to_BGR1, // i.e. convert color space
+ RGBA_to_rgbA_sample2, // i.e. premultiply, keep every 2nd other pixel
+ RGBA_to_bgrA_sample2, // i.e. premultiply, swap RB, keep every 2nd pixel
+ RGBA_to_rgbA_sample4, // i.e. premultiply, keep every 4th other pixel
+ RGBA_to_bgrA_sample4, // i.e. premultiply, swap RB, keep every 4th pixel
+ RGBA_to_rgbA_sample8, // i.e. premultiply, keep every 8th other pixel
+ RGBA_to_bgrA_sample8; // i.e. premultiply, swap RB, keep every 8th pixel
}
#endif//SkOpts_DEFINED
« src/codec/SkSwizzler.cpp ('K') | « src/codec/SkSwizzler.cpp ('k') | src/core/SkOpts.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698