Make some image operation as bitwise operation + Reduce alpha-masking op 24/271624/4
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 23 Feb 2022 12:50:05 +0000 (21:50 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 23 Feb 2022 16:36:39 +0000 (01:36 +0900)
commit7536ca7cecbb3058403dace0983afc037c6798ee
tree95481ef1f0ffeb5c6835e7d09fbc58401a63a646
parentfabf565e6e8818cf429b8e2cc9ea6bf082723b4a
Make some image operation as bitwise operation + Reduce alpha-masking op

Make some simple arithmetic (and computer don't friendly) operations as
2-bit bitwise (and computer friendly) operations.
+
Tiny optimizer when premultiply alpha image pixels

Change-Id: Iff1878d7a6709d54a59cea5cffd55c69cbb7b0cb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/imaging/common/image-operations.cpp
dali/internal/imaging/common/image-operations.h
dali/internal/imaging/common/pixel-buffer-impl.cpp