Flutter Engine
The Flutter Engine
|
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
Go to the source code of this file.
Classes | |
struct | skcms_Matrix3x3 |
struct | skcms_Matrix3x4 |
struct | skcms_TransferFunction |
union | skcms_Curve |
struct | skcms_A2B |
struct | skcms_B2A |
struct | skcms_CICP |
struct | skcms_ICCProfile |
Macros | |
#define | SKCMS_API |
Typedefs | |
typedef struct skcms_Matrix3x3 | skcms_Matrix3x3 |
typedef struct skcms_Matrix3x4 | skcms_Matrix3x4 |
typedef struct skcms_TransferFunction | skcms_TransferFunction |
typedef enum skcms_TFType | skcms_TFType |
typedef union skcms_Curve | skcms_Curve |
typedef struct skcms_A2B | skcms_A2B |
typedef struct skcms_B2A | skcms_B2A |
typedef struct skcms_CICP | skcms_CICP |
typedef struct skcms_ICCProfile | skcms_ICCProfile |
typedef enum skcms_PixelFormat | skcms_PixelFormat |
typedef enum skcms_AlphaFormat | skcms_AlphaFormat |
#define SKCMS_API |
Definition at line 13 of file skcms_public.h.
typedef enum skcms_AlphaFormat skcms_AlphaFormat |
typedef struct skcms_CICP skcms_CICP |
typedef union skcms_Curve skcms_Curve |
typedef struct skcms_ICCProfile skcms_ICCProfile |
typedef struct skcms_Matrix3x3 skcms_Matrix3x3 |
typedef struct skcms_Matrix3x4 skcms_Matrix3x4 |
typedef enum skcms_PixelFormat skcms_PixelFormat |
typedef enum skcms_TFType skcms_TFType |
typedef struct skcms_TransferFunction skcms_TransferFunction |
anonymous enum |
Enumerator | |
---|---|
skcms_Signature_CMYK | |
skcms_Signature_Gray | |
skcms_Signature_RGB | |
skcms_Signature_Lab | |
skcms_Signature_XYZ |
Definition at line 262 of file skcms_public.h.
enum skcms_AlphaFormat |
Enumerator | |
---|---|
skcms_AlphaFormat_Opaque | |
skcms_AlphaFormat_Unpremul | |
skcms_AlphaFormat_PremulAsEncoded |
Definition at line 336 of file skcms_public.h.
enum skcms_PixelFormat |
Definition at line 273 of file skcms_public.h.
enum skcms_TFType |
Enumerator | |
---|---|
skcms_TFType_Invalid | |
skcms_TFType_sRGBish | |
skcms_TFType_PQish | |
skcms_TFType_HLGish | |
skcms_TFType_HLGinvish |
Definition at line 54 of file skcms_public.h.
SKCMS_API bool skcms_AdaptToXYZD50 | ( | float | wx, |
float | wy, | ||
skcms_Matrix3x3 * | toXYZD50 | ||
) |
Definition at line 1706 of file skcms.cc.
SKCMS_API bool skcms_ApproximateCurve | ( | const skcms_Curve * | curve, |
skcms_TransferFunction * | approx, | ||
float * | max_error | ||
) |
Definition at line 2199 of file skcms.cc.
SKCMS_API bool skcms_ApproximatelyEqualProfiles | ( | const skcms_ICCProfile * | A, |
const skcms_ICCProfile * | B | ||
) |
Definition at line 1621 of file skcms.cc.
SKCMS_API bool skcms_AreApproximateInverses | ( | const skcms_Curve * | curve, |
const skcms_TransferFunction * | inv_tf | ||
) |
SKCMS_API void skcms_DisableRuntimeCPUDetection | ( | void | ) |
SKCMS_API bool skcms_GetCHAD | ( | const skcms_ICCProfile * | profile, |
skcms_Matrix3x3 * | m | ||
) |
Definition at line 396 of file skcms.cc.
SKCMS_API bool skcms_GetWTPT | ( | const skcms_ICCProfile * | profile, |
float | xyz[3] | ||
) |
Definition at line 438 of file skcms.cc.
SKCMS_API const skcms_TransferFunction * skcms_Identity_TransferFunction | ( | void | ) |
|
inlinestatic |
Definition at line 384 of file skcms_public.h.
SKCMS_API bool skcms_MakeUsableAsDestination | ( | skcms_ICCProfile * | profile | ) |
Definition at line 2821 of file skcms.cc.
SKCMS_API bool skcms_MakeUsableAsDestinationWithSingleCurve | ( | skcms_ICCProfile * | profile | ) |
Definition at line 2854 of file skcms.cc.
SKCMS_API skcms_Matrix3x3 skcms_Matrix3x3_concat | ( | const skcms_Matrix3x3 * | A, |
const skcms_Matrix3x3 * | B | ||
) |
SKCMS_API bool skcms_Matrix3x3_invert | ( | const skcms_Matrix3x3 * | src, |
skcms_Matrix3x3 * | dst | ||
) |
Definition at line 1792 of file skcms.cc.
|
inlinestatic |
Definition at line 245 of file skcms_public.h.
SKCMS_API bool skcms_ParseWithA2BPriority | ( | const void * | buf, |
size_t | len, | ||
const int | priority[], | ||
int | priorities, | ||
skcms_ICCProfile * | profile | ||
) |
Definition at line 1241 of file skcms.cc.
SKCMS_API bool skcms_PrimariesToXYZD50 | ( | float | rx, |
float | ry, | ||
float | gx, | ||
float | gy, | ||
float | bx, | ||
float | by, | ||
float | wx, | ||
float | wy, | ||
skcms_Matrix3x3 * | toXYZD50 | ||
) |
Definition at line 1747 of file skcms.cc.
|
inlinestatic |
|
inlinestatic |
Definition at line 399 of file skcms_public.h.
SKCMS_API const skcms_TransferFunction * skcms_sRGB_Inverse_TransferFunction | ( | void | ) |
SKCMS_API const skcms_ICCProfile * skcms_sRGB_profile | ( | void | ) |
Definition at line 1393 of file skcms.cc.
SKCMS_API const skcms_TransferFunction * skcms_sRGB_TransferFunction | ( | void | ) |
SKCMS_API float skcms_TransferFunction_eval | ( | const skcms_TransferFunction * | tf, |
float | x | ||
) |
Definition at line 212 of file skcms.cc.
SKCMS_API skcms_TFType skcms_TransferFunction_getType | ( | const skcms_TransferFunction * | tf | ) |
SKCMS_API bool skcms_TransferFunction_invert | ( | const skcms_TransferFunction * | src, |
skcms_TransferFunction * | dst | ||
) |
Definition at line 1863 of file skcms.cc.
SKCMS_API bool skcms_TransferFunction_isHLGish | ( | const skcms_TransferFunction * | tf | ) |
SKCMS_API bool skcms_TransferFunction_isPQish | ( | const skcms_TransferFunction * | tf | ) |
SKCMS_API bool skcms_TransferFunction_isSRGBish | ( | const skcms_TransferFunction * | tf | ) |
|
inlinestatic |
Definition at line 95 of file skcms_public.h.
|
inlinestatic |
Definition at line 83 of file skcms_public.h.
|
inlinestatic |
Definition at line 90 of file skcms_public.h.
SKCMS_API bool skcms_TransferFunction_makePQish | ( | skcms_TransferFunction * | tf, |
float | A, | ||
float | B, | ||
float | C, | ||
float | D, | ||
float | E, | ||
float | F | ||
) |
Definition at line 196 of file skcms.cc.
SKCMS_API bool skcms_TransferFunction_makeScaledHLGish | ( | skcms_TransferFunction * | tf, |
float | K, | ||
float | R, | ||
float | G, | ||
float | a, | ||
float | b, | ||
float | c | ||
) |
Definition at line 204 of file skcms.cc.
SKCMS_API bool skcms_Transform | ( | const void * | src, |
skcms_PixelFormat | srcFmt, | ||
skcms_AlphaFormat | srcAlpha, | ||
const skcms_ICCProfile * | srcProfile, | ||
void * | dst, | ||
skcms_PixelFormat | dstFmt, | ||
skcms_AlphaFormat | dstAlpha, | ||
const skcms_ICCProfile * | dstProfile, | ||
size_t | npixels | ||
) |
Definition at line 2495 of file skcms.cc.
SKCMS_API bool skcms_TRCs_AreApproximateInverse | ( | const skcms_ICCProfile * | profile, |
const skcms_TransferFunction * | inv_tf | ||
) |
Definition at line 1679 of file skcms.cc.
SKCMS_API const skcms_ICCProfile * skcms_XYZD50_profile | ( | void | ) |
Definition at line 1490 of file skcms.cc.