summaryrefslogtreecommitdiffstats
path: root/src/uca-cam.c
blob: b77d62b5e0474e2627fbbb0077b4444437d12956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

#include <stdlib.h>
#include "uca.h"
#include "uca-cam.h"
#include "uca-grabber.h"

uint32_t uca_cam_alloc(struct uca_camera_t *cam, uint32_t n_buffers)
{
    cam->grabber->alloc(cam->grabber, n_buffers);
}

enum uca_cam_state uca_cam_get_state(struct uca_camera_t *cam)
{
    return cam->state;
}