Speedup image channel operation + alpha masking + etc 02/271702/10
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 25 Feb 2022 06:08:15 +0000 (15:08 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Mon, 28 Feb 2022 08:57:37 +0000 (17:57 +0900)
commit247e6d4d1a187a3106373a1955be014fc2d1f6f9
tree206942f4037437910086fbd3c0d34a0ac5027d95
parent5d955254322d4bcf85a500061a232b55c025a395
Speedup image channel operation + alpha masking + etc

Refactoring image channel selection algorithm.
Previous version run some unneccessary iterations
to select the offset of channel.
This patch change that we use offset pre-calculated table.
Now we can select & apply O(1) time complexity.
+
Remove unneccessary float operation during alpha masking.
+
Add some more dark magics on linear interpolation jobs.
+
Add some more dark magics on scanline.
Before patch reduced only each-line. This patch also reduce between-line operation
This patch, we can calculate 8 components in one operation.

Change-Id: I3b1ce7abbd5d719cd580c789167970e9012e3dbd
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali-adaptor-internal/utc-Dali-ImageOperations.cpp
dali/internal/imaging/common/alpha-mask.cpp
dali/internal/imaging/common/alpha-mask.h
dali/internal/imaging/common/image-operations.cpp
dali/internal/imaging/common/image-operations.h
dali/internal/imaging/common/pixel-buffer-impl.cpp
dali/internal/imaging/common/pixel-manipulation.cpp