summaryrefslogtreecommitdiff
path: root/camera.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-02-25 17:16:26 -0500
committerpommicket <pommicket@gmail.com>2025-02-25 17:16:26 -0500
commite78c40d08e324b98f62c88c055b5194ce2a7f4f2 (patch)
treefcee8aedfe43b8dd424cc88c269f8d3b12779c7b /camera.h
parentb6656786caa1b5247e251e63d15f3173bcf3d26f (diff)
save & restore settings
Diffstat (limited to 'camera.h')
-rw-r--r--camera.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/camera.h b/camera.h
index 8e991dd..71f4788 100644
--- a/camera.h
+++ b/camera.h
@@ -103,6 +103,8 @@ static bool hash_eq(Hash h1, Hash h2) {
#define HASH_STR_SIZE (2 * HASH_SIZE + 1)
void hash_to_str(Hash h, char str[HASH_STR_SIZE]);
+bool hash_from_str(Hash *hash, const char *str);
+
void camera_init(const GlProcs *procs);
bool pix_fmt_supported(uint32_t pixfmt);
int picture_format_cmp_resolution(const PictureFormat *a, const PictureFormat *b);