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-26 00:22:35 +05:30
committed by GitHub
parent a395fbf063
commit 442937c13f
20 changed files with 423 additions and 265 deletions

View File

@@ -1,3 +1,4 @@
pub mod convert_to_rgb;
pub mod gamma_correction;
pub mod record_histogram;
pub mod transform;