Commit Graph
308 Commits
Author SHA1 Message Date
Nigel Tao ce8d08598d Add std/bzip2 package
This is just a placeholder decoder implementation.
2022-05-12 23:52:12 +10:00
Nigel Tao 23c9de18c6 Update doc/std/image-decoders.md Metadata for v0.3
Fixes #60
2022-02-06 21:38:41 +11:00
Nigel Tao 94736e2eae Add "API Listing" sections to doc/std 2022-02-06 13:38:21 +11:00
Nigel Tao e4d237df89 Add std/tga to doc/std
Updates #67
2022-02-06 13:30:46 +11:00
Nigel Tao 14f5859311 Prohibit iterate loops inside coroutines 2022-01-25 15:22:56 +11:00
Nigel Tao 4c09c77bb9 Add std/tga package
This is just a placeholder decoder implementation  (and all of the
required plumbing) that produces a 1x1 reddish-purple image. Follow-up
commits will add flesh to the metaphorical bones.

TGA has no magic identifier, so MIME sniffers have to use heuristics.
The test/data/cbor-rfc-7049-examples.cbor file (which is CBOR binary
data, not a TGA image) is mistakenly sniffed as TGA. The /usr/bin/file
program makes the same classification (a false positive).

$ file test/data/cbor-rfc-7049-examples.cbor
test/data/cbor-rfc-7049-examples.cbor: Targa image data - Map 59395 x 26
x 15 +6169 +6500 - 2-bit alpha - interleave "@\033"

Some test/3pdata/tgasuite/*.tga test files, which are invalid TGA
images, are also false positives for now.

Updates #67
2022-01-14 22:53:20 +11:00
Nigel Tao db0a5a4f3a Tweak NIE/NII/NIA recommended MIME types 2022-01-14 16:41:51 +11:00
Nigel Tao 425eefeb35 Replace "go get" advice with "go install"
Fixes #62
2021-12-30 22:58:12 +11:00
Nigel Tao 4e85543d9c Change default -ccompilers to "clang,gcc"
Updates #62
2021-12-30 19:29:44 +11:00
Nigel Tao 8ef4c062d9 Add zlib QUIRK_JUST_RAW_DEFLATE 2021-11-26 23:13:57 +11:00
Nigel Tao a1aa15cacf Update NIE spec's "Updated on $DATE" line 2021-11-25 18:21:27 +11:00
Nigel Tao ae6b366edb Fix NIE spec's obsolete RGBA byte order config 2021-11-25 18:10:30 +11:00
Nigel Tao 9323549eeb Update doc/changelog.md 2021-10-15 16:34:04 +11:00
Nigel Tao 26d9ec41fd Fix some markdown links to /doc/glossary.md 2021-09-04 15:48:25 +10:00
Nigel Tao 97f5bec0e3 Fix doc/spec/rac-related-work.md typo 2021-05-04 13:29:22 +10:00
Nigel Tao 96f097c51f Fix doc/note/assertions.md typo 2021-04-09 00:06:32 +10:00
Nigel Tao 77bbe685bf Update doc/roadmap.md 2021-03-25 23:05:54 +11:00
Nigel Tao a04fda42d6 Update doc/std/image-decoders.md 2021-03-11 23:04:53 +11:00
Nigel Tao 2e0f2a68be Add doc/std/README.md "Modules and Dependencies" 2021-03-11 12:38:58 +11:00
Nigel Tao aae62e407b Fix doc/std/README.md wuffs_base__status typo 2021-03-04 23:42:34 +11:00
Nigel Tao 81ba41e251 Add slice uintptr_low_12_bits method 2021-02-13 17:19:35 +11:00
Nigel Tao 8c4c714ad1 Add 0b prefixed binary numbers 2021-01-28 21:54:06 +11:00
Nigel Tao 2f2bbc6ab0 Rename default github.com branch s/master/main/ 2021-01-25 11:30:15 +11:00
Nigel Tao 2f78804e62 Use more inclusive language 2021-01-23 19:50:47 +11:00
Nigel Tao 414a011491 Add doc/note for WUFFS_BASE__QUIRK_IGNORE_CHECKSUM 2021-01-22 13:23:54 +11:00
Nigel Tao 78da50820e Rename set_ignore_checksum! as a quirk 2021-01-21 22:52:11 +11:00
Nigel Tao 26a7280900 Add slice base.u8 peek/poke methods
wuffs_png_decode_filter_1_sub/clang9  4.59GB/s ± 0%   4.59GB/s ± 0%      ~     (p=0.151 n=5+5)
wuffs_png_decode_filter_1_sub/gcc10   1.85GB/s ± 0%   4.11GB/s ± 0%  +122.24%  (p=0.016 n=5+4)
2021-01-17 23:47:37 +11:00
Nigel Tao a1c22caa15 Rename load and store to peek and poke 2021-01-17 22:44:39 +11:00
Nigel Tao 020b8e6903 Add cpu_arch 2021-01-15 10:26:55 +11:00
Nigel Tao 79b39e14bf Add SIMD
wuffs_pixel_swizzler_bgra_premul_y_src/clang9  1.94GB/s ± 1%  12.08GB/s ± 0%  +521.63%  (p=0.008 n=5+5)
wuffs_pixel_swizzler_bgra_premul_y_src/gcc10   2.92GB/s ± 0%  16.00GB/s ± 0%  +448.86%  (p=0.008 n=5+5)
2021-01-13 15:22:15 +11:00
Nigel Tao a1a70da539 Add iterate advance parameter 2021-01-11 00:03:44 +11:00
Nigel Tao 81c6437e09 Add choosy 2021-01-04 23:20:41 +11:00
Nigel Tao 58c30e9d6d Add std/png 2020-12-24 13:10:29 +11:00
Nigel Tao 1197e86616 Add std/nie 2020-12-23 14:53:56 +11:00
Nigel Tao 9e2beacfb7 Tighten the NIE spec so that sizes fit in an int32 2020-12-22 15:04:59 +11:00
Nigel Tao 53ec09fa9e Tighten the NIE spec to always be in BGRA order 2020-11-16 19:02:45 +11:00
Nigel Tao b3cc3c53ad Tweak logo ears 2020-11-03 15:46:46 +11:00
Nigel Tao e80ab7b13a Add doc/logo 2020-10-26 15:28:37 +11:00
Nigel Tao 65b0b59529 Have hermeticity.md mention thread-local storage 2020-08-28 09:05:52 +10:00
Nigel Tao 6069ebd619 Rename {read,writ}er_io_position 2020-08-27 23:32:53 +10:00
Nigel Tao 378ceb2537 Add bullet points to doc/note/hermeticity.md 2020-08-26 15:48:32 +10:00
Nigel Tao 525d4bcc34 Add hexadecimal limits to doc/note/base38-etc 2020-08-24 00:45:42 +10:00
Nigel Tao 592560e0f1 Upgrade default clang C compiler from v5 to v9 2020-08-21 14:18:26 +10:00
Nigel Tao e2398d580f Add doc/note/hermeticity.md 2020-08-16 23:40:50 +10:00
Nigel Tao be8542e313 Rename I/O available methods to length 2020-08-13 23:26:08 +10:00
Nigel Tao 0b7eaf291b Add example/cbor-to-json 2020-08-09 23:03:42 +10:00
Nigel Tao 9dd8c32683 Re-do doc/note/tokens.md's pjtdf example output 2020-08-07 13:18:53 +10:00
Nigel Tao d7e0133c0b Tweak doc/note/auxiliary-code.md 2020-08-06 09:32:17 +10:00
Nigel Tao 724ce98540 Update some refs to the old aux directory name 2020-08-06 09:17:54 +10:00
Nigel Tao cf8884d44c Rename example/library to example/toy-genlib 2020-08-05 11:55:51 +10:00