summaryrefslogtreecommitdiff
path: root/apps/recorder/jpeg_load.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/jpeg_load.h')
-rw-r--r--apps/recorder/jpeg_load.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/recorder/jpeg_load.h b/apps/recorder/jpeg_load.h
index 6ff96dabad..129b0fbf19 100644
--- a/apps/recorder/jpeg_load.h
+++ b/apps/recorder/jpeg_load.h
@@ -32,6 +32,13 @@
32#ifndef _JPEG_LOAD_H 32#ifndef _JPEG_LOAD_H
33#define _JPEG_LOAD_H 33#define _JPEG_LOAD_H
34 34
35/* Approximate memory overhead required for JPEG decoding. This memory is
36 * taken from the bitmap buffer so you must ensure the buffer is big enough
37 * to contain all decoded pixel data plus decoder overhead, otherwise the
38 * image cannot be loaded. After the image is loaded this extra memory can
39 * be freed. */
40extern const size_t JPEG_DECODE_OVERHEAD;
41
35int read_jpeg_file(const char* filename, 42int read_jpeg_file(const char* filename,
36 struct bitmap *bm, 43 struct bitmap *bm,
37 int maxsize, 44 int maxsize,