21 #ifndef _CV_ENCODING_JPEG_H
22 #define _CV_ENCODING_JPEG_H
28 #define FOUR_ZERO_ZERO 0
29 #define FOUR_TWO_ZERO 1
30 #define FOUR_TWO_TWO 2
31 #define FOUR_FOUR_FOUR 3
Image helper functions like resizing, color filter, converters...
int jpeg_create_svs_header(unsigned char *buf, int32_t size, int w)
void jpeg_encode_image(struct image_t *in, struct image_t *out, uint32_t quality_factor, bool add_dri_header)
Encode an YUV422 image.
int int32_t
Typedef defining 32 bit int type.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.