Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
3d6a828
Implement Rust API
leo030303 Jul 6, 2025
f616c50
Update src/rust_api.rs
leo030303 Jul 7, 2025
14c32b6
Update src/rust_api.rs
leo030303 Jul 7, 2025
f5ae0e8
Update src/rust_api.rs
leo030303 Jul 7, 2025
1aae7a8
Replaced Error type with Rav1dError and added better enum names and docs
leo030303 Jul 7, 2025
7c10775
Changed types to more reasonable ones
leo030303 Jul 7, 2025
a654fc4
Update src/rust_api.rs
leo030303 Jul 8, 2025
282b6d8
Cleaned up imports, expose DecodeFrameType publicly
leo030303 Jul 8, 2025
0b85bd8
Removed option_nonnull
leo030303 Jul 8, 2025
391c557
Update src/rust_api.rs
leo030303 Jul 8, 2025
fa961b2
Remove TryFromEnumError as its no longer used
leo030303 Jul 8, 2025
7895fda
Rename Decoder.dec to Decoder.ctx
leo030303 Jul 8, 2025
86c41fb
Cleanup
leo030303 Jul 8, 2025
f2fc387
Update src/rust_api.rs
leo030303 Jul 8, 2025
fab1bb1
Update src/rust_api.rs
leo030303 Jul 8, 2025
3a41838
Update src/rust_api.rs
leo030303 Jul 8, 2025
7c69894
Cleanup
leo030303 Jul 8, 2025
9953560
Update src/rust_api.rs
leo030303 Jul 8, 2025
f0540e8
Removed an unsafe block
leo030303 Jul 8, 2025
93b2e68
Removed Drop impl for InnerPicture
leo030303 Jul 8, 2025
cc81343
Made offset in Rav1dDataProps an i64
leo030303 Jul 8, 2025
b5ae20f
Update src/rust_api.rs
leo030303 Jul 8, 2025
72cb0fa
Update src/rust_api.rs
leo030303 Jul 8, 2025
06d0269
Move some conversions into TryInto's
leo030303 Jul 8, 2025
ab3e04b
Removed panic in From impl for PlanarImageComponent
leo030303 Jul 8, 2025
8b43733
Added chrominance and luminance comments
leo030303 Jul 8, 2025
ff67750
Added check if stride is negative
leo030303 Jul 8, 2025
f07d83b
Make height and width casting more robust on Picture
leo030303 Jul 9, 2025
4255b38
Implement Rust API
leo030303 Jul 6, 2025
3b20ca1
Fixed CI error
leo030303 Jul 15, 2025
1101ea7
Added safety comment for raw slice
leo030303 Jul 15, 2025
89aa570
Remove Ok's on conversion functions
leo030303 Jul 20, 2025
a4d0309
Export Rav1dError correctly for the rust api
leo030303 Jul 20, 2025
12f5743
Clean up casts
leo030303 Jul 20, 2025
a9dd1db
Remove unnecessary declarations of 'ret'
leo030303 Jul 20, 2025
d6239de
Remove unnecessary InnerPicture struct
leo030303 Jul 20, 2025
ff711cf
Rename Settings.rav1_settings to Settings.inner
leo030303 Jul 20, 2025
a2da46e
Make n_threads and max_frame_delay on Decoder into InRange types
leo030303 Jul 20, 2025
e13f288
Remove unneccesary 'david' module in rust_api
leo030303 Jul 24, 2025
0d937a9
Remove Result return type from rav1d_get_frame_delay
leo030303 Jul 24, 2025
f5b77e5
Add `is_unspecified` methods to some structs to make conversions more…
leo030303 Jul 24, 2025
a87231a
Replace TryInto impls with cleaner From impls
leo030303 Jul 24, 2025
1de8568
Revert "Replace TryInto impls with cleaner From impls"
leo030303 Jul 24, 2025
fa446a3
Add doc comment to rust-api
leo030303 Jul 28, 2025
e6f54cc
Renamed UNKNOWN fields to UNSPECIFIED
leo030303 Jul 28, 2025
2eb3ec6
Merge branch 'main' into add-rust-api
leo030303 Aug 19, 2025
dee53e9
Fixed enums, replaced TryInto's with From impls
leo030303 Aug 19, 2025
9486894
Add safety check
leo030303 Dec 21, 2025
3ef2682
Merge branch 'memorysafety:main' into add-rust-api
leo030303 Dec 21, 2025
b41fbf8
Merge branch 'main' into add-rust-api
leo030303 Feb 7, 2026
8ce9bf7
Fix comments in rust_api
leo030303 Feb 7, 2026
55c3e3d
Remove `'static` on send_data
leo030303 Feb 7, 2026
29356b6
Fix nit in rust_api
leo030303 Feb 7, 2026
9e241d9
Cleaned up a series of code issues
leo030303 Feb 7, 2026
3fa4b7a
Replace TryFrom<u8> with new on BitsPerComponent
leo030303 Feb 7, 2026
1c0716c
Rename BitsPerComponent::new to from_hbd and add comment
leo030303 Feb 7, 2026
9af4d23
Got rid of `Plane`, cleaned up functions in `Picture`
leo030303 Feb 7, 2026
8301fad
Fix imports in rust_api.rs
leo030303 Feb 10, 2026
739cde4
Fix header comment in rust_api.rs
leo030303 Feb 10, 2026
8465178
Handle grayscale images better
leo030303 Feb 14, 2026
8acde6d
Add safety comment in rust_api
leo030303 Feb 14, 2026
5e31f3a
Improve send_data
leo030303 Feb 14, 2026
4d6ec0d
Merge branch 'memorysafety:main' into add-rust-api
leo030303 Feb 14, 2026
10e9ee1
Fix some small issues
leo030303 Feb 14, 2026
73c5fac
Remove Send Sync assertion from Decoder
leo030303 Feb 14, 2026
edcb5a1
Pull error handling out of unsafe block in rust_api
leo030303 Feb 20, 2026
2ea4ce6
Fix nit
leo030303 Feb 20, 2026
8241252
Merge branch 'memorysafety:main' into add-rust-api
leo030303 Feb 21, 2026
3a50834
Add back in Send Sync assertion for Decoder
leo030303 Feb 21, 2026
acaf4ee
Add initial fuzzing harness
Shnatsel Mar 14, 2026
6893485
Suppress stderr logging when fuzzing
Shnatsel Mar 14, 2026
c24493f
Disable asm; slower but should provide better feedback to the fuzzer
Shnatsel Mar 14, 2026
b7a0d8f
Add attribution comment
Shnatsel Mar 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ crate-type = ["staticlib", "rlib"]
[dependencies]
assert_matches = "1.5.0"
atomig = { version = "0.4.0", features = ["derive"] }
av-data = "0.4.2"
bitflags = "2.4.0"
cfg-if = "1.0.0"
libc = "0.2"
Expand Down
4 changes: 4 additions & 0 deletions fuzz/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
target
corpus
artifacts
coverage
Loading