Revert "[4.0] Added an devel-API to check whether video texture is supported"
[platform/core/uifw/dali-adaptor.git] / platform-abstractions / portable / image-operations.h
index 3b2ac9d..0c1e253 100644 (file)
@@ -24,6 +24,7 @@
 // INTERNAL INCLUDES
 #include <dali/integration-api/bitmap.h>
 #include <dali/public-api/images/image-operations.h>
+#include <resampler.h>
 
 namespace Dali
 {
@@ -357,6 +358,25 @@ void LanczosSample1BPP( const unsigned char * __restrict__ inPixels,
                         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 Resample( const unsigned char * __restrict__ inPixels,
+               ImageDimensions inputDimensions,
+               unsigned char * __restrict__ outPixels,
+               ImageDimensions desiredDimensions,
+               Resampler::Filter filterType,
+               int numChannels, bool hasAlpha );
+
+
 /**@}*/
 
 /**