Allow to configure options
This commit is contained in:
@ -30,9 +30,12 @@ int device_consume_event(device_t *device);
|
||||
int device_set_stream(device_t *dev, bool do_on);
|
||||
int device_set_decoder_start(device_t *dev, bool do_on);
|
||||
int device_video_force_key(device_t *dev);
|
||||
|
||||
int device_set_fps(device_t *dev, int desired_fps);
|
||||
int device_set_pad_format(device_t *device, unsigned width, unsigned height, unsigned format);
|
||||
int device_set_option(device_t *dev, const char *name, uint32_t id, int32_t value);
|
||||
int device_set_fps(device_t *dev, int desired_fps);
|
||||
int device_set_option_string(device_t *dev, const char *option);
|
||||
void device_set_option_list(device_t *dev, const char *option_list);
|
||||
|
||||
#define DEVICE_SET_OPTION(dev, name, value) \
|
||||
device_set_option(dev, #name, V4L2_CID_##name, value)
|
||||
|
Reference in New Issue
Block a user