summaryrefslogtreecommitdiff
path: root/camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'camera.h')
-rw-r--r--camera.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/camera.h b/camera.h
index 00c8c07..4888729 100644
--- a/camera.h
+++ b/camera.h
@@ -103,7 +103,8 @@ PictureFormat camera_closest_resolution(Camera *camera, uint32_t pixfmt, int32_t
int32_t camera_frame_width(Camera *camera);
int32_t camera_frame_height(Camera *camera);
PictureFormat camera_picture_format(Camera *camera);
-void camera_write_jpg(Camera *camera, const char *name, int quality);
+void camera_save_jpg(Camera *camera, const char *path, int quality);
+void camera_save_png(Camera *camera, const char *path);
bool camera_next_frame(Camera *camera);
void camera_update_gl_textures(Camera *camera, const GLuint textures[3]);
const char *camera_name(Camera *camera);