First sketch of reset_for_decode_frame

This commit is contained in:
Nigel Tao committed 2018-08-26 21:18:08 +10:00
1 parent db24a3f010
commit 814507e848
6 files changed
+187 -2

No files matched your search

@@ -736,6 +736,26 @@ wuffs_base__io_writer__set_mark(wuffs_base__io_writer* o, uint8_t* mark) {
return ((wuffs_base__empty_struct){});
}
static inline uint32_t //
wuffs_base__frame_config__rect_x0(wuffs_base__frame_config* c) {
return c ? c->private_impl.bounds.min_incl_x : 0;
}
static inline uint32_t //
wuffs_base__frame_config__rect_y0(wuffs_base__frame_config* c) {
return c ? c->private_impl.bounds.min_incl_y : 0;
}
static inline uint32_t //
wuffs_base__frame_config__rect_x1(wuffs_base__frame_config* c) {
return c ? c->private_impl.bounds.max_excl_x : 0;
}
static inline uint32_t //
wuffs_base__frame_config__rect_y1(wuffs_base__frame_config* c) {
return c ? c->private_impl.bounds.max_excl_y : 0;
}
#ifdef __cplusplus
} // extern "C"
#endif