mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-16 23:42:27 +00:00
Forward opt-in threading to rav1e encoder dependencies
This commit is contained in:
1 parent
9687434f72
commit
1c39341f96
2 files changed
+3
-1
No files matched your search
@@ -13,6 +13,8 @@ workspace = true
|
||||
[features]
|
||||
corpus = []
|
||||
default = []
|
||||
# Opt in to threaded AVIF encoding without enabling AVIF (or assembly) by itself.
|
||||
threads = ["ravif?/threading", "rav1e?/threading"]
|
||||
avif = ["image/avif", "dep:ravif", "dep:rav1e", "dep:avif-serialize"]
|
||||
heif = ["dep:craft-heif"]
|
||||
# AVIF decode: craft-video's clean-room pure-Rust AV1 decoder. Native targets only (on wasm32 a
|
||||
|
||||
@@ -57,7 +57,7 @@ av1-encode = ["craft-media/isobmff"]
|
||||
# Tiled AV1 fallback for frames that exceed the clean-room encoder's single-tile limits.
|
||||
av1-large-encode = ["av1-encode", "dep:rav1e"]
|
||||
# Decode and encode across worker threads (rayon) in the codecs that support it.
|
||||
threads = ["dep:rayon"]
|
||||
threads = ["dep:rayon", "rav1e?/threading"]
|
||||
|
||||
[dependencies]
|
||||
craft-media = { workspace = true }
|
||||
|
||||
Reference in new issue
Block a user