LZW decompression (implementation)
Decoder for GIF LZW data.
Definition in file lzw.cpp.hpp.
|
| static lzw_result | fl::third_party::lzw__block_advance (struct lzw_read_ctx *ctx) FL_NOEXCEPT |
| | Advance the context to the next sub-block in the input data.
|
| |
| static lzw_result | fl::third_party::lzw__decode (struct lzw_ctx *ctx, lzw_writer_fn write_fn, void *output_data, fl::u32 output_length, fl::u32 *output_written) FL_NOEXCEPT |
| | Get the next LZW code and write its value(s) to output buffer.
|
| |
| static lzw_result | fl::third_party::lzw__handle_clear (struct lzw_ctx *ctx, fl::u16 *code_out) FL_NOEXCEPT |
| | Handle clear code.
|
| |
| static fl::u32 | fl::third_party::lzw__map_write_fn (struct lzw_ctx *ctx, void *output_data, fl::u32 output_length, fl::u32 output_used, fl::u16 code, fl::u16 left) FL_NOEXCEPT |
| | Write colour mapped values for this code to the output.
|
| |
| static lzw_result | fl::third_party::lzw__read_code (struct lzw_read_ctx *ctx, fl::u16 code_size, fl::u16 *code_out) FL_NOEXCEPT |
| | Get the next LZW code of given size from the raw input data.
|
| |
| static void | fl::third_party::lzw__table_add_entry (struct lzw_ctx *ctx, fl::u16 code) FL_NOEXCEPT |
| | Create new table entry.
|
| |
| static fl::u32 | fl::third_party::lzw__write_fn (struct lzw_ctx *ctx, void *output_data, fl::u32 output_length, fl::u32 output_used, fl::u16 code, fl::u16 left) FL_NOEXCEPT |
| | Write values for this code to the output stack.
|
| |
| lzw_result | fl::third_party::lzw_context_create (struct lzw_ctx **ctx) FL_NOEXCEPT |
| | Create an LZW decompression context.
|
| |
| void | fl::third_party::lzw_context_destroy (struct lzw_ctx *ctx) FL_NOEXCEPT |
| | Destroy an LZW decompression context.
|
| |
| lzw_result | fl::third_party::lzw_decode (struct lzw_ctx *ctx, const fl::u8 **const output_data, fl::u32 *output_written) FL_NOEXCEPT |
| | Read input codes until end of LZW context owned output buffer.
|
| |
| lzw_result | fl::third_party::lzw_decode_init (struct lzw_ctx *ctx, fl::u8 minimum_code_size, const fl::u8 *input_data, fl::size input_length, fl::size input_pos) FL_NOEXCEPT |
| | Initialise an LZW decompression context for decoding.
|
| |
| lzw_result | fl::third_party::lzw_decode_init_map (struct lzw_ctx *ctx, fl::u8 minimum_code_size, fl::u32 transparency_idx, const fl::u32 *colour_table, const fl::u8 *input_data, fl::size input_length, fl::size input_pos) FL_NOEXCEPT |
| | Initialise an LZW decompression context for decoding to colour map values.
|
| |
| lzw_result | fl::third_party::lzw_decode_map (struct lzw_ctx *ctx, fl::u32 *output_data, fl::u32 output_length, fl::u32 *output_written) FL_NOEXCEPT |
| | Read LZW codes into client buffer, mapping output to colours.
|
| |