1 /* 2 * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 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 7 * published by the Free Software Foundation. Oracle designates this 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 10 * 11 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * version 2 for more details (a copy is included in the LICENSE file that 15 * accompanied this code). 16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 27 #ifndef __ORIG_MLIB_IMAGE_PROTO_H 28 #define __ORIG_MLIB_IMAGE_PROTO_H 29 30 #include <mlib_types.h> 31 #include <mlib_status.h> 32 #include <mlib_image_types.h> 33 #if defined ( __MEDIALIB_OLD_NAMES_ADDED ) 34 #include <../include/mlib_image_proto.h> 35 #endif /* defined ( __MEDIALIB_OLD_NAMES_ADDED ) */ 36 37 #ifdef __cplusplus 38 extern "C" { 39 #endif /* __cplusplus */ 40 41 #if defined ( __USE_J2D_NAMES ) 42 #include "j2d_names.h" 43 #endif // __USE_J2D_NAMES 44 45 #if defined ( _MSC_VER ) 46 #define J2D_MLIB_PUBLIC __declspec(dllexport) 47 #else 48 #define J2D_MLIB_PUBLIC 49 #endif /* _MSC_VER */ 50 51 #if defined ( _MSC_VER ) 52 #if ! defined ( __MEDIALIB_OLD_NAMES ) 53 #define __MEDIALIB_OLD_NAMES 54 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 55 #endif /* defined ( _MSC_VER ) */ 56 57 /* Arithmetic Operations ( arith ) */ 58 59 60 #if defined ( __MEDIALIB_OLD_NAMES ) 61 #define __mlib_ImageAbs mlib_ImageAbs 62 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 63 mlib_status __mlib_ImageAbs(mlib_image *dst, 64 const mlib_image *src); 65 66 67 #if defined ( __MEDIALIB_OLD_NAMES ) 68 #define __mlib_ImageAbs_Fp mlib_ImageAbs_Fp 69 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 70 mlib_status __mlib_ImageAbs_Fp(mlib_image *dst, 71 const mlib_image *src); 1042 1043 #if defined ( __MEDIALIB_OLD_NAMES ) 1044 #define __mlib_ImageColorYCC2RGB mlib_ImageColorYCC2RGB 1045 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1046 mlib_status __mlib_ImageColorYCC2RGB(mlib_image *dst, 1047 const mlib_image *src); 1048 1049 1050 #if defined ( __MEDIALIB_OLD_NAMES ) 1051 #define __mlib_ImageColorYCC2RGB_Fp mlib_ImageColorYCC2RGB_Fp 1052 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1053 mlib_status __mlib_ImageColorYCC2RGB_Fp(mlib_image *dst, 1054 const mlib_image *src); 1055 1056 /* Image Creation, Deletion and Query ( common ) */ 1057 1058 1059 #if defined ( __MEDIALIB_OLD_NAMES ) 1060 #define __mlib_ImageCreate mlib_ImageCreate 1061 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1062 J2D_MLIB_PUBLIC 1063 mlib_image * __mlib_ImageCreate(mlib_type type, 1064 mlib_s32 channels, 1065 mlib_s32 width, 1066 mlib_s32 height); 1067 1068 1069 #if defined ( __MEDIALIB_OLD_NAMES ) 1070 #define __mlib_ImageCreateStruct mlib_ImageCreateStruct 1071 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1072 J2D_MLIB_PUBLIC 1073 mlib_image * __mlib_ImageCreateStruct(mlib_type type, 1074 mlib_s32 channels, 1075 mlib_s32 width, 1076 mlib_s32 height, 1077 mlib_s32 stride, 1078 const void *data); 1079 1080 1081 #if defined ( __MEDIALIB_OLD_NAMES ) 1082 #define __mlib_ImageCreateSubimage mlib_ImageCreateSubimage 1083 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1084 mlib_image * __mlib_ImageCreateSubimage(mlib_image *img, 1085 mlib_s32 x, 1086 mlib_s32 y, 1087 mlib_s32 w, 1088 mlib_s32 h); 1089 1090 1091 #if defined ( __MEDIALIB_OLD_NAMES ) 1092 #define __mlib_ImageDelete mlib_ImageDelete 1093 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1094 J2D_MLIB_PUBLIC 1095 void __mlib_ImageDelete(mlib_image *img); 1096 1097 1098 #if defined ( __MEDIALIB_OLD_NAMES ) 1099 #define __mlib_ImageSetPaddings mlib_ImageSetPaddings 1100 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1101 mlib_status __mlib_ImageSetPaddings(mlib_image *img, 1102 mlib_u8 left, 1103 mlib_u8 top, 1104 mlib_u8 right, 1105 mlib_u8 bottom); 1106 1107 1108 #if defined ( __MEDIALIB_OLD_NAMES ) 1109 #define __mlib_ImageSetFormat mlib_ImageSetFormat 1110 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1111 mlib_status __mlib_ImageSetFormat(mlib_image *img, 1112 mlib_format format); 1113 1114 1115 #if defined ( __MEDIALIB_OLD_NAMES ) 1404 const mlib_s32 *srcBandoffsets, 1405 mlib_s32 srcScanlinestride, 1406 mlib_s32 srcPixelstride); 1407 1408 /* Fourier Transformation ( fourier ) */ 1409 1410 1411 #if defined ( __MEDIALIB_OLD_NAMES ) 1412 #define __mlib_ImageFourierTransform mlib_ImageFourierTransform 1413 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1414 mlib_status __mlib_ImageFourierTransform(mlib_image *dst, 1415 const mlib_image *src, 1416 mlib_fourier_mode mode); 1417 1418 /* Geometric Operations ( geom ) */ 1419 1420 1421 #if defined ( __MEDIALIB_OLD_NAMES ) 1422 #define __mlib_ImageAffine mlib_ImageAffine 1423 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1424 J2D_MLIB_PUBLIC 1425 mlib_status __mlib_ImageAffine(mlib_image *dst, 1426 const mlib_image *src, 1427 const mlib_d64 *mtx, 1428 mlib_filter filter, 1429 mlib_edge edge); 1430 1431 1432 #if defined ( __MEDIALIB_OLD_NAMES ) 1433 #define __mlib_ImageAffineTable mlib_ImageAffineTable 1434 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1435 mlib_status __mlib_ImageAffineTable(mlib_image *dst, 1436 const mlib_image *src, 1437 const mlib_d64 *mtx, 1438 const void *interp_table, 1439 mlib_edge edge); 1440 1441 1442 #if defined ( __MEDIALIB_OLD_NAMES ) 1443 #define __mlib_ImageAffineTable_Fp mlib_ImageAffineTable_Fp 1444 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1445 mlib_status __mlib_ImageAffineTable_Fp(mlib_image *dst, 2285 const mlib_image *img); 2286 2287 2288 #if defined ( __MEDIALIB_OLD_NAMES ) 2289 #define __mlib_ImageHistogram2 mlib_ImageHistogram2 2290 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 2291 mlib_status __mlib_ImageHistogram2(mlib_s32 ** histo, 2292 const mlib_image *img, 2293 const mlib_s32 *numBins, 2294 const mlib_s32 *lowValue, 2295 const mlib_s32 *highValue, 2296 mlib_s32 xStart, 2297 mlib_s32 yStart, 2298 mlib_s32 xPeriod, 2299 mlib_s32 yPeriod); 2300 2301 2302 #if defined ( __MEDIALIB_OLD_NAMES ) 2303 #define __mlib_ImageLookUp mlib_ImageLookUp 2304 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 2305 J2D_MLIB_PUBLIC 2306 mlib_status __mlib_ImageLookUp(mlib_image *dst, 2307 const mlib_image *src, 2308 const void **table); 2309 2310 2311 #if defined ( __MEDIALIB_OLD_NAMES ) 2312 #define __mlib_ImageLookUp2 mlib_ImageLookUp2 2313 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 2314 mlib_status __mlib_ImageLookUp2(mlib_image *dst, 2315 const mlib_image *src, 2316 const void **table, 2317 const mlib_s32 *offsets, 2318 mlib_s32 channels); 2319 2320 2321 #if defined ( __MEDIALIB_OLD_NAMES ) 2322 #define __mlib_ImageLookUpMask mlib_ImageLookUpMask 2323 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 2324 mlib_status __mlib_ImageLookUpMask(mlib_image *dst, 2325 const mlib_image *src, 2326 const void **table, 2614 const mlib_image *src, 2615 const mlib_s32 *kernel, 2616 mlib_s32 scale, 2617 mlib_s32 cmask, 2618 mlib_edge edge); 2619 2620 2621 #if defined ( __MEDIALIB_OLD_NAMES ) 2622 #define __mlib_ImageConv7x7_Fp mlib_ImageConv7x7_Fp 2623 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 2624 mlib_status __mlib_ImageConv7x7_Fp(mlib_image *dst, 2625 const mlib_image *src, 2626 const mlib_d64 *kernel, 2627 mlib_s32 cmask, 2628 mlib_edge edge); 2629 2630 2631 #if defined ( __MEDIALIB_OLD_NAMES ) 2632 #define __mlib_ImageConvKernelConvert mlib_ImageConvKernelConvert 2633 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 2634 J2D_MLIB_PUBLIC 2635 mlib_status __mlib_ImageConvKernelConvert(mlib_s32 *ikernel, 2636 mlib_s32 *iscale, 2637 const mlib_d64 *fkernel, 2638 mlib_s32 m, 2639 mlib_s32 n, 2640 mlib_type type); 2641 2642 2643 #if defined ( __MEDIALIB_OLD_NAMES ) 2644 #define __mlib_ImageConvMxN mlib_ImageConvMxN 2645 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 2646 J2D_MLIB_PUBLIC 2647 mlib_status __mlib_ImageConvMxN(mlib_image *dst, 2648 const mlib_image *src, 2649 const mlib_s32 *kernel, 2650 mlib_s32 m, 2651 mlib_s32 n, 2652 mlib_s32 dm, 2653 mlib_s32 dn, 2654 mlib_s32 scale, 2655 mlib_s32 cmask, 2656 mlib_edge edge); 2657 2658 2659 #if defined ( __MEDIALIB_OLD_NAMES ) 2660 #define __mlib_ImageConvMxN_Fp mlib_ImageConvMxN_Fp 2661 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 2662 mlib_status __mlib_ImageConvMxN_Fp(mlib_image *dst, 2663 const mlib_image *src, 2664 const mlib_d64 *kernel, 2665 mlib_s32 m, 2666 mlib_s32 n, 2667 mlib_s32 dm, | 1 /* 2 * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 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 7 * published by the Free Software Foundation. Oracle designates this 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 10 * 11 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * version 2 for more details (a copy is included in the LICENSE file that 15 * accompanied this code). 16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 27 #ifndef __ORIG_MLIB_IMAGE_PROTO_H 28 #define __ORIG_MLIB_IMAGE_PROTO_H 29 30 #include <mlib_types.h> 31 #include <mlib_status.h> 32 #include <mlib_image_types.h> 33 #include "jni.h" 34 #if defined ( __MEDIALIB_OLD_NAMES_ADDED ) 35 #include <../include/mlib_image_proto.h> 36 #endif /* defined ( __MEDIALIB_OLD_NAMES_ADDED ) */ 37 38 #ifdef __cplusplus 39 extern "C" { 40 #endif /* __cplusplus */ 41 42 #if defined ( __USE_J2D_NAMES ) 43 #include "j2d_names.h" 44 #endif // __USE_J2D_NAMES 45 46 #if defined ( _MSC_VER ) 47 #if ! defined ( __MEDIALIB_OLD_NAMES ) 48 #define __MEDIALIB_OLD_NAMES 49 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 50 #endif /* defined ( _MSC_VER ) */ 51 52 /* Arithmetic Operations ( arith ) */ 53 54 55 #if defined ( __MEDIALIB_OLD_NAMES ) 56 #define __mlib_ImageAbs mlib_ImageAbs 57 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 58 mlib_status __mlib_ImageAbs(mlib_image *dst, 59 const mlib_image *src); 60 61 62 #if defined ( __MEDIALIB_OLD_NAMES ) 63 #define __mlib_ImageAbs_Fp mlib_ImageAbs_Fp 64 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 65 mlib_status __mlib_ImageAbs_Fp(mlib_image *dst, 66 const mlib_image *src); 1037 1038 #if defined ( __MEDIALIB_OLD_NAMES ) 1039 #define __mlib_ImageColorYCC2RGB mlib_ImageColorYCC2RGB 1040 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1041 mlib_status __mlib_ImageColorYCC2RGB(mlib_image *dst, 1042 const mlib_image *src); 1043 1044 1045 #if defined ( __MEDIALIB_OLD_NAMES ) 1046 #define __mlib_ImageColorYCC2RGB_Fp mlib_ImageColorYCC2RGB_Fp 1047 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1048 mlib_status __mlib_ImageColorYCC2RGB_Fp(mlib_image *dst, 1049 const mlib_image *src); 1050 1051 /* Image Creation, Deletion and Query ( common ) */ 1052 1053 1054 #if defined ( __MEDIALIB_OLD_NAMES ) 1055 #define __mlib_ImageCreate mlib_ImageCreate 1056 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1057 JNIEXPORT mlib_image * JNICALL 1058 __mlib_ImageCreate(mlib_type type, 1059 mlib_s32 channels, 1060 mlib_s32 width, 1061 mlib_s32 height); 1062 1063 1064 #if defined ( __MEDIALIB_OLD_NAMES ) 1065 #define __mlib_ImageCreateStruct mlib_ImageCreateStruct 1066 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1067 JNIEXPORT mlib_image * JNICALL 1068 __mlib_ImageCreateStruct(mlib_type type, 1069 mlib_s32 channels, 1070 mlib_s32 width, 1071 mlib_s32 height, 1072 mlib_s32 stride, 1073 const void *data); 1074 1075 1076 #if defined ( __MEDIALIB_OLD_NAMES ) 1077 #define __mlib_ImageCreateSubimage mlib_ImageCreateSubimage 1078 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1079 mlib_image * __mlib_ImageCreateSubimage(mlib_image *img, 1080 mlib_s32 x, 1081 mlib_s32 y, 1082 mlib_s32 w, 1083 mlib_s32 h); 1084 1085 1086 #if defined ( __MEDIALIB_OLD_NAMES ) 1087 #define __mlib_ImageDelete mlib_ImageDelete 1088 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1089 JNIEXPORT void JNICALL 1090 __mlib_ImageDelete(mlib_image *img); 1091 1092 1093 #if defined ( __MEDIALIB_OLD_NAMES ) 1094 #define __mlib_ImageSetPaddings mlib_ImageSetPaddings 1095 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1096 mlib_status __mlib_ImageSetPaddings(mlib_image *img, 1097 mlib_u8 left, 1098 mlib_u8 top, 1099 mlib_u8 right, 1100 mlib_u8 bottom); 1101 1102 1103 #if defined ( __MEDIALIB_OLD_NAMES ) 1104 #define __mlib_ImageSetFormat mlib_ImageSetFormat 1105 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1106 mlib_status __mlib_ImageSetFormat(mlib_image *img, 1107 mlib_format format); 1108 1109 1110 #if defined ( __MEDIALIB_OLD_NAMES ) 1399 const mlib_s32 *srcBandoffsets, 1400 mlib_s32 srcScanlinestride, 1401 mlib_s32 srcPixelstride); 1402 1403 /* Fourier Transformation ( fourier ) */ 1404 1405 1406 #if defined ( __MEDIALIB_OLD_NAMES ) 1407 #define __mlib_ImageFourierTransform mlib_ImageFourierTransform 1408 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1409 mlib_status __mlib_ImageFourierTransform(mlib_image *dst, 1410 const mlib_image *src, 1411 mlib_fourier_mode mode); 1412 1413 /* Geometric Operations ( geom ) */ 1414 1415 1416 #if defined ( __MEDIALIB_OLD_NAMES ) 1417 #define __mlib_ImageAffine mlib_ImageAffine 1418 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1419 JNIEXPORT mlib_status JNICALL 1420 __mlib_ImageAffine(mlib_image *dst, 1421 const mlib_image *src, 1422 const mlib_d64 *mtx, 1423 mlib_filter filter, 1424 mlib_edge edge); 1425 1426 1427 #if defined ( __MEDIALIB_OLD_NAMES ) 1428 #define __mlib_ImageAffineTable mlib_ImageAffineTable 1429 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1430 mlib_status __mlib_ImageAffineTable(mlib_image *dst, 1431 const mlib_image *src, 1432 const mlib_d64 *mtx, 1433 const void *interp_table, 1434 mlib_edge edge); 1435 1436 1437 #if defined ( __MEDIALIB_OLD_NAMES ) 1438 #define __mlib_ImageAffineTable_Fp mlib_ImageAffineTable_Fp 1439 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 1440 mlib_status __mlib_ImageAffineTable_Fp(mlib_image *dst, 2280 const mlib_image *img); 2281 2282 2283 #if defined ( __MEDIALIB_OLD_NAMES ) 2284 #define __mlib_ImageHistogram2 mlib_ImageHistogram2 2285 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 2286 mlib_status __mlib_ImageHistogram2(mlib_s32 ** histo, 2287 const mlib_image *img, 2288 const mlib_s32 *numBins, 2289 const mlib_s32 *lowValue, 2290 const mlib_s32 *highValue, 2291 mlib_s32 xStart, 2292 mlib_s32 yStart, 2293 mlib_s32 xPeriod, 2294 mlib_s32 yPeriod); 2295 2296 2297 #if defined ( __MEDIALIB_OLD_NAMES ) 2298 #define __mlib_ImageLookUp mlib_ImageLookUp 2299 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 2300 JNIEXPORT mlib_status JNICALL 2301 __mlib_ImageLookUp(mlib_image *dst, 2302 const mlib_image *src, 2303 const void **table); 2304 2305 2306 #if defined ( __MEDIALIB_OLD_NAMES ) 2307 #define __mlib_ImageLookUp2 mlib_ImageLookUp2 2308 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 2309 mlib_status __mlib_ImageLookUp2(mlib_image *dst, 2310 const mlib_image *src, 2311 const void **table, 2312 const mlib_s32 *offsets, 2313 mlib_s32 channels); 2314 2315 2316 #if defined ( __MEDIALIB_OLD_NAMES ) 2317 #define __mlib_ImageLookUpMask mlib_ImageLookUpMask 2318 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 2319 mlib_status __mlib_ImageLookUpMask(mlib_image *dst, 2320 const mlib_image *src, 2321 const void **table, 2609 const mlib_image *src, 2610 const mlib_s32 *kernel, 2611 mlib_s32 scale, 2612 mlib_s32 cmask, 2613 mlib_edge edge); 2614 2615 2616 #if defined ( __MEDIALIB_OLD_NAMES ) 2617 #define __mlib_ImageConv7x7_Fp mlib_ImageConv7x7_Fp 2618 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 2619 mlib_status __mlib_ImageConv7x7_Fp(mlib_image *dst, 2620 const mlib_image *src, 2621 const mlib_d64 *kernel, 2622 mlib_s32 cmask, 2623 mlib_edge edge); 2624 2625 2626 #if defined ( __MEDIALIB_OLD_NAMES ) 2627 #define __mlib_ImageConvKernelConvert mlib_ImageConvKernelConvert 2628 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 2629 JNIEXPORT mlib_status JNICALL 2630 __mlib_ImageConvKernelConvert(mlib_s32 *ikernel, 2631 mlib_s32 *iscale, 2632 const mlib_d64 *fkernel, 2633 mlib_s32 m, 2634 mlib_s32 n, 2635 mlib_type type); 2636 2637 2638 #if defined ( __MEDIALIB_OLD_NAMES ) 2639 #define __mlib_ImageConvMxN mlib_ImageConvMxN 2640 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 2641 JNIEXPORT mlib_status JNICALL 2642 __mlib_ImageConvMxN(mlib_image *dst, 2643 const mlib_image *src, 2644 const mlib_s32 *kernel, 2645 mlib_s32 m, 2646 mlib_s32 n, 2647 mlib_s32 dm, 2648 mlib_s32 dn, 2649 mlib_s32 scale, 2650 mlib_s32 cmask, 2651 mlib_edge edge); 2652 2653 2654 #if defined ( __MEDIALIB_OLD_NAMES ) 2655 #define __mlib_ImageConvMxN_Fp mlib_ImageConvMxN_Fp 2656 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ 2657 mlib_status __mlib_ImageConvMxN_Fp(mlib_image *dst, 2658 const mlib_image *src, 2659 const mlib_d64 *kernel, 2660 mlib_s32 m, 2661 mlib_s32 n, 2662 mlib_s32 dm, |