函数 | |
int32_t | ucamera_service_init (const char *dev_name) |
int32_t | ucamera_service_uninit (void) |
int32_t | ucamera_service_config (const char *url) |
int32_t | ucamera_service_start (const char *url) |
int32_t | ucamera_service_disconnect (void) |
frame_buffer_t * | ucamera_service_get_frame (void) |
int | ucamera_service_save_frame (frame_buffer_t *frame, const char *path) |
int32_t ucamera_service_config | ( | const char * | url | ) |
Config frame parameters of ucamera service
int32_t ucamera_service_disconnect | ( | void | ) |
Stop the ucamera service
frame_buffer_t* ucamera_service_get_frame | ( | void | ) |
Get one frame of camera device.
int32_t ucamera_service_init | ( | const char * | dev_name | ) |
Init the ucamera module.
[in] | dev_name | device name. |
[in] | dev_name | device name. |
int ucamera_service_save_frame | ( | frame_buffer_t * | frame, |
const char * | path | ||
) |
Init the ucamera module.
[in] | frame | frame buffer content. |
[in] | path | path of saving image. |
int32_t ucamera_service_start | ( | const char * | url | ) |
Start the ucamera service
int32_t ucamera_service_uninit | ( | void | ) |
Uninit the ucamera module.