/*M///////////////////////////////////////////////////////////////////////////////////////1//2// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.3//4// By downloading, copying, installing or using the software you agree to this license.5// If you do not agree to this license, do not download, install,6// copy or use the software.7//8//9// License Agreement10// For Open Source Computer Vision Library11//12// Copyright (C) 2000-2008, Intel Corporation, all rights reserved.13// Copyright (C) 2009, Willow Garage Inc., all rights reserved.14// Copyright (C) 2014-2015, Itseez Inc., all rights reserved.15// Third party copyrights are property of their respective owners.16//17// Redistribution and use in source and binary forms, with or without modification,18// are permitted provided that the following conditions are met:19//20// * Redistribution's of source code must retain the above copyright notice,21// this list of conditions and the following disclaimer.22//23// * Redistribution's in binary form must reproduce the above copyright notice,24// this list of conditions and the following disclaimer in the documentation25// and/or other materials provided with the distribution.26//27// * The name of the copyright holders may not be used to endorse or promote products28// derived from this software without specific prior written permission.29//30// This software is provided by the copyright holders and contributors "as is" and31// any express or implied warranties, including, but not limited to, the implied32// warranties of merchantability and fitness for a particular purpose are disclaimed.33// In no event shall the Intel Corporation or contributors be liable for any direct,34// indirect, incidental, special, exemplary, or consequential damages35// (including, but not limited to, procurement of substitute goods or services;36// loss of use, data, or profits; or business interruption) however caused37// and on any theory of liability, whether in contract, strict liability,38// or tort (including negligence or otherwise) arising in any way out of39// the use of this software, even if advised of the possibility of such damage.40//41//M*/4243/* ////////////////////////////////////////////////////////////////////44//45// Geometrical transforms on images and matrices: rotation, zoom etc.46//47// */4849#ifndef OPENCV_IMGPROC_IMGWARP_HPP50#define OPENCV_IMGPROC_IMGWARP_HPP51#include "precomp.hpp"5253namespace cv54{55namespace opt_AVX256{57#if CV_TRY_AVX258int warpAffineBlockline(int *adelta, int *bdelta, short* xy, short* alpha, int X0, int Y0, int bw);59#endif60}6162namespace opt_SSE4_163{64#if CV_TRY_SSE4_165void convertMaps_nninterpolate32f1c16s_SSE41(const float* src1f, const float* src2f, short* dst1, int width);66void convertMaps_32f1c16s_SSE41(const float* src1f, const float* src2f, short* dst1, ushort* dst2, int width);67void convertMaps_32f2c16s_SSE41(const float* src1f, short* dst1, ushort* dst2, int width);68void WarpAffineInvoker_Blockline_SSE41(int *adelta, int *bdelta, short* xy, int X0, int Y0, int bw);6970class WarpPerspectiveLine_SSE471{72public:73static Ptr<WarpPerspectiveLine_SSE4> getImpl(const double *M);74virtual void processNN(const double *M, short* xy, double X0, double Y0, double W0, int bw) = 0;75virtual void process(const double *M, short* xy, short* alpha, double X0, double Y0, double W0, int bw) = 0;76virtual ~WarpPerspectiveLine_SSE4() {};77};78#endif79}80}81#endif82/* End of file. */838485