Go to the documentation of this file. 1 #ifndef ClpeStreamApi_header
2 #define ClpeStreamApi_header
9 #ifndef CANLAB_LOGGING_ENABLE
10 typedef int (*
T_CB_APP) (
unsigned int inst,
unsigned char* buffer,
unsigned int size,
struct timeval* frame_us);
11 #endif // #ifndef CANLAB_LOGGING_ENABLE
15 #define ERROR_CREATE_TASK -1
16 #define ERROR_NO_FRAME -2
17 #define ERROR_NOT_AVALIABLE_CAM_ID -3
19 #ifndef CANLAB_LOGGING_ENABLE
20 int clpe_startStream(
T_CB_APP cb_app,
char use_cam_0,
char use_cam_1,
char use_cam_2,
char use_cam_3,
int display_on);
22 int clpe_getFrameAnyCam(
int *p_camera_id,
unsigned char **p_buffer,
unsigned int *p_size,
struct timeval *pt_camera_timeStamp);
23 int clpe_getFrameWithCamId(
int camera_id,
unsigned char **p_buffer,
unsigned int *p_size,
struct timeval *pt_camera_timeStamp);
24 #endif // #ifndef CANLAB_LOGGING_ENABLE
int(* T_CB_APP)(unsigned int inst, unsigned char *buffer, unsigned int size, struct timeval *frame_us)
int clpe_getFrameAnyCam(int *p_camera_id, unsigned char **p_buffer, unsigned int *p_size, struct timeval *pt_camera_timeStamp)
int clpe_stopStream(void)
int clpe_startStream(T_CB_APP cb_app, char use_cam_0, char use_cam_1, char use_cam_2, char use_cam_3, int display_on)
int clpe_getFrameWithCamId(int camera_id, unsigned char **p_buffer, unsigned int *p_size, struct timeval *pt_camera_timeStamp)
clpe_sdk
Author(s): Can-lab Corporation
autogenerated on Wed Oct 12 2022 02:17:28