ESP32 motion
|
Go to the source code of this file.
Data Structures | |
struct | queue |
simple queue More... | |
Macros | |
#define | MAXSIZE 10 |
Typedefs | |
typedef unsigned char | uint8_t |
typedef struct queue | queue_t |
Functions | |
float | get_factor () |
calculate brightness ratio related to previous brightness More... | |
bool | deflicker (uint8_t *img, int w, int h) |
perform deflickering More... | |
Took from ffmpeg but simplified
#define MAXSIZE 10 |
typedef unsigned char uint8_t |
bool deflicker | ( | uint8_t * | img, |
int | w, | ||
int | h | ||
) |
perform deflickering
img | uint8 pointer to image |
w | width |
h | height |
float get_factor | ( | ) |
calculate brightness ratio related to previous brightness