equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
70 * MLIB_SHORT, MLIB_USHORT or MLIB_INT data type. |
70 * MLIB_SHORT, MLIB_USHORT or MLIB_INT data type. |
71 * |
71 * |
72 * src image can not have width or height larger than 32767. |
72 * src image can not have width or height larger than 32767. |
73 */ |
73 */ |
74 |
74 |
|
75 #include "jni.h" |
75 #include "mlib_ImageCheck.h" |
76 #include "mlib_ImageCheck.h" |
76 #include "mlib_ImageAffine.h" |
77 #include "mlib_ImageAffine.h" |
77 |
78 |
78 |
79 |
79 /***************************************************************/ |
80 /***************************************************************/ |
297 |
298 |
298 return res; |
299 return res; |
299 } |
300 } |
300 |
301 |
301 /***************************************************************/ |
302 /***************************************************************/ |
|
303 JNIEXPORT |
302 mlib_status mlib_ImageAffine(mlib_image *dst, |
304 mlib_status mlib_ImageAffine(mlib_image *dst, |
303 const mlib_image *src, |
305 const mlib_image *src, |
304 const mlib_d64 *mtx, |
306 const mlib_d64 *mtx, |
305 mlib_filter filter, |
307 mlib_filter filter, |
306 mlib_edge edge) |
308 mlib_edge edge) |