5 #ifndef _CAMERA_SERVICE_H_ 6 #define _CAMERA_SERVICE_H_ 8 #include "ucamera_device.h" 9 #include "ucamera_common.h" 11 #define UCAMERA_PIX_FMT_YYUV 0 12 #define UCAMERA_PIX_FMT_AYUV32 1 13 #define UCAMERA_PIX_FMT_ARGB32 2 14 #define UCAMERA_PIX_FMT_BGRA32 3 15 #define UCAMERA_PIX_FMT_RGB24 4 16 #define UCAMERA_PIX_FMT_BGR24 5 17 #define UCAMERA_PIX_FMT_YUV420 6 18 #define UCAMERA_PIX_FMT_YUV420SP 7 19 #define UCAMERA_PIX_FMT_PNG 8 20 #define UCAMERA_PIX_FMT_JPEG 9 27 ucamera_device_t *(*create) (
int devindex);
frame_buffer_t * ucamera_service_get_frame(void)
int ucamera_service_save_frame(frame_buffer_t *frame, const char *path)
int32_t ucamera_service_init(const char *dev_name)
int32_t ucamera_service_uninit(void)
ucamera_context_t wifi_camera
struct _ucamera_context_t ucamera_context_t