物联网操作系统AliOS Things 3.3
ucamera_service.h 文件参考
#include <stdint.h>
#include "ucamera_device.h"
#include "ucamera_common.h"

浏览源代码.

结构体

struct  _ucamera_context_t
 

宏定义

#define UCAMERA_PIX_FMT_YYUV   0
 
#define UCAMERA_PIX_FMT_AYUV32   1
 
#define UCAMERA_PIX_FMT_ARGB32   2
 
#define UCAMERA_PIX_FMT_BGRA32   3
 
#define UCAMERA_PIX_FMT_RGB24   4
 
#define UCAMERA_PIX_FMT_BGR24   5
 
#define UCAMERA_PIX_FMT_YUV420   6
 
#define UCAMERA_PIX_FMT_YUV420SP   7
 
#define UCAMERA_PIX_FMT_PNG   8
 
#define UCAMERA_PIX_FMT_JPEG   9
 

类型定义

typedef struct _ucamera_context_t ucamera_context_t
 

函数

int32_t ucamera_service_init (const char *dev_name)
 
int32_t ucamera_service_uninit (void)
 
frame_buffer_t * ucamera_service_get_frame (void)
 
int ucamera_service_save_frame (frame_buffer_t *frame, const char *path)
 

变量

ucamera_context_t wifi_camera
 

宏定义说明

◆ UCAMERA_PIX_FMT_ARGB32

#define UCAMERA_PIX_FMT_ARGB32   2

在文件 ucamera_service.h13 行定义.

◆ UCAMERA_PIX_FMT_AYUV32

#define UCAMERA_PIX_FMT_AYUV32   1

在文件 ucamera_service.h12 行定义.

◆ UCAMERA_PIX_FMT_BGR24

#define UCAMERA_PIX_FMT_BGR24   5

在文件 ucamera_service.h16 行定义.

◆ UCAMERA_PIX_FMT_BGRA32

#define UCAMERA_PIX_FMT_BGRA32   3

在文件 ucamera_service.h14 行定义.

◆ UCAMERA_PIX_FMT_JPEG

#define UCAMERA_PIX_FMT_JPEG   9

在文件 ucamera_service.h20 行定义.

◆ UCAMERA_PIX_FMT_PNG

#define UCAMERA_PIX_FMT_PNG   8

在文件 ucamera_service.h19 行定义.

◆ UCAMERA_PIX_FMT_RGB24

#define UCAMERA_PIX_FMT_RGB24   4

在文件 ucamera_service.h15 行定义.

◆ UCAMERA_PIX_FMT_YUV420

#define UCAMERA_PIX_FMT_YUV420   6

在文件 ucamera_service.h17 行定义.

◆ UCAMERA_PIX_FMT_YUV420SP

#define UCAMERA_PIX_FMT_YUV420SP   7

在文件 ucamera_service.h18 行定义.

◆ UCAMERA_PIX_FMT_YYUV

#define UCAMERA_PIX_FMT_YYUV   0

在文件 ucamera_service.h11 行定义.

类型定义说明

◆ ucamera_context_t

变量说明

◆ wifi_camera

ucamera_context_t wifi_camera
extern