diff options
Diffstat (limited to 'src/lzw.h')
-rw-r--r-- | src/lzw.h | 17 |
1 files changed, 1 insertions, 16 deletions
@@ -77,21 +77,6 @@ lzw_result lzw_decode_init( uint8_t minimum_code_size); /** - * Read a single LZW code and write into lzw context owned output buffer. - * - * Ensure anything in output is used before calling this, as anything - * on the there before this call will be trampled. - * - * \param[in] ctx LZW reading context, updated. - * \param[out] data Returns pointer to array of output values. - * \param[out] used Returns the number of values written to data. - * \return LZW_OK on success, or appropriate error code otherwise. - */ -lzw_result lzw_decode(struct lzw_ctx *ctx, - const uint8_t *restrict *const restrict data, - uint32_t *restrict used); - -/** * Read input codes until end of lzw context owned output buffer. * * Ensure anything in output is used before calling this, as anything @@ -103,7 +88,7 @@ lzw_result lzw_decode(struct lzw_ctx *ctx, * \return LZW_OK on success, or appropriate error code otherwise. */ lzw_result lzw_decode_continuous(struct lzw_ctx *ctx, - const uint8_t ** const data, + const uint8_t *restrict *const restrict data, uint32_t *restrict used); /** |