diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2011-11-08 21:39:23 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2011-11-08 21:39:23 +0000 |
| commit | c7b8054714cff4580ddbdbf5c9d503b20ff45740 (patch) | |
| tree | 20e896da7940e667e5696a7dafaffebd337783df /apps/recorder/resize.h | |
| parent | f443e7bbf7771ce3a79b1c2116b9cf216f15938f (diff) | |
| download | rockbox-c7b8054714cff4580ddbdbf5c9d503b20ff45740.zip rockbox-c7b8054714cff4580ddbdbf5c9d503b20ff45740.tar.gz rockbox-c7b8054714cff4580ddbdbf5c9d503b20ff45740.tar.bz2 rockbox-c7b8054714cff4580ddbdbf5c9d503b20ff45740.tar.xz | |
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/recorder/resize.h b/apps/recorder/resize.h index d71a3e7..7e0a991 100644 --- a/apps/recorder/resize.h +++ b/apps/recorder/resize.h @@ -113,10 +113,11 @@ struct img_part { /* intermediate type used by the scaler for color output. greyscale version uses uint32_t */ -struct uint32_rgb { +struct uint32_argb { uint32_t r; uint32_t g; uint32_t b; + uint32_t a; }; #endif |