diff options
Diffstat (limited to 'camera.h')
-rw-r--r-- | camera.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |