Add a gif.decoder buffer for uncompressed data

This commit is contained in:
Nigel Tao committed 2018-05-12 21:50:27 +10:00
1 parent a6bf59006f
commit 2df6ea4b7a
3 files changed
+8

No files matched your search

+4
View File
@@ -50,6 +50,10 @@ pub struct decoder?(
frame_width base.u32[..65535],
frame_height base.u32[..65535],
// TODO: use these fields.
uncompressed_index base.u32[..4096],
uncompressed array[4096] base.u8,
// gct and lct are the Global / Local Color Tables: 256 (R, G, B) entries.
//
// TODO: 4 byte per pixel RGBA or BGRA instead of 3 bpp RGB?