mirror of
https://gitcode.com/gh_mirrors/es/esp32-opencv.git
synced 2025-08-15 03:01:04 +08:00

- For now, the example gets an image from the camera and puts it on the LCD - TODO: image is rotated and refresh rate not good
32 lines
585 B
C
32 lines
585 B
C
#ifndef _APP_SCREEN_H_
|
|
#define _APP_SCREEN_H_
|
|
|
|
#include "iot_lcd.h"
|
|
|
|
#if __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define JPG_IMAGE_LINE_BUF_SIZE 512
|
|
|
|
#define CENTER -9003
|
|
#define RIGHT -9004
|
|
#define BOTTOM -9004
|
|
|
|
|
|
void lvgl_lcd_hal_init();
|
|
|
|
int TFT_bmp_image(int x, int y, uint8_t scale, char *fname, uint8_t *imgbuf, int size);
|
|
|
|
void TFT_jpg_image(int x,
|
|
int y,
|
|
uint8_t scale,
|
|
int s,
|
|
char *filename,
|
|
uint8_t *buf,
|
|
int size);
|
|
|
|
#if __cplusplus
|
|
}
|
|
#endif
|
|
#endif /*_APP_SCREEN_H_*/ |