65 uint8_t plat_param[4];
67 luat_lcd_conf_t* lcd_conf;
73int l_camera_handler(lua_State *L,
void* ptr);
int luat_camera_work_mode(int id, int mode)
void luat_camera_image_decode_deinit(void)
int luat_camera_preview(int id, uint8_t on_off)
int luat_camera_setup(int id, luat_spi_camera_t *conf, void *callback, void *param)
配置spi camera并且初始化camera
int luat_camera_init(luat_camera_conf_t *conf)
配置camera并且初始化camera,spi camera不要使用这个
int luat_camera_stop(int id)
停止接收camera数据
struct luat_camera_conf luat_camera_conf_t
void luat_camera_continue_with_buffer(int id, void *buf)
摄像头切换接收数据缓冲区,csdk专用
int luat_camera_image_decode_get_result(uint8_t *buf)
int luat_camera_capture_in_ram(int id, uint8_t quality, void *buffer)
int luat_camera_capture(int id, uint8_t quality, const char *path)
int luat_camera_close(int id)
关闭camera并且释放资源
int luat_camera_image_decode_init(uint8_t type, void *stack, uint32_t stack_length, uint32_t priority)
int luat_camera_start_with_buffer(int id, void *buf)
摄像头启动开始接收数据,csdk专用
int luat_camera_image_decode_once(uint8_t *data, uint16_t image_w, uint16_t image_h, uint32_t timeout, void *callback, void *param)
int luat_camera_pause(int id, uint8_t is_pause)
暂停接收camera数据
int luat_camera_set_image_w_h(int id, uint16_t w, uint16_t h)
配置图像大小
int luat_camera_start(int id)
开始接收camera数据
@ LUAT_CAMERA_FRAME_RX_DONE
@ LUAT_CAMERA_FRAME_START
@ LUAT_CAMERA_FRAME_ERROR