X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=blobdiff_plain;f=platform-abstractions%2Fportable%2Fimage-operations.h;h=3b2ac9d092444d62dd67a9b47657a2019a5596aa;hp=dd46ee460cb900e669b58178051e0c738b349e3a;hb=316892a6d5196a469bfda0bd56bca85dfce8271b;hpb=7c6261f3afb27edb53485a89c1a0dca04ee2dbeb diff --git a/platform-abstractions/portable/image-operations.h b/platform-abstractions/portable/image-operations.h index dd46ee4..3b2ac9d 100644 --- a/platform-abstractions/portable/image-operations.h +++ b/platform-abstractions/portable/image-operations.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -329,7 +329,7 @@ void LinearSample4BPP( const unsigned char * __restrict__ inPixels, * @brief Resamples the input image with the Lanczos algorithm. * * @pre @p inPixels must not alias @p outPixels. The input image should be a totally - * separate buffer from the input one. + * separate buffer from the output buffer. * * @param[in] inPixels Pointer to the input image buffer. * @param[in] inputDimensions The input dimensions of the image. @@ -340,6 +340,23 @@ void LanczosSample4BPP( const unsigned char * __restrict__ inPixels, ImageDimensions inputDimensions, unsigned char * __restrict__ outPixels, ImageDimensions desiredDimensions ); + +/** + * @brief Resamples the input image with the Lanczos algorithm. + * + * @pre @p inPixels must not alias @p outPixels. The input image should be a totally + * separate buffer from the output buffer. + * + * @param[in] inPixels Pointer to the input image buffer. + * @param[in] inputDimensions The input dimensions of the image. + * @param[out] outPixels Pointer to the output image buffer. + * @param[in] desiredDimensions The output dimensions of the image. + */ +void LanczosSample1BPP( const unsigned char * __restrict__ inPixels, + ImageDimensions inputDimensions, + unsigned char * __restrict__ outPixels, + ImageDimensions desiredDimensions ); + /**@}*/ /**