From 740c6564095b0089154729f62555fc481a714e51 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 22 Jan 2023 02:04:13 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libglitter.h | 7 +++++-- 1 file 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) -- cgit v1.2.3-70-g09d2