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

Unified Diff: src/opts/SkOpts_sse41.cpp

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
« no previous file with comments | « src/opts/SkNx_sse.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/opts/SkOpts_sse41.cpp
diff --git a/src/opts/SkOpts_sse41.cpp b/src/opts/SkOpts_sse41.cpp
index e70cedeb3164ffbce1e0d7331c3edd6ffb281d43..380ebafe21d2255efd8d8f70fbeab98642b32346 100644
--- a/src/opts/SkOpts_sse41.cpp
+++ b/src/opts/SkOpts_sse41.cpp
@@ -21,12 +21,19 @@ namespace SkOpts {
srcover_srgb_srgb = sse41::srcover_srgb_srgb;
blit_row_s32a_opaque = sse41::blit_row_s32a_opaque;
- color_xform_RGB1_to_2dot2 = sse41::color_xform_RGB1_to_2dot2;
- color_xform_RGB1_to_srgb = sse41::color_xform_RGB1_to_srgb;
- color_xform_RGB1_to_table = sse41::color_xform_RGB1_to_table;
- color_xform_RGB1_to_linear = sse41::color_xform_RGB1_to_linear;
- color_xform_RGB1_to_2dot2_swaprb = sse41::color_xform_RGB1_to_2dot2_swaprb;
- color_xform_RGB1_to_srgb_swaprb = sse41::color_xform_RGB1_to_srgb_swaprb;
- color_xform_RGB1_to_table_swaprb = sse41::color_xform_RGB1_to_table_swaprb;
+ color_xform_RGB1_to_2dot2 = sse41::color_xform_RGB1_to_2dot2;
mtklein 2016/07/28 19:35:12 So, all 14 of these routines are really going to b
msarett 2016/07/28 20:39:04 I think these 6 are critical. RGBA->RGBA
msarett 2016/07/29 18:23:01 I wrote a CL that removes the special case for 2Do
mtklein 2016/07/29 18:48:56 Seems like we want to keep all 14 for now.
msarett 2016/07/29 20:07:50 Acknowledged.
+ color_xform_RGB1_to_srgb = sse41::color_xform_RGB1_to_srgb;
+ color_xform_RGB1_to_table = sse41::color_xform_RGB1_to_table;
+ color_xform_RGB1_to_linear = sse41::color_xform_RGB1_to_linear;
+ color_xform_RGB1_to_2dot2_swaprb = sse41::color_xform_RGB1_to_2dot2_swaprb;
+ color_xform_RGB1_to_srgb_swaprb = sse41::color_xform_RGB1_to_srgb_swaprb;
+ color_xform_RGB1_to_table_swaprb = sse41::color_xform_RGB1_to_table_swaprb;
+ color_xform_RGB1_to_2dot2_premul = sse41::color_xform_RGB1_to_2dot2_premul;
+ color_xform_RGB1_to_srgb_premul = sse41::color_xform_RGB1_to_srgb_premul;
+ color_xform_RGB1_to_table_premul = sse41::color_xform_RGB1_to_table_premul;
+ color_xform_RGB1_to_linear_premul = sse41::color_xform_RGB1_to_linear_premul;
+ color_xform_RGB1_to_2dot2_premul_swaprb = sse41::color_xform_RGB1_to_2dot2_premul_swaprb;
+ color_xform_RGB1_to_srgb_premul_swaprb = sse41::color_xform_RGB1_to_srgb_premul_swaprb;
+ color_xform_RGB1_to_table_premul_swaprb = sse41::color_xform_RGB1_to_table_premul_swaprb;
}
}
« no previous file with comments | « src/opts/SkNx_sse.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698