mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 08:38:14 +01:00
First sketch of reset_for_decode_frame
This commit is contained in:
1 parent
db24a3f010
commit
814507e848
6 files changed
+187
-2
No files matched your search
+14
-1
@@ -227,11 +227,23 @@ var Funcs = []string{
|
||||
"status.is_suspension() bool",
|
||||
|
||||
// ---- frame_config
|
||||
|
||||
// Duration's upper bound is the maximum possible i64 value.
|
||||
|
||||
"frame_config.blend() u8",
|
||||
"frame_config.disposal() u8",
|
||||
"frame_config.duration() u64[..0x7FFFFFFFFFFFFFFF]",
|
||||
"frame_config.index() u64",
|
||||
"frame_config.io_position() u64",
|
||||
|
||||
"frame_config.update!(bounds rect_ie_u32, duration u64[..0x7FFFFFFFFFFFFFFF], " +
|
||||
"index u64, io_position u64, blend u8, disposal u8)",
|
||||
|
||||
// TODO: delete these hacks.
|
||||
"frame_config.rect_x0() u32",
|
||||
"frame_config.rect_y0() u32",
|
||||
"frame_config.rect_x1() u32",
|
||||
"frame_config.rect_y1() u32",
|
||||
|
||||
// ---- image_config
|
||||
|
||||
"image_config.initialize!(pixfmt u32, pixsub u32, width u32, height u32, " +
|
||||
@@ -240,6 +252,7 @@ var Funcs = []string{
|
||||
// ---- pixel_buffer
|
||||
|
||||
"pixel_buffer.plane(p u32[..3]) table u8",
|
||||
|
||||
"pixel_buffer.set_palette!(palette slice u8)",
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user