summaryrefslogtreecommitdiff
path: root/trunk/simd
diff options
context:
space:
mode:
authordcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2011-09-08 23:54:40 +0000
committerdcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2011-09-08 23:54:40 +0000
commitce61a9dd8b021c6a6ca147c721af4f6886985e9a (patch)
tree2635f7aaa429868e7f8cebe0dbd9f3ce0bc4b23a /trunk/simd
parent0c0340fe0ebb95acaaaf3122e12c454371573d5c (diff)
When decompressing to a 4-byte RGB buffer, set the unused byte to 0xFF so it can be interpreted as an opaque alpha channel.
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@699 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'trunk/simd')
-rw-r--r--trunk/simd/jsimdcfg.inc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/trunk/simd/jsimdcfg.inc.h b/trunk/simd/jsimdcfg.inc.h
index 13cff03..0dacd06 100644
--- a/trunk/simd/jsimdcfg.inc.h
+++ b/trunk/simd/jsimdcfg.inc.h
@@ -64,6 +64,8 @@ definev(EXT_XRGB_GREEN)
definev(EXT_XRGB_BLUE)
definev(EXT_XRGB_PIXELSIZE)
+%define RGBX_FILLER_0XFF 1
+
; Representation of a single sample (pixel element value).
; On this SIMD implementation, this must be 'unsigned char'.
;