Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
packages_apps_Gallery2
Commits
2ca742cd
Commit
2ca742cd
authored
8 years ago
by
Treehugger Robot
Committed by
Gerrit Code Review
8 years ago
Browse files
Options
Download
Plain Diff
Merge "Add missing includes."
parents
685d1d8a
c2122c6e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
1 deletion
+11
-1
jni/filters/geometry.c
jni/filters/geometry.c
+3
-1
jni/filters/highlight.c
jni/filters/highlight.c
+2
-0
jni/filters/redEyeMath.c
jni/filters/redEyeMath.c
+2
-0
jni/filters/shadows.c
jni/filters/shadows.c
+2
-0
jni/filters/wbalance.c
jni/filters/wbalance.c
+2
-0
No files found.
jni/filters/geometry.c
View file @
2ca742cd
...
...
@@ -14,8 +14,10 @@
* limitations under the License.
*/
#include "filters.h"
#include <stdio.h>
#include <stdlib.h>
#include "filters.h"
static
__inline__
void
flipVertical
(
char
*
source
,
int
srcWidth
,
int
srcHeight
,
char
*
destination
,
int
dstWidth
,
int
dstHeight
){
//Vertical
...
...
This diff is collapsed.
Click to expand it.
jni/filters/highlight.c
View file @
2ca742cd
...
...
@@ -15,6 +15,8 @@
*/
#include <math.h>
#include <stdlib.h>
#include "filters.h"
void
JNIFUNCF
(
ImageFilterHighlights
,
nativeApplyFilter
,
jobject
bitmap
,
...
...
This diff is collapsed.
Click to expand it.
jni/filters/redEyeMath.c
View file @
2ca742cd
...
...
@@ -15,6 +15,8 @@
*/
#include <math.h>
#include <stdlib.h>
#include "filters.h"
int
value
(
int
r
,
int
g
,
int
b
)
{
...
...
This diff is collapsed.
Click to expand it.
jni/filters/shadows.c
View file @
2ca742cd
...
...
@@ -15,6 +15,8 @@
*/
#include <math.h>
#include <stdlib.h>
#include "filters.h"
void
JNIFUNCF
(
ImageFilterShadows
,
nativeApplyFilter
,
jobject
bitmap
,
jint
width
,
jint
height
,
float
scale
){
...
...
This diff is collapsed.
Click to expand it.
jni/filters/wbalance.c
View file @
2ca742cd
...
...
@@ -14,6 +14,8 @@
* limitations under the License.
*/
#include <stdlib.h>
#include "filters.h"
void
estmateWhite
(
unsigned
char
*
src
,
int
len
,
int
*
wr
,
int
*
wb
,
int
*
wg
){
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment