diff options
Diffstat (limited to 'src/jumper')
-rw-r--r-- | src/jumper/SkJumper.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/jumper/SkJumper.h b/src/jumper/SkJumper.h index a826c5a412..d4c4698048 100644 --- a/src/jumper/SkJumper.h +++ b/src/jumper/SkJumper.h @@ -61,6 +61,21 @@ struct SkJumper_CallbackCtx { float* read_from = rgba; }; +struct SkJumper_LoadTablesCtx { + const void* src; + const float *r, *g, *b; +}; + +struct SkJumper_TableCtx { + const float* table; + int size; +}; + +struct SkJumper_ByteTablesRGBCtx { + const uint8_t *r, *g, *b; + int n; +}; + // This should line up with the memory layout of SkColorSpaceTransferFn. struct SkJumper_ParametricTransferFunction { float G, A,B,C,D,E,F; @@ -84,4 +99,9 @@ struct SkJumper_UniformColorCtx { uint16_t rgba[4]; // [0,255] in a 16-bit lane. }; +struct SkJumper_ColorLookupTableCtx { + const float* table; + int limits[4]; +}; + #endif//SkJumper_DEFINED |