47 #ifdef SMARTUAV_SIMULATOR
48 SMARTUAV_IMPORT(&img);
58 for (j = 0; j < img.
h; j++) {
59 for (i = 0; i < img.
w; i += 2) {
void video_thread_start(void)
Starts the streaming of a all cameras.
struct video_thread_t video_thread
Dummy C implementation for simulation The V4L2 could also work in simulation, but must be adapted a b...
void image_free(struct image_t *img)
Free the image.
void image_create(struct image_t *img, uint16_t width, uint16_t height, enum image_type type)
Create a new image.
Start a Video thread and grab images.
void video_thread_stop(void)
Stops the streaming of all cameras This could take some time, because the thread is stopped asynchron...
void video_thread_init(void)
Initialize the view video.
Image helper functions like resizing, color filter, converters...
Computer vision framework for onboard processing.
void * buf
Image buffer (depending on the image_type)
void video_thread_periodic(void)
A dummy for now.
void video_thread_take_shot(bool take)
volatile bool is_running
When the device is running.
UYVY format (uint16 per pixel)
bool add_video_device(struct video_config_t *device)