mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 08:47:28 +01:00
Rename max_incl_workbuf_len constants
This commit is contained in:
1 parent
5f7c807729
commit
de5b64a846
9 files changed
+26
-26
No files matched your search
@@ -31,7 +31,7 @@ pri status "?internal error: inconsistent I/O"
|
||||
pri status "?internal error: inconsistent distance"
|
||||
pri status "?internal error: inconsistent n_bits"
|
||||
|
||||
pub const max_incl_workbuf_len base.u64 = 32768 + 512
|
||||
pub const decoder_workbuf_len_max_incl base.u64 = 32768 + 512
|
||||
|
||||
// The next two tables were created by script/print-deflate-magic-numbers.go.
|
||||
//
|
||||
|
||||
@@ -24,8 +24,8 @@ pub status "?too much pixel data"
|
||||
|
||||
pri status "?internal error: inconsistent ri/wi"
|
||||
|
||||
// TODO: reference lzw.max_incl_workbuf_len.
|
||||
pub const max_incl_workbuf_len base.u64 = 0xFFFF
|
||||
// TODO: reference lzw.decoder_workbuf_len_max_incl.
|
||||
pub const decoder_workbuf_len_max_incl base.u64 = 0xFFFF
|
||||
|
||||
// See the spec appendix E "Interlaced Images" on page 29. The first element
|
||||
// represents either that the frame was non-interlaced, or that all interlace
|
||||
|
||||
@@ -20,8 +20,8 @@ pub status "?bad compression method"
|
||||
pub status "?bad encoding flags"
|
||||
pub status "?bad header"
|
||||
|
||||
// TODO: reference deflate.max_incl_workbuf_len.
|
||||
pub const max_incl_workbuf_len base.u64 = 32768 + 512
|
||||
// TODO: reference deflate.decoder_workbuf_len_max_incl.
|
||||
pub const decoder_workbuf_len_max_incl base.u64 = 32768 + 512
|
||||
|
||||
pub struct decoder?(
|
||||
flate deflate.decoder,
|
||||
|
||||
@@ -18,7 +18,7 @@ pri status "?internal error: inconsistent I/O"
|
||||
|
||||
// TODO: move bulk data buffers like decoder.suffixes or decoder.output into
|
||||
// the workbuf?
|
||||
pub const max_incl_workbuf_len base.u64 = 0
|
||||
pub const decoder_workbuf_len_max_incl base.u64 = 0
|
||||
|
||||
pub struct decoder?(
|
||||
// The value passed to set_literal_width. This lw field is copied to the
|
||||
|
||||
@@ -22,8 +22,8 @@ pub status "?bad parity check"
|
||||
|
||||
pri status "?TODO: unsupported preset dictionary"
|
||||
|
||||
// TODO: reference deflate.max_incl_workbuf_len.
|
||||
pub const max_incl_workbuf_len base.u64 = 32768 + 512
|
||||
// TODO: reference deflate.decoder_workbuf_len_max_incl.
|
||||
pub const decoder_workbuf_len_max_incl base.u64 = 32768 + 512
|
||||
|
||||
pub struct decoder?(
|
||||
flate deflate.decoder,
|
||||
|
||||
Reference in new issue
Block a user