converter.h
616 Bytes
//
// Created by thuanpm on 4/22/22.
//
#ifndef PROCESSING_CAMERA_IMAGE_CONVERTER_H
#define PROCESSING_CAMERA_IMAGE_CONVERTER_H
#ifdef __cplusplus
extern "C"
{
#endif
uint8_t *convert_image_gray_scale_8bit(uint8_t *plane0, int width, int height, double angleRotation);
uint32_t *convert_image_gray_scale(uint8_t *plane0, int width, int height, double angleRotation);
uint32_t *convert_image_rgb(uint8_t *plane0, uint8_t *plane1, uint8_t *plane2, int bytesPerRow, int bytesPerPixel, int width, int height, double angleRotation);
#ifdef __cplusplus
}
#endif
#endif // PROCESSING_CAMERA_IMAGE_CONVERTER_H