summaryrefslogtreecommitdiff
path: root/apps/recorder/resize.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-11-08 21:39:23 +0000
committerThomas Martitz <kugel@rockbox.org>2011-11-08 21:39:23 +0000
commitc7b8054714cff4580ddbdbf5c9d503b20ff45740 (patch)
tree20e896da7940e667e5696a7dafaffebd337783df /apps/recorder/resize.h
parentf443e7bbf7771ce3a79b1c2116b9cf216f15938f (diff)
downloadrockbox-c7b8054714cff4580ddbdbf5c9d503b20ff45740.tar.gz
rockbox-c7b8054714cff4580ddbdbf5c9d503b20ff45740.zip
Adapt the resize-on-load image scalers to support the alpha channel.
Now 32bit BMPs with alpha channel can be up- and downscaled without losing transparency information. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30938 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/resize.h')
-rw-r--r--apps/recorder/resize.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/recorder/resize.h b/apps/recorder/resize.h
index d71a3e7f1c..7e0a991eea 100644
--- a/apps/recorder/resize.h
+++ b/apps/recorder/resize.h
@@ -113,10 +113,11 @@ struct img_part {
113/* intermediate type used by the scaler for color output. greyscale version 113/* intermediate type used by the scaler for color output. greyscale version
114 uses uint32_t 114 uses uint32_t
115*/ 115*/
116struct uint32_rgb { 116struct uint32_argb {
117 uint32_t r; 117 uint32_t r;
118 uint32_t g; 118 uint32_t g;
119 uint32_t b; 119 uint32_t b;
120 uint32_t a;
120}; 121};
121#endif 122#endif
122 123