Changed alpha mask scaling to use Lanczos. 95/138995/4
authorDavid Steele <david.steele@samsung.com>
Fri, 14 Jul 2017 14:58:58 +0000 (15:58 +0100)
committerDavid Steele <david.steele@samsung.com>
Mon, 17 Jul 2017 10:36:35 +0000 (11:36 +0100)
commit316892a6d5196a469bfda0bd56bca85dfce8271b
tree607627fcf38631f680db65674bac13590edd0f10
parent7c6261f3afb27edb53485a89c1a0dca04ee2dbeb
Changed alpha mask scaling to use Lanczos.

Increases the quality significantly.

Changed the outer sampling method to handle both 4 channel and 1 channel images
(in case the alpha mask is L8 only).
With some slight blurring of the alpha mask during scaling, have had to choose
different pixels in the test cases.

Change-Id: I348300cb4a28b1c0814495cc10ff589196b339e8
Signed-off-by: David Steele <david.steele@samsung.com>
automated-tests/src/dali-adaptor/utc-Dali-PixelBuffer.cpp
platform-abstractions/portable/alpha-mask.cpp
platform-abstractions/portable/image-operations.cpp
platform-abstractions/portable/image-operations.h