aboutsummaryrefslogtreecommitdiff
path: root/src/hdf5-file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hdf5-file.h')
-rw-r--r--src/hdf5-file.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/hdf5-file.h b/src/hdf5-file.h
index ec9e3a85..528292ca 100644
--- a/src/hdf5-file.h
+++ b/src/hdf5-file.h
@@ -23,7 +23,7 @@
struct hdfile;
-extern int hdf5_write(const char *filename, const uint16_t *data,
+extern int hdf5_write(const char *filename, const int16_t *data,
int width, int height);
extern int hdf5_read(struct hdfile *f, struct image *image);
@@ -32,8 +32,10 @@ extern struct hdfile *hdfile_open(const char *filename);
extern int hdfile_set_image(struct hdfile *f, const char *path);
extern int hdfile_get_width(struct hdfile *f);
extern int hdfile_get_height(struct hdfile *f);
-extern uint16_t *hdfile_get_image_binned(struct hdfile *hdfile,
- int binning, uint16_t *maxp);
+extern int16_t *hdfile_get_image_binned(struct hdfile *hdfile,
+ int binning, int16_t *maxp);
+extern int hdfile_get_unbinned_value(struct hdfile *f, int x, int y,
+ int16_t *val);
extern void hdfile_close(struct hdfile *f);
#endif /* HDF5_H */