image-in-browser
Version:
Package for encoding / decoding images, transforming images, applying filters, drawing primitives on images on the client side (no need for server Node.js)
19 lines (18 loc) • 714 B
TypeScript
/** @format */
import { HuffmanCodeList } from './webp-huffman-code-list.js';
/**
* Represents a segment of Huffman tables used in WebP decoding.
* Stores references to Huffman code lists and manages segment chaining.
*/
export declare class HuffmanTablesSegment {
/** Offset of the current segment in the bitstream */
currentOffset: number;
/** Size of the current Huffman tables segment */
size: number;
/** Reference to the starting Huffman code list for this segment */
start?: HuffmanCodeList;
/** Reference to the currently active Huffman code list */
currentTable?: HuffmanCodeList;
/** Reference to the next segment in the chain */
next?: HuffmanTablesSegment;
}