-
Notifications
You must be signed in to change notification settings - Fork 65
Add basic AVIF parsing support #193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
b47a5e3
Add basic AVIF parsing support
baumanj e98988e
Add AVIF spec repro as a submodule to include test files
baumanj 51f87d4
Fir "unnecessary parentheses around block return value" warnings
baumanj a7f1177
Add 'avif' fuzz target for AVIF-specific parts of the C API
baumanj de15206
Incorporate PR feedback
baumanj 5fc2d60
Run CI tests with and without all features
baumanj 5de20f7
Update mp4parse_fallible dep for FallibleVec::try_extend_from_slice
baumanj 1666db7
Remove afl fuzzing code
baumanj cd8b3d7
Fix travis config to properly combine env var values
baumanj 4cba7f5
At least run `cargo check` for all features in CI
baumanj 6c13760
Work around test failure by running cargo check after cargo test
baumanj 317c6c4
Fix typo
baumanj 733eba8
Implement PR feedback for testing and error handling
baumanj ba1b7c9
Change read_buf()'s size arg from usize -> u64
baumanj 9246ad6
Switch read_buf() from using read() to read_to_end()
baumanj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "mp4parse/av1-avif"] | ||
path = mp4parse/av1-avif | ||
url = https://github.com/AOMediaCodec/av1-avif.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ authors = [ | |
"Ralph Giles <[email protected]>", | ||
"Matthew Gregan <[email protected]>", | ||
"Alfredo Yang <[email protected]>", | ||
"Jon Bauman <[email protected]>", | ||
] | ||
|
||
description = "Parser for ISO base media file format (mp4)" | ||
|
@@ -24,16 +25,13 @@ travis-ci = { repository = "https://github.com/mozilla/mp4parse-rust" } | |
|
||
[dependencies] | ||
byteorder = "1.2.1" | ||
afl = { version = "0.3", optional = true } | ||
abort_on_panic = { version = "1.0.0", optional = true } | ||
bitreader = { version = "0.3.0" } | ||
bitreader = { version = "0.3.2" } | ||
num-traits = "0.2.0" | ||
mp4parse_fallible = { version = "0.0.1", optional = true } | ||
mp4parse_fallible = { version = "0.0.3", optional = true } | ||
log = "0.4" | ||
static_assertions = "1.1.0" | ||
|
||
[dev-dependencies] | ||
test-assembler = "0.1.2" | ||
|
||
[features] | ||
fuzz = ["afl", "abort_on_panic"] | ||
env_logger = "0.7.1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.