mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 16:32:11 +01:00
Remove status values
This commit is contained in:
1 parent
44e99d79cf
commit
203b45e869
13 files changed
+61
-146
No files matched your search
@@ -14,25 +14,25 @@
|
||||
|
||||
packageid "dflt"
|
||||
|
||||
pub error (0x01) "?bad Huffman code (over-subscribed)"
|
||||
pub error (0x02) "?bad Huffman code (under-subscribed)"
|
||||
pub error (0x03) "?bad Huffman code length count"
|
||||
pub error (0x04) "?bad Huffman code length repetition"
|
||||
pub error (0x05) "?bad Huffman code"
|
||||
pub error (0x06) "?bad Huffman minimum code length"
|
||||
pub error (0x07) "?bad block"
|
||||
pub error (0x08) "?bad distance"
|
||||
pub error (0x09) "?bad distance code count"
|
||||
pub error (0x0A) "?bad literal/length code count"
|
||||
pub error (0x0B) "?inconsistent stored block length"
|
||||
pub error (0x0C) "?missing end-of-block code"
|
||||
pub error (0x0D) "?no Huffman codes"
|
||||
pub status "?bad Huffman code (over-subscribed)"
|
||||
pub status "?bad Huffman code (under-subscribed)"
|
||||
pub status "?bad Huffman code length count"
|
||||
pub status "?bad Huffman code length repetition"
|
||||
pub status "?bad Huffman code"
|
||||
pub status "?bad Huffman minimum code length"
|
||||
pub status "?bad block"
|
||||
pub status "?bad distance"
|
||||
pub status "?bad distance code count"
|
||||
pub status "?bad literal/length code count"
|
||||
pub status "?inconsistent stored block length"
|
||||
pub status "?missing end-of-block code"
|
||||
pub status "?no Huffman codes"
|
||||
|
||||
pri error (0x40) "?internal error: inconsistent Huffman decoder state"
|
||||
pri error (0x41) "?internal error: inconsistent Huffman end_of_block"
|
||||
pub error (0x42) "?internal error: inconsistent I/O"
|
||||
pri error (0x43) "?internal error: inconsistent distance"
|
||||
pri error (0x44) "?internal error: inconsistent n_bits"
|
||||
pri status "?internal error: inconsistent Huffman decoder state"
|
||||
pri status "?internal error: inconsistent Huffman end_of_block"
|
||||
pri status "?internal error: inconsistent I/O"
|
||||
pri status "?internal error: inconsistent distance"
|
||||
pri status "?internal error: inconsistent n_bits"
|
||||
|
||||
// The next two tables were created by script/print-deflate-magic-numbers.go.
|
||||
//
|
||||
|
||||
@@ -16,15 +16,15 @@ packageid "gif "
|
||||
|
||||
use "std/lzw"
|
||||
|
||||
pub error (0x01) "?bad block"
|
||||
pub error (0x02) "?bad extension label"
|
||||
pub error (0x03) "?bad graphic control"
|
||||
pub error (0x04) "?bad header"
|
||||
pub error (0x05) "?bad literal width"
|
||||
pub error (0x06) "?not enough pixel data"
|
||||
pub error (0x07) "?too much pixel data"
|
||||
pub status "?bad block"
|
||||
pub status "?bad extension label"
|
||||
pub status "?bad graphic control"
|
||||
pub status "?bad header"
|
||||
pub status "?bad literal width"
|
||||
pub status "?not enough pixel data"
|
||||
pub status "?too much pixel data"
|
||||
|
||||
pri error (0x40) "?internal error: inconsistent ri/wi"
|
||||
pri status "?internal error: inconsistent ri/wi"
|
||||
|
||||
// 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
|
||||
|
||||
@@ -17,10 +17,10 @@ packageid "gzip"
|
||||
use "std/crc32"
|
||||
use "std/deflate"
|
||||
|
||||
pub error (0x01) "?bad checksum"
|
||||
pub error (0x02) "?bad compression method"
|
||||
pub error (0x03) "?bad encoding flags"
|
||||
pub error (0x04) "?bad header"
|
||||
pub status "?bad checksum"
|
||||
pub status "?bad compression method"
|
||||
pub status "?bad encoding flags"
|
||||
pub status "?bad header"
|
||||
|
||||
pub struct decoder?(
|
||||
flate deflate.decoder,
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
|
||||
packageid "lzw "
|
||||
|
||||
pub error (0x01) "?bad code"
|
||||
pub error (0x02) "?cyclical prefix chain"
|
||||
pub status "?bad code"
|
||||
pub status "?cyclical prefix chain"
|
||||
|
||||
pub struct decoder?(
|
||||
literal_width base.u32[..8],
|
||||
|
||||
@@ -17,12 +17,12 @@ packageid "zlib"
|
||||
use "std/adler32"
|
||||
use "std/deflate"
|
||||
|
||||
pub error (0x01) "?bad checksum"
|
||||
pub error (0x02) "?bad compression method"
|
||||
pub error (0x03) "?bad compression window size"
|
||||
pub error (0x04) "?bad parity check"
|
||||
pub status "?bad checksum"
|
||||
pub status "?bad compression method"
|
||||
pub status "?bad compression window size"
|
||||
pub status "?bad parity check"
|
||||
|
||||
pri error (0x40) "?TODO: unsupported preset dictionary"
|
||||
pri status "?TODO: unsupported preset dictionary"
|
||||
|
||||
pub struct decoder?(
|
||||
flate deflate.decoder,
|
||||
|
||||
Reference in new issue
Block a user