Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ca742cd authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add missing includes."

parents 685d1d8a c2122c6e
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -14,8 +14,10 @@
 * limitations under the License.
 * limitations under the License.
 */
 */


#include "filters.h"
#include <stdio.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){
static __inline__ void flipVertical(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){
    //Vertical
    //Vertical
+2 −0
Original line number Original line Diff line number Diff line
@@ -15,6 +15,8 @@
 */
 */


#include <math.h>
#include <math.h>
#include <stdlib.h>

#include "filters.h"
#include "filters.h"


void JNIFUNCF(ImageFilterHighlights, nativeApplyFilter, jobject bitmap,
void JNIFUNCF(ImageFilterHighlights, nativeApplyFilter, jobject bitmap,
+2 −0
Original line number Original line Diff line number Diff line
@@ -15,6 +15,8 @@
 */
 */


#include <math.h>
#include <math.h>
#include <stdlib.h>

#include "filters.h"
#include "filters.h"


int value(int r, int g, int b) {
int value(int r, int g, int b) {
+2 −0
Original line number Original line Diff line number Diff line
@@ -15,6 +15,8 @@
 */
 */


#include <math.h>
#include <math.h>
#include <stdlib.h>

#include "filters.h"
#include "filters.h"


void JNIFUNCF(ImageFilterShadows, nativeApplyFilter, jobject bitmap, jint width, jint height, float scale){
void JNIFUNCF(ImageFilterShadows, nativeApplyFilter, jobject bitmap, jint width, jint height, float scale){
+2 −0
Original line number Original line Diff line number Diff line
@@ -14,6 +14,8 @@
 * limitations under the License.
 * limitations under the License.
 */
 */


#include <stdlib.h>

#include "filters.h"
#include "filters.h"


void estmateWhite(unsigned char *src, int len, int *wr, int *wb, int *wg){
void estmateWhite(unsigned char *src, int len, int *wr, int *wb, int *wg){