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

Side by Side Diff: src/core/SkOpts.h

Issue 2184543003: Perform color correction on png decodes (Closed) Base URL: https://skia.googlesource.com/skia.git@colorjpegs
Patch Set: Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkOpts_DEFINED 8 #ifndef SkOpts_DEFINED
9 #define SkOpts_DEFINED 9 #define SkOpts_DEFINED
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 extern void (*color_xform_RGB1_to_2dot2_swaprb) (uint32_t* dst, const uint32 _t* src, int len, 83 extern void (*color_xform_RGB1_to_2dot2_swaprb) (uint32_t* dst, const uint32 _t* src, int len,
84 const float* const srcTable s[3], 84 const float* const srcTable s[3],
85 const float srcToDstMatrix[ 16]); 85 const float srcToDstMatrix[ 16]);
86 extern void (*color_xform_RGB1_to_srgb_swaprb)(uint32_t* dst, const uint32_t * src, int len, 86 extern void (*color_xform_RGB1_to_srgb_swaprb)(uint32_t* dst, const uint32_t * src, int len,
87 const float* const srcTables[ 3], 87 const float* const srcTables[ 3],
88 const float srcToDstMatrix[16 ]); 88 const float srcToDstMatrix[16 ]);
89 extern void (*color_xform_RGB1_to_table_swaprb)(uint32_t* dst, const uint32_ t* src, int len, 89 extern void (*color_xform_RGB1_to_table_swaprb)(uint32_t* dst, const uint32_ t* src, int len,
90 const float* const srcTables [3], 90 const float* const srcTables [3],
91 const float srcToDstMatrix[1 6], 91 const float srcToDstMatrix[1 6],
92 const uint8_t* const dstTabl es[3]); 92 const uint8_t* const dstTabl es[3]);
93 extern void (*color_xform_RGB1_to_2dot2_premul) (uint32_t* dst, const uint32 _t* src, int len,
94 const float* const srcTable s[3],
95 const float srcToDstMatrix[ 16]);
96 extern void (*color_xform_RGB1_to_srgb_premul)(uint32_t* dst, const uint32_t * src, int len,
97 const float* const srcTables[ 3],
98 const float srcToDstMatrix[16 ]);
99 extern void (*color_xform_RGB1_to_table_premul)(uint32_t* dst, const uint32_ t* src, int len,
100 const float* const srcTables [3],
101 const float srcToDstMatrix[1 6],
102 const uint8_t* const dstTabl es[3]);
103 extern void (*color_xform_RGB1_to_linear_premul)(uint64_t* dst, const uint32 _t* src, int len,
104 const float* const srcTable s[3],
105 const float srcToDstMatrix[ 16]);
106 extern void (*color_xform_RGB1_to_2dot2_premul_swaprb) (uint32_t* dst, const uint32_t* src,
107 int len,
108 const float* const s rcTables[3],
109 const float srcToDst Matrix[16]);
110 extern void (*color_xform_RGB1_to_srgb_premul_swaprb)(uint32_t* dst, const u int32_t* src,
111 int len, const float* const srcTables[3],
112 const float srcToDstMa trix[16]);
113 extern void (*color_xform_RGB1_to_table_premul_swaprb)(uint32_t* dst, const uint32_t* src,
114 int len, const float* const srcTables[3],
115 const float srcToDstM atrix[16],
116 const uint8_t* const dstTables[3]);
93 } 117 }
94 118
95 #endif//SkOpts_DEFINED 119 #endif//SkOpts_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkNx.h ('k') | src/core/SkOpts.cpp » ('j') | src/opts/SkOpts_sse41.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698