76 LPBITMAPINFOHEADER p_bitmapHeader,
80 BYTE* p_decodedColorMap
typedef DWORD(FAR PASCAL *LPCLIPPERCALLBACK)(LPDIRECTDRAWCLIPPER lpDDClipper
FLI_CHUNK_TYPE
[AI] Enumerates the chunk types used in the FLIC animation file format.
@ FLI_CHUNK_FRAME
Marks the start of a FLIC animation frame. [AI].
@ FLI_CHUNK_COPY
No compression; raw pixel data for the frame. [AI].
@ FLI_CHUNK_COLOR64
64-level color palette info. Updates only 64 palette entries. [AI]
@ FLI_CHUNK_BLACK
Entire frame is filled with color index 0 (black). [AI].
@ FLI_CHUNK_LC
Byte-oriented delta compression. Encodes lines with byte-level difference encoding....
@ FLI_CHUNK_SS2
Word-oriented delta compression. Efficient for lines with word-aligned runs or minimal pixel changes....
@ FLI_CHUNK_PSTAMP
Postage stamp sized image for previews/thumbnails. [AI].
@ FLI_CHUNK_BRUN
Byte run-length compression. Lossless RLE for frame data. [AI].
@ FLI_CHUNK_COLOR256
256-level color palette info. Updates the color lookup table with 256 entries. [AI]
void DecodeFLCFrame(LPBITMAPINFOHEADER p_bitmapHeader, BYTE *p_pixelData, FLIC_HEADER *p_flcHeader, FLIC_FRAME *p_flcFrame, BYTE *p_decodedColorMap)
[AI] Decodes a single FLIC (FLI/FLC) animation frame and updates the pixel data and palette.
[AI] Represents a generic chunk header in a FLIC animation file.
DWORD size
[AI] Total size of the chunk in bytes, including the header and payload/subchunks.
WORD type
[AI] Chunk type identifier (see FLI_CHUNK_TYPE).
[AI] Structure describing the header of a FLIC animation frame, used to organize frame subchunks and ...
WORD reserved
[AI] Reserved, always zero; for alignment or future use. [AI]
WORD height
[AI] Frame height override (if non-zero, overrides main animation height for this frame)....
WORD delay
[AI] Delay before displaying this frame, in milliseconds. [AI]
WORD chunks
[AI] Number of subchunks that compose this animation frame (palette/image/compression chunks)....
WORD width
[AI] Frame width override (if non-zero, overrides main animation width for this frame)....