Raw-rs: Refactor to run multiple steps in a single loop (#1972)

* Prevent extra allocation in convert to RGB step

* Run preprocessing steps in a single loop

* Create new API to call steps in pipeline

* Include transform and gamma correction step

* cargo fmt

* Split scale colors into two steps

* Code relocations

* cargo fmt

* Implement transform traits for all tuples

* Replace Captures trick with the new `use` keyword
This commit is contained in:
Elbert Ronnie
2024-10-25 11:52:35 -07:00
committed by GitHub
parent a395fbf063
commit 442937c13f
20 changed files with 423 additions and 265 deletions
+1
View File
@@ -26,6 +26,7 @@ thiserror = { workspace = true }
# Required dependencies
bitstream-io = "2.3.0"
num_enum = "0.7.2"
fortuples = "0.9.1"
# Optional workspace dependencies
image = { workspace = true, optional = true }