Implemented image flipper

This commit is contained in:
2020-11-03 19:52:20 +01:00
parent efb8fb1703
commit 3acdd717b1
2 changed files with 37 additions and 0 deletions

15
src/pixeldata_utils.h Normal file
View File

@@ -0,0 +1,15 @@
//
// Created by marcsello on 03/11/2020.
//
#ifndef CAFF_PREVIEWER_PIXELDATA_UTILS_H
#define CAFF_PREVIEWER_PIXELDATA_UTILS_H
#include <stdint.h>
#define IMAGE_FLIP_SUCCESS 0
#define IMAGE_FLIP_FAIL 0
uint8_t flip_image(const uint8_t* source, uint8_t* destination, uint64_t data_length, uint64_t width, uint64_t height);
#endif //CAFF_PREVIEWER_PIXELDATA_UTILS_H