Files
Megapixels/quickdebayer.h
AngeloGioacchino Del Regno b56182ca33 megapixels: Implement quick-debayering all Bayer 8-bits pixel formats
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>
2020-10-25 23:42:21 +01:00

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);