
This application was supporting only debayering of BGGR8 streams: this is an issue on cameras that are outputting a different format. Implement quick-debayering of all Bayer 8-bits pixfmts in order to solve wrong tint issues on many, many camera sensors. This was tested on a Sony Exmor-RS IMX300 sensor. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
6 lines
163 B
C
6 lines
163 B
C
#include <stdint.h>
|
|
|
|
void quick_debayer(const uint8_t *source, uint8_t *destination,
|
|
uint32_t pix_fmt, int width, int height, int skip,
|
|
int blacklevel);
|