Flutter Engine
The Flutter Engine
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerator
b
c
d
e
f
g
h
k
l
m
n
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
third_party
skia
include
encode
SkICC.h
Go to the documentation of this file.
1
/*
2
* Copyright 2016 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#ifndef SkICC_DEFINED
9
#define SkICC_DEFINED
10
11
#include "
include/core/SkRefCnt.h
"
12
#include "
include/private/base/SkAPI.h
"
13
14
#include <cstdint>
15
16
class
SkData
;
17
struct
skcms_ICCProfile
;
18
struct
skcms_Matrix3x3
;
19
struct
skcms_TransferFunction
;
20
21
SK_API
sk_sp<SkData>
SkWriteICCProfile
(
const
skcms_TransferFunction
&,
22
const
skcms_Matrix3x3
& toXYZD50);
23
24
SK_API
sk_sp<SkData>
SkWriteICCProfile
(
const
skcms_ICCProfile
*,
const
char
* description);
25
26
// Utility function for populating the grid_16 member of skcms_A2B and skcms_B2A
27
// structures. This converts a point in XYZD50 to its representation in grid_16_lab.
28
// It will write 6 bytes. The behavior of this function matches how skcms will decode
29
// values, but might not match the specification, see https://crbug.com/skia/13807.
30
SK_API
void
SkICCFloatXYZD50ToGrid16Lab
(
const
float
* float_xyz, uint8_t* grid16_lab);
31
32
// Utility function for popluating the table_16 member of skcms_Curve structure.
33
// This converts a float to its representation in table_16. It will write 2 bytes.
34
SK_API
void
SkICCFloatToTable16
(
const
float
f
, uint8_t* table_16);
35
36
#endif
//SkICC_DEFINED
SkAPI.h
SK_API
#define SK_API
Definition:
SkAPI.h:35
SkICCFloatToTable16
SK_API void SkICCFloatToTable16(const float f, uint8_t *table_16)
SkICCFloatXYZD50ToGrid16Lab
SK_API void SkICCFloatXYZD50ToGrid16Lab(const float *float_xyz, uint8_t *grid16_lab)
SkWriteICCProfile
SK_API sk_sp< SkData > SkWriteICCProfile(const skcms_TransferFunction &, const skcms_Matrix3x3 &toXYZD50)
Definition:
SkICC.cpp:682
SkRefCnt.h
SkData
Definition:
SkData.h:25
sk_sp< SkData >
skcms_private::f
float f
Definition:
skcms_Transform.h:121
skcms_ICCProfile
Definition:
skcms_public.h:173
skcms_Matrix3x3
Definition:
skcms_public.h:26
skcms_TransferFunction
Definition:
skcms_public.h:46
Generated on Sun Jun 23 2024 21:56:02 for Flutter Engine by
1.9.4