GifDec

object GifDec

Types

Link copied to clipboard
class Entry(var length: Int = 0, var prefix: Int = 0, var suffix: Int = 0)
Link copied to clipboard
class gd_GCE(var delay: Int = 0, var tindex: Int = 0, var disposal: Int = 0, var input: Int = 0, var transparency: Boolean = false)
Link copied to clipboard
class gd_GIF(var fd: SyncStream, var anim_start: Long = 0, var width: Int = 0, var height: Int = 0, var depth: Int = 0, var loop_count: Int = 0, var gce: GifDec.gd_GCE = gd_GCE(), var palette: GifDec.gd_Palette = gd_Palette(), var lct: GifDec.gd_Palette = gd_Palette(), var gct: GifDec.gd_Palette = gd_Palette(), var plain_text: (gif: GifDec.gd_GIF, tx: Int, ty: Int, tw: Int, th: Int, cw: Int, ch: Int, fg: Int, bg: Int) -> Unit? = null, var comment: (gif: GifDec.gd_GIF) -> Unit? = null, var application: (gif: GifDec.gd_GIF, id: ByteArray, auth: ByteArray) -> Unit? = null, var fx: Int = 0, var fy: Int = 0, var fw: Int = 0, var fh: Int = 0, var bgindex: Int = 0, var canvas: RgbaArray = RgbaArray(0), var frame: UByteArray = UByteArray(0))
Link copied to clipboard
class gd_Palette(var size: Int = 0, val colors: RgbaArray = RgbaArray(0x100))
Link copied to clipboard
data class KeyState(var sub_len: Int = 0, var shift: Int = 0, var byte: Int = 0)
Link copied to clipboard
class Table(var bulk: Int = 0, var nentries: Int = 0, var entries: Array<GifDec.Entry> = emptyArray())

Properties

Link copied to clipboard
val SEEK_CUR: Int = 1
Link copied to clipboard
val SEEK_SET: Int = 0

Functions

Link copied to clipboard
fun add_entry(tablep: GifDec.Table, length: Int, prefix: Int, suffix: Int): Int
Link copied to clipboard
fun close(fd: SyncStream)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun free(obj: Any?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun get_key(gif: GifDec.gd_GIF, key_size: Int, s: GifDec.KeyState): Int
Link copied to clipboard
Link copied to clipboard
fun lseek(fd: SyncStream, pos: Long, kind: Int): Long
Link copied to clipboard
fun new_table(key_size: Int): GifDec.Table
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun read_image_data(gif: GifDec.gd_GIF, interlace: Boolean): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard