-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merged v1.5.0 from visor-android (https://play.google.com/store/apps/…
…details?id=de.visorapp.visor) - now using a native module to calculate YUV -> RGB bytes - do not a scale a bitmap by creating a new one, just use a Matrix and Canvas. - added some sounds and animations changed app-id (to have both apps installed at the same time) changed app name to "Visor OS" updated gradle, android plugin (using android studio canary) still many things to do, especially refactoring! upcoming: hide control buttons with a gesture and may be a digital zoom
- Loading branch information
Christian Illies
authored and
Christian Illies
committed
Jul 5, 2017
1 parent
ae1f762
commit 8434b71
Showing
22 changed files
with
756 additions
and
269 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package de.visorapp.visor; | ||
|
||
/** | ||
* Created by Christian on 02.04.17. | ||
*/ | ||
|
||
public class NativeYuvDecoder { | ||
|
||
static { | ||
System.loadLibrary("yuv-decoder"); | ||
} | ||
|
||
// Java_de_visorapp_visor_NativeYuvDecoder_YUVtoRBGA | ||
public static native void YUVtoRBGA(byte[] yuv, int width, int height, int[] out); | ||
|
||
// Java_de_visorapp_visor_NativeYuvDecoder_YUVtoARBG | ||
public static native void YUVtoARBG(byte[] yuv, int width, int height, int[] out); | ||
|
||
// Java_de_visorapp_visor_NativeYuvDecoder_YUVtoARBG | ||
public static native void YUVtoRGBGreyscale(byte[] yuv, int width, int height, int[] out); | ||
} |
Oops, something went wrong.