Developer World
Spresense SDK Library v3.2.0-ebc0364
cxd56_imageproc.h File Reference
#include <stdint.h>

Go to the source code of this file.

Classes

struct  imageproc_rect_s
 
struct  imageproc_binary_img_s
 
struct  imageproc_imginfo_s
 

Typedefs

typedef struct imageproc_rect_s imageproc_rect_t
 
typedef struct imageproc_binary_img_s imageproc_binary_img_t
 
typedef struct imageproc_imginfo_s imageproc_imginfo_t
 

Enumerations

enum  imageproc_imginfo_e {
  IMAGEPROC_IMGTYPE_SINGLE = 0 , IMAGEPROC_IMGTYPE_1BPP = 1 , IMAGEPROC_IMGTYPE_BINARY = 1 , IMAGEPROC_IMGTYPE_8BPP = 2 ,
  IMAGEPROC_IMGTYPE_16BPP = 3
}
 

Functions

void imageproc_initialize (void)
 
void imageproc_finalize (void)
 
int imageproc_convert_yuv2rgb (uint8_t *ibuf, uint32_t hsize, uint32_t vsize)
 
int imageproc_convert_rgb2yuv (uint8_t *ibuf, uint32_t hsize, uint32_t vsize)
 
void imageproc_convert_yuv2gray (uint8_t *ibuf, uint8_t *obuf, size_t hsize, size_t vsize)
 
int imageproc_resize (uint8_t *ibuf, uint16_t ihsize, uint16_t ivsize, uint8_t *obuf, uint16_t ohsize, uint16_t ovsize, int bpp)
 
int imageproc_clip_and_resize (uint8_t *ibuf, uint16_t ihsize, uint16_t ivsize, uint8_t *obuf, uint16_t ohsize, uint16_t ovsize, int bpp, imageproc_rect_t *clip_rect)
 
int imageproc_alpha_blend (imageproc_imginfo_t *dst, int pos_x, int pos_y, imageproc_imginfo_t *src, imageproc_imginfo_t *alpha)