summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-12-01 19:41:15 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-12-02 11:10:45 +0100
commit48d1df74036386ce19cfabd64d90afcd1532d5c9 (patch)
tree580e29dec6b1d8f56b90f8862b994f3946ac048c /include
parentcd5bef5e19c2812386ab6afee4b3bc43fe5541b9 (diff)
use same [un]premultiply
Change-Id: Idd1ca1243b64a9ec606382a0895e11376a2ec186 Reviewed-on: https://gerrit.libreoffice.org/64406 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/BitmapTools.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/vcl/BitmapTools.hxx b/include/vcl/BitmapTools.hxx
index 6a8f6c8b9605..ff431783ad24 100644
--- a/include/vcl/BitmapTools.hxx
+++ b/include/vcl/BitmapTools.hxx
@@ -28,6 +28,11 @@ namespace com { namespace sun { namespace star { namespace geometry { struct Int
namespace vcl {
namespace bitmap {
+typedef sal_uInt8 (*lookup_table)[256];
+
+lookup_table VCL_DLLPUBLIC get_premultiply_table();
+lookup_table VCL_DLLPUBLIC get_unpremultiply_table();
+
/**
* Intended to be used to feed into CreateFromData to create a BitmapEx. RGB data format.
*/