Camera_InAndOut.h
1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
********************************************************************
* @file Camera_InAndOut.h
* Camera_InAndOut的头文件
*
*********************************************************************
*/
/* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/
#ifndef CAMERA_INANDOUT_H
#define CAMERA_INANDOUT_H
/* Includes ------------------------------------------------------------------*/
#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/
typedef enum {
CAMERA_IDLE = 0x0000, //相机空闲
CAMERA_RECORD = 0x0001, //相机录像中
CAMERA_SHOOTPHOTO = 0x0002, //相机拍照中
CAMERA_BRUSTSHOORPHOTO = 0x0003, //相机连拍中
CAMERA_TRANSCODE = 0x0004, //相机转码中
} JZ_CameraStatusCode;
/* Exported types ------------------------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
T_JZsdkReturnCode JZsdk_Camera_FrameDealThread_UnlockFun();
T_JZsdkReturnCode JZsdk_CameraMuduleInit();
T_JZsdkReturnCode Camera_VideoRecord_TransMode(int status);
int Camera_Send_CameraStatus(int status);
T_JZsdkReturnCode Camera_Get_Camera_status(int *Status);
T_JZsdkReturnCode Camera_ShootPhoto_TransMode(int num);
int CameraCedarX_H264_TO_NV21_DecodeOneFrame(unsigned char *InputBuffer, int InputBufferLenth);
#ifdef __cplusplus
}
#endif
#endif