Implement rate command

This commit is contained in:
Martijn Braam
2023-07-20 22:50:43 +02:00
parent 23ec7fd7e4
commit 9137d56ea6
4 changed files with 46 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ libmegapixels_find_config(char *configfile);
#define LIBMEGAPIXELS_CMD_LINK 1
#define LIBMEGAPIXELS_CMD_MODE 2
#define LIBMEGAPIXELS_CMD_CROP 3
#define LIBMEGAPIXELS_CMD_INTERVAL 4
#define LIBMEGAPIXELS_CFA_NONE 0
#define LIBMEGAPIXELS_CFA_BGGR 1
@@ -31,6 +32,7 @@ struct _lmp_cmd {
int top;
int left;
int format;
int rate;
uint32_t entity_from_id;
int pad_from_id;