projects
/
platform
/
core
/
graphics
/
tizenvg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4c320f
)
sw_engine raster: remove the condition which is out of the genearal case.
author
Hermet Park
<chuneon.park@samsung.com>
Thu, 18 Nov 2021 04:18:23 +0000
(13:18 +0900)
committer
JunsuChoi
<jsuya.choi@samsung.com>
Fri, 19 Nov 2021 05:27:38 +0000
(14:27 +0900)
src/lib/sw_engine/tvgSwRaster.cpp
patch
|
blob
|
history
diff --git
a/src/lib/sw_engine/tvgSwRaster.cpp
b/src/lib/sw_engine/tvgSwRaster.cpp
index
c019396
..
0553658
100644
(file)
--- a/
src/lib/sw_engine/tvgSwRaster.cpp
+++ b/
src/lib/sw_engine/tvgSwRaster.cpp
@@
-84,8
+84,6
@@
static uint32_t _interpUpScaler(const uint32_t *img, uint32_t w, uint32_t h, flo
auto c3 = img[(rX + 1) + ((rY + 1) * w)];
auto c4 = img[rX + ((rY + 1) * w)];
- if (c1 == c2 && c1 == c3 && c1 == c4) return img[rX + (rY * w)];
-
return COLOR_INTERPOLATE(COLOR_INTERPOLATE(c1, 255 - dX, c2, dX), 255 - dY, COLOR_INTERPOLATE(c4, 255 - dX, c3, dX), dY);
}