diff options
Diffstat (limited to 'apps/recorder/resize.h')
-rw-r--r-- | apps/recorder/resize.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/recorder/resize.h b/apps/recorder/resize.h index ca7e6326d0..9b52a7aa65 100644 --- a/apps/recorder/resize.h +++ b/apps/recorder/resize.h | |||
@@ -45,8 +45,7 @@ | |||
45 | 45 | ||
46 | struct img_part { | 46 | struct img_part { |
47 | int len; | 47 | int len; |
48 | #if !defined(HAVE_LCD_COLOR) && \ | 48 | #if !defined(HAVE_LCD_COLOR) |
49 | (LCD_DEPTH > 1 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)) | ||
50 | uint8_t *buf; | 49 | uint8_t *buf; |
51 | #else | 50 | #else |
52 | struct uint8_rgb* buf; | 51 | struct uint8_rgb* buf; |
@@ -95,4 +94,10 @@ int resize_on_load(struct bitmap *bm, bool dither, | |||
95 | const struct custom_format *cformat, | 94 | const struct custom_format *cformat, |
96 | struct img_part* (*store_part)(void *args), | 95 | struct img_part* (*store_part)(void *args), |
97 | void *args); | 96 | void *args); |
97 | |||
98 | #ifdef PLUGIN | ||
99 | struct plugin_api; | ||
100 | void resize_init(const struct plugin_api *api); | ||
101 | #endif | ||
102 | |||
98 | #endif /* _RESIZE_H_ */ | 103 | #endif /* _RESIZE_H_ */ |