Alex Bakon
189f4b824d
Upgrade some dependencies
test / format-check (push) Has been cancelled
test / build-and-test (push) Has been cancelled
test / fuzz-afl (push) Has been cancelled
test / fuzz-libfuzzer (push) Has been cancelled
test / check-nightly (push) Has been cancelled
2025-03-11 13:45:48 -04:00
Alex Bakon
79703a59cd
Centralize dependency versions ( #27 )
2025-03-10 17:20:11 -04:00
Alex Bakon
339be16385
Bump MSRV to 1.66 ( #28 )
2025-03-10 17:19:57 -04:00
Jordan Rose
afa74cb65b
Bump version to 0.5.3
...
0.5.2 was never published, but it would be more confusing to reuse the
number now.
2025-01-31 15:27:25 -08:00
Jordan Rose
7dd236d849
mp4san: Bump derive_builder dependency
2025-01-31 15:22:33 -08:00
Milan Stevanovic
28087b861d
Milan/sanitizing cumulative box sized files ( #26 )
2025-01-28 17:43:28 -08:00
Jessa
d51a90c262
update github org in test-data submodule url
2024-11-22 14:15:37 -08:00
Jessa
fa464ae105
mp4san: fix unused imports compiler warning
2024-11-22 14:13:57 -08:00
Jessa
0f7220ece3
mediasan-cli: add output argument
2024-11-22 11:31:12 -08:00
Jordan Rose
07624b401a
Downgrade bitstream-io back to the 1.x series for the time being
2024-07-22 11:52:46 -07:00
Alex Konradi
fe497af014
bump version to 0.5.2
2024-07-18 16:47:53 -04:00
Alex Konradi
d37b2f543c
Upgrade dependencies
2024-07-18 15:45:50 -04:00
Jessa
4b831d8aac
remove clippy action in github CI
...
After an org transfer, this action stopped working due to permissions issues. It hasn't been super useful, so let's
remove it for now.
2024-02-01 06:50:33 -08:00
Jessa
ced48ced1c
mp4san: disable failing gpac tests
...
The gpac tests have a history of failing sporadically; there seems to be some UB in the use of gpac for those tests,
likely to do with the FFI. Let's disable them until we track the problem down.
2024-01-31 10:24:07 -08:00
Jessa
26a88da0cb
make sure empty huffman code optimization applies to color cache
2023-12-01 12:38:56 -08:00
Jessa
8a8aa71263
bump version to 0.5.1
test / format-check (push) Has been cancelled
test / build-and-test (push) Has been cancelled
test / fuzz-afl (push) Has been cancelled
test / fuzz-libfuzzer (push) Has been cancelled
test / check-nightly (push) Has been cancelled
2023-10-31 11:52:16 -07:00
Lilith Silvestris
80004dd062
cli: Add support for webpsan
2023-10-31 11:32:10 -07:00
Jessa
da8025a0ee
make sure empty huffman code optimization applies to non-simple codes
2023-10-26 18:05:44 -07:00
Jessa
71119d6f35
bump version to 0.5.0
test / format-check (push) Has been cancelled
test / build-and-test (push) Has been cancelled
test / fuzz-afl (push) Has been cancelled
test / fuzz-libfuzzer (push) Has been cancelled
test / check-nightly (push) Has been cancelled
2023-10-22 09:28:21 -07:00
Jessa
cdf2717b16
webpsan: use dyn in ChunkReader to prevent multiple instantiations
2023-10-22 09:21:14 -07:00
Jessa
d467ff65df
remove problematic blanket impl Skip for T: Seek
...
this blanket impl prevented any other useful blanket impls, like `Skip for &mut T`.
2023-10-21 20:14:53 -07:00
Jessa
45b9c2c92c
webpsan: remove async API
...
Support for the async API bloats code size significantly even when you're only using the sync API.
2023-10-21 20:14:51 -07:00
Jessa
d2bfcda1b3
webpsan: make detail in errors optional
...
Error stacks add a significant amount of code size, and we want to let users opt-out of that.
2023-10-19 10:53:53 -07:00
Jessa
314c8786d3
bump version to 0.4.0
...
test / format-check (push) Has been cancelled
test / build-and-test (push) Has been cancelled
test / fuzz-afl (push) Has been cancelled
test / fuzz-libfuzzer (push) Has been cancelled
test / check-nightly (push) Has been cancelled
mp4san moved some public types to mediasan_common, and while i believe they are still re-exported in the same spots,
this is still a semver change, as tools like cbindgen will fail to work properly without knowledge of mediasan-common.
2023-10-16 17:47:53 -07:00
Jessa
1262a6587d
dash instead of underscore for mp4san-derive, make ready to publish
2023-10-16 17:44:27 -07:00
Jessa
38f3bf7b8f
set update=none for test-data submodule
...
this fixes using our crates as a git dependency in cargo, as cargo will otherwise try to fetch the test-data submodule,
which is a private repo.
2023-10-15 11:46:27 -07:00
Jessa
7044f89586
webpsan: libwebp is statically linked for tests, so don't install
2023-10-15 11:43:41 -07:00
Jessa
56df851224
webpsan: verify tests against libwebp
2023-10-14 09:31:15 -07:00
Jessa
ab7b6d6ec3
webpsan: use valid (lossy) vp8 data in tests
2023-10-14 09:31:10 -07:00
Jessa
d120845afc
webpsan: reject alpha chunk with lossless image
2023-10-14 09:31:06 -07:00
Jessa
598a3f5186
webpsan: require at least one animation frame, like libwebp does
2023-10-14 09:31:02 -07:00
Jessa
801d5cd4c1
webpsan: fix expected error in test
2023-10-13 17:49:39 -07:00
Jessa
e0334cc87e
add all WebP test vectors from the libwebp-test-data repo
2023-10-13 17:48:17 -07:00
Jessa
1af2287ffa
vp8l: fix huffman symbol reading limits
...
The WebP spec is ambiguous here, but looking at libwebp, the `max_symbol` value read from the stream in the spec
indicates a maximum number of symbol _reads_ (now `max_symbol_reads` in the new code), not a maximum number of
_symbols_ (now `max_symbol_count` in the new code).
2023-10-13 17:47:05 -07:00
Jessa
075e753fba
parse unknown chunks at the end of "simple format" webp files
...
the spec seems to imply that simple format files should only contain a VP8/VP8L chunk, but it's not clear, and many of
the webp test vectors contain non-standard trailing informational chunks.
2023-10-13 17:08:27 -07:00
Jessa
9ad299dc99
add 256 symbol read_huffman benchmark
2023-10-13 07:45:59 -07:00
Jessa
8ece8de5a3
don't read from input after eof is reached in BitBufReader
2023-10-12 23:17:45 -07:00
Jessa
2aa034456c
short circuit zero-length huffman codes
2023-10-12 23:17:30 -07:00
Jessa
087583a5fe
reduce number of awaits in vp8l hot loop
2023-10-12 23:17:30 -07:00
Jessa
a4c1498adc
calculate longest huffman code for readahead
...
this has the side effect of reducing overhead of read_huffman when huffman code is zero length
2023-10-12 23:10:47 -07:00
Jessa
154dabf9ca
add BitBufReader benchmark
2023-10-12 23:10:47 -07:00
Jessa
d4b74c0b2e
fix meta prefix code count in log messages
2023-10-12 17:20:22 -07:00
Jessa
cf6d23b6a3
add more webpsan container tests
2023-10-08 12:46:33 -07:00
Jessa
1a9f535ac8
fix a couple doc / crate metadata typos
2023-10-07 23:45:59 -07:00
Jessa
d5aaaaeb81
bump version to 0.3.2
2023-10-07 23:33:55 -07:00
Jessa
f63676ae6e
add webpsan
2023-10-07 23:33:55 -07:00
Jessa
44217aa5f0
rename test, test-gen, and derive dirs, move fuzz-afl into mp4san
2023-10-07 21:59:39 -07:00
Jessa
892aaa2063
format with latest rustfmt
2023-10-01 09:06:34 -07:00
Jessa
f0e91fdac3
fix: cargo-afl tool was renamed from afl to cargo-afl upstream
2023-08-30 11:07:14 -07:00
Jessa
53b6a83800
fully qualify all paths in derive
2023-08-28 10:29:45 -07:00