diff options
author | Mattias Andrée <maandree@kth.se> | 2023-01-22 02:04:13 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-01-22 02:04:13 +0100 |
commit | 740c6564095b0089154729f62555fc481a714e51 (patch) | |
tree | cdd492c8c91b0a01e2105aa6f3526077e47fd8e5 | |
parent | Add libglitter_split_uint{64,32}_raster (diff) | |
download | libglitter-740c6564095b0089154729f62555fc481a714e51.tar.gz libglitter-740c6564095b0089154729f62555fc481a714e51.tar.bz2 libglitter-740c6564095b0089154729f62555fc481a714e51.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libglitter.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libglitter.h b/libglitter.h index dfb9e30..7263ec7 100644 --- a/libglitter.h +++ b/libglitter.h @@ -157,12 +157,15 @@ void libglitter_compose_uint8(uint8_t **, const uint8_t *restrict, size_t, size_ size_t, size_t, const LIBGLITTER_RENDER_CONTEXT *); +/* TODO add function for reordering rasters according to the subpixel layout */ + + /** * Splits a `uint64_t` raster into one `uint16_t` raster per channel * * @param rasters Output array for the rasters, they will be in the * order (0) red, (1) green, (2) blue - * @param alphap Output parameter for the alpha mask rasters, or `NULL` + * @param alphap Output parameter for the alpha mask raster, or `NULL` * @param raster The raster that is being split * @param red The value `0xFFFF` shifted such that value * expresses pure red (closest primary colour) @@ -178,7 +181,7 @@ void libglitter_split_uint64_raster(uint16_t *[3], uint16_t **, uint64_t *, uint * * @param rasters Output array for the rasters, they will be in the * order (0) red, (1) green, (2) blue - * @param alphap Output parameter for the alpha mask rasters, or `NULL` + * @param alphap Output parameter for the alpha mask raster, or `NULL` * @param raster The raster that is being split * @param red The value `0xFF` shifted such that value * expresses pure red (closest primary colour) |