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

Unified Diff: src/opts/SkNx_neon.h

Issue 2184543003: Perform color correction on png decodes (Closed) Base URL: https://skia.googlesource.com/skia.git@colorjpegs
Patch Set: Created 4 years, 5 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/opts/SkNx_neon.h
diff --git a/src/opts/SkNx_neon.h b/src/opts/SkNx_neon.h
index 53e95eb97fd2394b4108d4d497b33c734051b2ac..8ea1c6f85c0b558c71bbc6e3e58410011b915c5f 100644
--- a/src/opts/SkNx_neon.h
+++ b/src/opts/SkNx_neon.h
@@ -410,6 +410,10 @@ public:
return vbslq_s32(vreinterpretq_u32_s32(fVec), t.fVec, e.fVec);
}
+ SkNx logicalShiftRight(int bits) const {
+ SHIFT32(vshrq_n_u32, vreinterpretq_u32_s32(fVec), bits);
+ }
+
int32x4_t fVec;
};
« no previous file with comments | « src/opts/SkColorXform_opts.h ('k') | src/opts/SkNx_sse.h » ('j') | src/opts/SkOpts_sse41.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698