| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The goal of this repository is to demonstrate how to use Halide generators in an Android application.
Halide is a programming language designed to make it easier to write and maintain high-performance image processing code.
You can learn more about Halide from these sources:
In this sample app, I use invert_generator.cpp generator to invert the colors of an image. When the button is pressed, the display mode changes.
This works on macOS, but may require modifications on Windows and Linux. Pull requests are welcome!
On macOS you should have the Clang compiler (you can check it in the terminal by executing clang --version).
Supported ABIs: armeabi-v7a, arm64-v8a, x86, x86_64 Android min SDK: 24 Android compile and target SDK: 34 NDK version: 25.2.9519653 CMake version: 3.22.1
To make the project build, you need to:
These tasks are performed automatically before building the app:features:processing module.
./gradlew buildDebugHalideGeneratorsTask
./gradlew buildReleaseHalideGeneratorsTask
Copyright 2023 Samuel Unknown Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
| Back | FazBrowse Home | New Git URL |