2020-08-24 16:47:22 +08:00

13 lines
252 B
C

#ifndef RGBPROCESS_H
#define RGBPROCESS_H
#include <stdint.h>
#define ROWS 480
#define COLS 640
#define RGBsize ROWS*COLS
#define MIN(a,b) ((a) > (b) ? (b) : (a))
void rgb2gray(uint16_t* img, uint8_t* gray);
#endif