Module flic::ffi [] [src]

Foreign function interface.

Structs

CRaster

Dummy opaque structure, equivalent to Raster<'a>.

CRasterMut

Dummy opaque structure, equivalent to RasterMut<'a>.

Functions

flicrs_apply_pstamp_xlat256

Apply the translation table to the pixels in the raster.

flicrs_aspect_x

Get the x-axis aspect ratio.

flicrs_aspect_y

Get the y-axis aspect ratio.

flicrs_close

Close a FLIC file.

flicrs_creation_time

Get the FLIC creation time.

flicrs_creator

Get the FLIC creator.

flicrs_decode_fli_black

Decode a FLI_BLACK chunk.

flicrs_decode_fli_brun

Decode a FLI_BRUN chunk.

flicrs_decode_fli_color64

Decode a FLI_COLOR64 chunk.

flicrs_decode_fli_color256

Decode a FLI_COLOR256 chunk.

flicrs_decode_fli_copy

Decode a FLI_COPY chunk.

flicrs_decode_fli_icolors

Decode a FLI_ICOLORS chunk.

flicrs_decode_fli_lc

Decode a FLI_LC chunk.

flicrs_decode_fli_sbsrsc

Decode a FLI_SBSRSC chunk.

flicrs_decode_fli_ss2

Decode a FLI_SS2 chunk.

flicrs_decode_fli_wrun

Decode a FLI_WRUN chunk.

flicrs_decode_fps_brun

Decode a FPS_BRUN chunk.

flicrs_decode_fps_copy

Decode a FPS_COPY chunk.

flicrs_encode_fli_brun

Encode a FLI_BRUN chunk.

flicrs_encode_fli_color64

Encode a FLI_COLOR64 chunk.

flicrs_encode_fli_color256

Encode a FLI_COLOR256 chunk.

flicrs_encode_fli_copy

Encode a FLI_COPY chunk.

flicrs_encode_fli_lc

Encode a FLI_LC chunk.

flicrs_encode_fli_ss2

Encode a FLI_SS2 chunk.

flicrs_frame

Get the next frame number.

flicrs_frame_count

Get the frame count, not including the ring frame.

flicrs_height

Get the FLIC height.

flicrs_make_pstamp_pal

Create the postage stamp's six-cube palette.

flicrs_make_pstamp_xlat256

Create a translation table to map the palette into the postage stamp's six-cube palette.

flicrs_open

Open a FLIC file.

flicrs_raster_alloc

Allocate a new raster.

flicrs_raster_free

Free a previously allocated raster.

flicrs_raster_mut_alloc

Allocate a new raster.

flicrs_raster_mut_free

Free a previously allocated raster.

flicrs_read_next_frame

Decode the next frame in the FLIC.

flicrs_speed_jiffies

Number of jiffies to delay between each frame during playback.

flicrs_speed_msec

Number of milliseconds to delay between each frame during playback.

flicrs_update_time

Get the most recent update time.

flicrs_updater

Get the most recent updater.

flicrs_width

Get the FLIC width.