mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-16 20:25:02 +00:00
Merge pull request #1778 from storytold/fix/rav1e-threading
Forward opt-in threading to rav1e encoder dependencies
This commit is contained in:
Generated
+2
@@ -6148,6 +6148,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8ea1f30cedd69f0a2954655f7188c6a834246d2bcf1e315e2ac40c4b24dc9519"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"rayon",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -7985,6 +7986,7 @@ dependencies = [
|
||||
"loop9",
|
||||
"quick-error 2.0.1",
|
||||
"rav1e",
|
||||
"rayon",
|
||||
"rgb",
|
||||
]
|
||||
|
||||
|
||||
@@ -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"]
|
||||
sgi = []
|
||||
sunraster = []
|
||||
avif = ["image/avif", "dep:ravif", "dep:rav1e", "dep:avif-serialize"]
|
||||
|
||||
@@ -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