FastLED 3.9.15
Loading...
Searching...
No Matches
lzw.h File Reference

Detailed Description

LZW decompression (interface)

Decoder for GIF LZW data.

Definition in file lzw.h.

#include "fl/stl/int.h"
#include "fl/stl/noexcept.h"
+ Include dependency graph for lzw.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fl
 Base definition for an LED controller.
 
namespace  fl::third_party
 

Macros

#define LZW_CODE_MAX   12
 Maximum LZW code size in bits.
 

Typedefs

typedef enum fl::third_party::lzw_result fl::third_party::lzw_result
 LZW decoding response codes.
 

Enumerations

enum  fl::third_party::lzw_result {
  fl::third_party::LZW_OK , fl::third_party::LZW_OK_EOD , fl::third_party::LZW_NO_MEM , fl::third_party::LZW_NO_DATA ,
  fl::third_party::LZW_EOI_CODE , fl::third_party::LZW_NO_COLOUR , fl::third_party::LZW_BAD_ICODE , fl::third_party::LZW_BAD_PARAM ,
  fl::third_party::LZW_BAD_CODE
}
 LZW decoding response codes. More...
 

Functions

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.