#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
◆ ARRAY_COUNT
#define ARRAY_COUNT |
( |
|
arr | ) |
(int)(sizeof((arr)) / sizeof(*(arr))) |
◆ SAFE_FIXED_SIZE
#define SAFE_FIXED_SIZE |
( |
|
type | ) |
((uint64_t)offsetof(type, variable)) |
◆ SAFE_SIZEOF
#define SAFE_SIZEOF |
( |
|
x | ) |
((uint64_t)sizeof(x)) |
◆ SKCMS_DISABLE_HSW
#define SKCMS_DISABLE_HSW 1 |
◆ SKCMS_DISABLE_SKX
#define SKCMS_DISABLE_SKX 1 |
◆ SKCMS_FALLTHROUGH
#define SKCMS_FALLTHROUGH |
◆ SKCMS_HAS_MUSTTAIL
#define SKCMS_HAS_MUSTTAIL 0 |
◆ SKCMS_MAYBE_UNUSED
#define SKCMS_MAYBE_UNUSED |
◆ SKCMS_PORTABLE
◆ skcms_Curve
◆ skcms_ICCProfile
◆ skcms_ICCTag
◆ skcms_TransferFunction
◆ fabsf_()
static float fabsf_ |
( |
float |
x | ) |
|
|
inlinestatic |
◆ floorf_()
static float floorf_ |
( |
float |
x | ) |
|
|
inlinestatic |
Definition at line 129 of file skcms_internals.h.
129 {
130 float roundtrip = (
float)((
int)
x);
131 return roundtrip >
x ? roundtrip - 1 : roundtrip;
132}
◆ powf_()
float powf_ |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
Definition at line 93 of file skcms.cc.
93 {
95 return 0.f;
96 }
98 return 1.f;
99 }
101}
static float log2f_(float x)
static float exp2f_(float x)
◆ skcms_GetTagByIndex()
Definition at line 1211 of file skcms.cc.
1211 {
1213 if (idx >
profile->tag_count) {
return; }
1219}
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
static uint32_t read_big_u32(const uint8_t *ptr)
static const tag_Layout * get_tag_table(const skcms_ICCProfile *profile)
◆ skcms_GetTagBySignature()
Definition at line 1221 of file skcms.cc.
1221 {
1224 for (uint32_t
i = 0;
i <
profile->tag_count; ++
i) {
1230 return true;
1231 }
1232 }
1233 return false;
1234}
◆ skcms_MaxRoundtripError()
Definition at line 273 of file skcms.cc.
273 {
275 const float dx = 1.0f /
static_cast<float>(
N - 1);
276 float err = 0;
277 for (uint32_t
i = 0;
i <
N;
i++) {
278 float x =
static_cast<float>(
i) *
dx,
281 }
282 return err;
283}
skia_private::AutoTArray< sk_sp< SkImageFilter > > filters TypedMatrix matrix TypedMatrix matrix SkScalar dx
static float eval_curve(const skcms_Curve *curve, float x)
float skcms_TransferFunction_eval(const skcms_TransferFunction *tf, float x)
static float fmaxf_(float x, float y)
static float fabsf_(float x)
◆ skcms_252_random_bytes
const uint8_t skcms_252_random_bytes[252] |
|
extern |