Handle multiple image format (#1988)
* Polymorphic copy_region
Signed-off-by: Dude so hot <djohn@fbi.gov>
* Polymorphic qr_code
Signed-off-by: Dude so hot <djohn@fbi.gov>
* Polymorphic detect_border
Signed-off-by: Dude so hot <djohn@fbi.gov>
* Implement luminance conversion
* Implement RGB_565 and RGBA_F16 support
* Revert "Workaround for high bit depth images"
This reverts commit 12f46e2e4e.
* Add ptr_as_image
Signed-off-by: Dude so hot <djohn@fbi.gov>
* ptr_as_image_mut
Signed-off-by: Dude so hot <djohn@fbi.gov>
* Refine poly
Signed-off-by: Dude so hot <djohn@fbi.gov>
* Refine
Signed-off-by: Dude so hot <djohn@fbi.gov>
* Use fake channel
Signed-off-by: Dude so hot <djohn@fbi.gov>
* Cleanup
Signed-off-by: Dude so hot <djohn@fbi.gov>
* Naming
Signed-off-by: Dude so hot <djohn@fbi.gov>
* Refine
Signed-off-by: Dude so hot <djohn@fbi.gov>
* Cleanup
Signed-off-by: Dude so hot <djohn@fbi.gov>
* Refine
Signed-off-by: Dude so hot <djohn@fbi.gov>
* Use typealias
Signed-off-by: Dude so hot <djohn@fbi.gov>
* just unwarp
Signed-off-by: Dude so hot <djohn@fbi.gov>
* Cleanup
Signed-off-by: Dude so hot <djohn@fbi.gov>
* Just unwarp
Signed-off-by: Dude so hot <djohn@fbi.gov>
* Address code review
Signed-off-by: Dude so hot <djohn@fbi.gov>
---------
Signed-off-by: Dude so hot <djohn@fbi.gov>
Co-authored-by: Dude so hot <djohn@fbi.gov>
Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
This commit is contained in:
13 files changed
+219
-94
No files matched your search
@@ -21,7 +21,7 @@ jobs:
|
||||
java-version: 21
|
||||
|
||||
- name: Install Rust Toolchain
|
||||
run: rustup default 1.81.0 && rustup target add armv7-linux-androideabi aarch64-linux-android x86_64-linux-android && rustup component add rustfmt clippy
|
||||
run: rustup default nightly-2024-08-30 && rustup target add armv7-linux-androideabi aarch64-linux-android x86_64-linux-android && rustup component add rustfmt clippy
|
||||
|
||||
- name: Rust Cache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
java-version: 21
|
||||
|
||||
- name: Install Rust Toolchain
|
||||
run: rustup default 1.81.0 && rustup target add armv7-linux-androideabi aarch64-linux-android x86_64-linux-android && rustup component add rustfmt clippy
|
||||
run: rustup default nightly-2024-08-30 && rustup target add armv7-linux-androideabi aarch64-linux-android x86_64-linux-android && rustup component add rustfmt clippy
|
||||
|
||||
- name: Rust Cache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
@@ -129,7 +129,7 @@ jobs:
|
||||
java-version: 21
|
||||
|
||||
- name: Install Rust Toolchain
|
||||
run: rustup default 1.81.0 && rustup target add armv7-linux-androideabi aarch64-linux-android x86_64-linux-android && rustup component add rustfmt clippy
|
||||
run: rustup default nightly-2024-08-30 && rustup target add armv7-linux-androideabi aarch64-linux-android x86_64-linux-android && rustup component add rustfmt clippy
|
||||
|
||||
- name: Rust Cache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
java-version: 21
|
||||
|
||||
- name: Install Rust Toolchain
|
||||
run: rustup default 1.81.0 && rustup target add armv7-linux-androideabi aarch64-linux-android x86_64-linux-android
|
||||
run: rustup default nightly-2024-08-30 && rustup target add armv7-linux-androideabi aarch64-linux-android x86_64-linux-android
|
||||
|
||||
- name: Rust Cache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
||||
Reference in new issue
Block a user