summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2023-01-01 18:06:08 +0000
committerMichael Drake <mdrake.unique@gmail.com>2023-01-01 18:08:03 +0000
commitfbe9f636b08d86bc10427283e35d60d2900aa5cc (patch)
tree42aa880b464b848b8dd5133d2f71453964973555 /src
parentd4e69fcebd776233c42ef044230ce3b5b83e61de (diff)
downloadlibnsgif-fbe9f636b08d86bc10427283e35d60d2900aa5cc.tar.gz
libnsgif-fbe9f636b08d86bc10427283e35d60d2900aa5cc.tar.bz2
docs: Various doxygen comment fixes
Diffstat (limited to 'src')
-rw-r--r--src/gif.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/gif.c b/src/gif.c
index 688fe12..44c60a9 100644
--- a/src/gif.c
+++ b/src/gif.c
@@ -1068,7 +1068,7 @@ static nsgif_error nsgif__parse_image_descriptor(
* \param[in] colour_table The colour table to populate.
* \param[in] layout la.
* \param[in] colour_table_entries The number of colour table entries.
- * \param[in] Data Raw colour table data.
+ * \param[in] data Raw colour table data.
*/
static void nsgif__colour_table_decode(
uint32_t colour_table[NSGIF_MAX_COLOURS],
@@ -1097,11 +1097,13 @@ static void nsgif__colour_table_decode(
/**
* Extract a GIF colour table into a LibNSGIF colour table buffer.
*
- * \param[in] gif The gif object we're decoding.
- * \param[in] colour_table The colour table to populate.
- * \param[in] colour_table_entries The number of colour table entries.
- * \param[in] pos Current position in data, updated on exit.
- * \param[in] decode Whether to decode the colour table.
+ * \param[in] colour_table The colour table to populate.
+ * \param[in] layout The target pixel format to decode to.
+ * \param[in] colour_table_entries The number of colour table entries.
+ * \param[in] data Current position in data.
+ * \param[in] data_len The available length of `data`.
+ * \param[out] used Number of colour table bytes read.
+ * \param[in] decode Whether to decode the colour table.
* \return NSGIF_OK on success, appropriate error otherwise.
*/
static inline nsgif_error nsgif__colour_table_extract(