summaryrefslogtreecommitdiffstats
path: root/image_writer.h
diff options
context:
space:
mode:
Diffstat (limited to 'image_writer.h')
-rw-r--r--image_writer.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/image_writer.h b/image_writer.h
index 9df1d88583..e73b526c7e 100644
--- a/image_writer.h
+++ b/image_writer.h
@@ -46,5 +46,8 @@ const char *image_writer_file_ext(const struct image_writer_opts *opts);
* accordingly. Setting w and width or h and height to different values
* can be used to store snapshots of anamorphic video.
*/
-int write_image(struct mp_image *image, const struct mp_csp_details *csp,
- const struct image_writer_opts *opts, const char *filename);
+int write_image(struct mp_image *image, const struct image_writer_opts *opts,
+ const char *filename);
+
+// Debugging helper.
+void dump_png(struct mp_image *image, const char *filename);