OLD | NEW |
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 extern void (*color_xform_RGB1_to_srgb)(uint32_t* dst, const uint32_t* src,
int len, | 73 extern void (*color_xform_RGB1_to_srgb)(uint32_t* dst, const uint32_t* src,
int len, |
74 const float* const srcTables[3], | 74 const float* const srcTables[3], |
75 const float srcToDstMatrix[16]); | 75 const float srcToDstMatrix[16]); |
76 extern void (*color_xform_RGB1_to_table)(uint32_t* dst, const uint32_t* src,
int len, | 76 extern void (*color_xform_RGB1_to_table)(uint32_t* dst, const uint32_t* src,
int len, |
77 const float* const srcTables[3], | 77 const float* const srcTables[3], |
78 const float srcToDstMatrix[16], | 78 const float srcToDstMatrix[16], |
79 const uint8_t* const dstTables[3]); | 79 const uint8_t* const dstTables[3]); |
80 extern void (*color_xform_RGB1_to_linear)(uint64_t* dst, const uint32_t* src
, int len, | 80 extern void (*color_xform_RGB1_to_linear)(uint64_t* dst, const uint32_t* src
, int len, |
81 const float* const srcTables[3], | 81 const float* const srcTables[3], |
82 const float srcToDstMatrix[16]); | 82 const float srcToDstMatrix[16]); |
83 extern void (*color_xform_RGB1_to_2dot2_swaprb) (uint32_t* dst, const uint32
_t* src, int len, | 83 |
84 const float* const srcTable
s[3], | |
85 const float srcToDstMatrix[
16]); | |
86 extern void (*color_xform_RGB1_to_srgb_swaprb)(uint32_t* dst, const uint32_t
* src, int len, | |
87 const float* const srcTables[
3], | |
88 const float srcToDstMatrix[16
]); | |
89 extern void (*color_xform_RGB1_to_table_swaprb)(uint32_t* dst, const uint32_
t* src, int len, | |
90 const float* const srcTables
[3], | |
91 const float srcToDstMatrix[1
6], | |
92 const uint8_t* const dstTabl
es[3]); | |
93 } | 84 } |
94 | 85 |
95 #endif//SkOpts_DEFINED | 86 #endif//SkOpts_DEFINED |
OLD | NEW |