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);
  72 
  73 
  74 #if defined ( __MEDIALIB_OLD_NAMES )
  75 #define __mlib_ImageAbs_Fp_Inp mlib_ImageAbs_Fp_Inp
  76 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
  77 mlib_status  __mlib_ImageAbs_Fp_Inp(mlib_image *srcdst);
  78 
  79 
  80 #if defined ( __MEDIALIB_OLD_NAMES )
  81 #define __mlib_ImageAbs_Inp mlib_ImageAbs_Inp
  82 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
  83 mlib_status  __mlib_ImageAbs_Inp(mlib_image *srcdst);
  84 
  85 
  86 #if defined ( __MEDIALIB_OLD_NAMES )
  87 #define __mlib_ImageAdd mlib_ImageAdd
  88 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
  89 mlib_status  __mlib_ImageAdd(mlib_image *dst,
  90                              const mlib_image *src1,
  91                              const mlib_image *src2);
  92 
  93 
  94 #if defined ( __MEDIALIB_OLD_NAMES )
  95 #define __mlib_ImageAdd_Fp mlib_ImageAdd_Fp
  96 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
  97 mlib_status  __mlib_ImageAdd_Fp(mlib_image *dst,
  98                                 const mlib_image *src1,
  99                                 const mlib_image *src2);
 100 
 101 
 102 #if defined ( __MEDIALIB_OLD_NAMES )
 103 #define __mlib_ImageAdd_Fp_Inp mlib_ImageAdd_Fp_Inp
 104 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 105 mlib_status  __mlib_ImageAdd_Fp_Inp(mlib_image *src1dst,
 106                                     const mlib_image *src2);
 107 
 108 
 109 #if defined ( __MEDIALIB_OLD_NAMES )
 110 #define __mlib_ImageAdd_Inp mlib_ImageAdd_Inp
 111 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 112 mlib_status  __mlib_ImageAdd_Inp(mlib_image *src1dst,
 113                                  const mlib_image *src2);
 114 
 115 
 116 #if defined ( __MEDIALIB_OLD_NAMES )
 117 #define __mlib_ImageAve mlib_ImageAve
 118 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 119 mlib_status  __mlib_ImageAve(mlib_image *dst,
 120                              const mlib_image *src1,
 121                              const mlib_image *src2);
 122 
 123 
 124 #if defined ( __MEDIALIB_OLD_NAMES )
 125 #define __mlib_ImageAve_Fp mlib_ImageAve_Fp
 126 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 127 mlib_status  __mlib_ImageAve_Fp(mlib_image *dst,
 128                                 const mlib_image *src1,
 129                                 const mlib_image *src2);
 130 
 131 
 132 #if defined ( __MEDIALIB_OLD_NAMES )
 133 #define __mlib_ImageAve_Fp_Inp mlib_ImageAve_Fp_Inp
 134 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 135 mlib_status  __mlib_ImageAve_Fp_Inp(mlib_image *src1dst,
 136                                     const mlib_image *src2);
 137 
 138 
 139 #if defined ( __MEDIALIB_OLD_NAMES )
 140 #define __mlib_ImageAve_Inp mlib_ImageAve_Inp
 141 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 142 mlib_status  __mlib_ImageAve_Inp(mlib_image *src1dst,
 143                                  const mlib_image *src2);
 144 
 145 
 146 #if defined ( __MEDIALIB_OLD_NAMES )
 147 #define __mlib_ImageBlend mlib_ImageBlend
 148 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 149 mlib_status  __mlib_ImageBlend(mlib_image *dst,
 150                                const mlib_image *src1,
 151                                const mlib_image *src2,
 152                                const mlib_image *alpha);
 153 
 154 /* src1dst = src1dst * alpha + src2 * (1 - alpha) */
 155 
 156 #if defined ( __MEDIALIB_OLD_NAMES )
 157 #define __mlib_ImageBlend1_Fp_Inp mlib_ImageBlend1_Fp_Inp
 158 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 159 mlib_status  __mlib_ImageBlend1_Fp_Inp(mlib_image *src1dst,
 160                                        const mlib_image *src2,
 161                                        const mlib_image *alpha);
 162 
 163 /* src1dst = src1dst * alpha + src2 * (1 - alpha) */
 164 
 165 #if defined ( __MEDIALIB_OLD_NAMES )
 166 #define __mlib_ImageBlend1_Inp mlib_ImageBlend1_Inp
 167 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 168 mlib_status  __mlib_ImageBlend1_Inp(mlib_image *src1dst,
 169                                     const mlib_image *src2,
 170                                     const mlib_image *alpha);
 171 
 172 /* src2dst = src1 * alpha + src2dst * (1 - alpha) */
 173 
 174 #if defined ( __MEDIALIB_OLD_NAMES )
 175 #define __mlib_ImageBlend2_Fp_Inp mlib_ImageBlend2_Fp_Inp
 176 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 177 mlib_status  __mlib_ImageBlend2_Fp_Inp(mlib_image *src2dst,
 178                                        const mlib_image *src1,
 179                                        const mlib_image *alpha);
 180 
 181 /* src2dst = src1 * alpha + src2dst * (1 - alpha) */
 182 
 183 #if defined ( __MEDIALIB_OLD_NAMES )
 184 #define __mlib_ImageBlend2_Inp mlib_ImageBlend2_Inp
 185 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 186 mlib_status  __mlib_ImageBlend2_Inp(mlib_image *src2dst,
 187                                     const mlib_image *src1,
 188                                     const mlib_image *alpha);
 189 
 190 
 191 #if defined ( __MEDIALIB_OLD_NAMES )
 192 #define __mlib_ImageBlend_Fp mlib_ImageBlend_Fp
 193 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 194 mlib_status  __mlib_ImageBlend_Fp(mlib_image *dst,
 195                                   const mlib_image *src1,
 196                                   const mlib_image *src2,
 197                                   const mlib_image *alpha);
 198 
 199 
 200 #if defined ( __MEDIALIB_OLD_NAMES )
 201 #define __mlib_ImageBlendMulti mlib_ImageBlendMulti
 202 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 203 mlib_status  __mlib_ImageBlendMulti(mlib_image *dst,
 204                                     const mlib_image **srcs,
 205                                     const mlib_image **alphas,
 206                                     const mlib_s32 *c,
 207                                     mlib_s32 n);
 208 
 209 
 210 #if defined ( __MEDIALIB_OLD_NAMES )
 211 #define __mlib_ImageBlendMulti_Fp mlib_ImageBlendMulti_Fp
 212 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 213 mlib_status  __mlib_ImageBlendMulti_Fp(mlib_image *dst,
 214                                        const mlib_image **srcs,
 215                                        const mlib_image **alphas,
 216                                        const mlib_d64 *c,
 217                                        mlib_s32 n);
 218 
 219 
 220 #if defined ( __MEDIALIB_OLD_NAMES )
 221 #define __mlib_ImageBlendRGBA2ARGB mlib_ImageBlendRGBA2ARGB
 222 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 223 mlib_status  __mlib_ImageBlendRGBA2ARGB(mlib_image *dst,
 224                                         const mlib_image *src);
 225 
 226 
 227 #if defined ( __MEDIALIB_OLD_NAMES )
 228 #define __mlib_ImageBlendRGBA2BGRA mlib_ImageBlendRGBA2BGRA
 229 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 230 mlib_status  __mlib_ImageBlendRGBA2BGRA(mlib_image *dst,
 231                                         const mlib_image *src);
 232 
 233 
 234 #if defined ( __MEDIALIB_OLD_NAMES )
 235 #define __mlib_ImageColorBlend mlib_ImageColorBlend
 236 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 237 mlib_status  __mlib_ImageColorBlend(mlib_image *dst,
 238                                     const mlib_image *src,
 239                                     const mlib_s32 *color,
 240                                     mlib_s32 cmask);
 241 
 242 
 243 #if defined ( __MEDIALIB_OLD_NAMES )
 244 #define __mlib_ImageColorBlend_Fp mlib_ImageColorBlend_Fp
 245 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 246 mlib_status  __mlib_ImageColorBlend_Fp(mlib_image *dst,
 247                                        const mlib_image *src,
 248                                        const mlib_d64 *color,
 249                                        mlib_s32 cmask);
 250 
 251 
 252 #if defined ( __MEDIALIB_OLD_NAMES )
 253 #define __mlib_ImageColorBlend_Fp_Inp mlib_ImageColorBlend_Fp_Inp
 254 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 255 mlib_status  __mlib_ImageColorBlend_Fp_Inp(mlib_image *srcdst,
 256                                            const mlib_d64 *color,
 257                                            mlib_s32 cmask);
 258 
 259 
 260 #if defined ( __MEDIALIB_OLD_NAMES )
 261 #define __mlib_ImageColorBlend_Inp mlib_ImageColorBlend_Inp
 262 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 263 mlib_status  __mlib_ImageColorBlend_Inp(mlib_image *srcdst,
 264                                         const mlib_s32 *color,
 265                                         mlib_s32 cmask);
 266 
 267 
 268 #if defined ( __MEDIALIB_OLD_NAMES )
 269 #define __mlib_ImageConstAdd mlib_ImageConstAdd
 270 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 271 mlib_status  __mlib_ImageConstAdd(mlib_image *dst,
 272                                   const mlib_image *src,
 273                                   const mlib_s32 *c);
 274 
 275 
 276 #if defined ( __MEDIALIB_OLD_NAMES )
 277 #define __mlib_ImageConstAdd_Fp mlib_ImageConstAdd_Fp
 278 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 279 mlib_status  __mlib_ImageConstAdd_Fp(mlib_image *dst,
 280                                      const mlib_image *src,
 281                                      const mlib_d64 *c);
 282 
 283 
 284 #if defined ( __MEDIALIB_OLD_NAMES )
 285 #define __mlib_ImageConstAdd_Fp_Inp mlib_ImageConstAdd_Fp_Inp
 286 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 287 mlib_status  __mlib_ImageConstAdd_Fp_Inp(mlib_image *srcdst,
 288                                          const mlib_d64 *c);
 289 
 290 
 291 #if defined ( __MEDIALIB_OLD_NAMES )
 292 #define __mlib_ImageConstAdd_Inp mlib_ImageConstAdd_Inp
 293 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 294 mlib_status  __mlib_ImageConstAdd_Inp(mlib_image *srcdst,
 295                                       const mlib_s32 *c);
 296 
 297 
 298 #if defined ( __MEDIALIB_OLD_NAMES )
 299 #define __mlib_ImageConstDiv mlib_ImageConstDiv
 300 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 301 mlib_status  __mlib_ImageConstDiv(mlib_image *dst,
 302                                   const mlib_image *src,
 303                                   const mlib_d64 *consts);
 304 
 305 
 306 #if defined ( __MEDIALIB_OLD_NAMES )
 307 #define __mlib_ImageConstDivShift mlib_ImageConstDivShift
 308 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 309 mlib_status  __mlib_ImageConstDivShift(mlib_image *dst,
 310                                        const mlib_image *src,
 311                                        const mlib_s32 *consts,
 312                                        mlib_s32 shift);
 313 
 314 
 315 #if defined ( __MEDIALIB_OLD_NAMES )
 316 #define __mlib_ImageConstDivShift_Inp mlib_ImageConstDivShift_Inp
 317 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 318 mlib_status  __mlib_ImageConstDivShift_Inp(mlib_image *srcdst,
 319                                            const mlib_s32 *consts,
 320                                            mlib_s32 shift);
 321 
 322 
 323 #if defined ( __MEDIALIB_OLD_NAMES )
 324 #define __mlib_ImageConstDiv_Fp mlib_ImageConstDiv_Fp
 325 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 326 mlib_status  __mlib_ImageConstDiv_Fp(mlib_image *dst,
 327                                      const mlib_image *src,
 328                                      const mlib_d64 *consts);
 329 
 330 
 331 #if defined ( __MEDIALIB_OLD_NAMES )
 332 #define __mlib_ImageConstDiv_Fp_Inp mlib_ImageConstDiv_Fp_Inp
 333 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 334 mlib_status  __mlib_ImageConstDiv_Fp_Inp(mlib_image *srcdst,
 335                                          const mlib_d64 *consts);
 336 
 337 
 338 #if defined ( __MEDIALIB_OLD_NAMES )
 339 #define __mlib_ImageConstDiv_Inp mlib_ImageConstDiv_Inp
 340 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 341 mlib_status  __mlib_ImageConstDiv_Inp(mlib_image *srcdst,
 342                                       const mlib_d64 *consts);
 343 
 344 
 345 #if defined ( __MEDIALIB_OLD_NAMES )
 346 #define __mlib_ImageConstMul mlib_ImageConstMul
 347 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 348 mlib_status  __mlib_ImageConstMul(mlib_image *dst,
 349                                   const mlib_image *src,
 350                                   const mlib_d64 *consts);
 351 
 352 
 353 #if defined ( __MEDIALIB_OLD_NAMES )
 354 #define __mlib_ImageConstMulShift mlib_ImageConstMulShift
 355 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 356 mlib_status  __mlib_ImageConstMulShift(mlib_image *dst,
 357                                        const mlib_image *src,
 358                                        const mlib_s32 *consts,
 359                                        mlib_s32 shift);
 360 
 361 
 362 #if defined ( __MEDIALIB_OLD_NAMES )
 363 #define __mlib_ImageConstMulShift_Inp mlib_ImageConstMulShift_Inp
 364 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 365 mlib_status  __mlib_ImageConstMulShift_Inp(mlib_image *srcdst,
 366                                            const mlib_s32 *consts,
 367                                            mlib_s32 shift);
 368 
 369 
 370 #if defined ( __MEDIALIB_OLD_NAMES )
 371 #define __mlib_ImageConstMul_Fp mlib_ImageConstMul_Fp
 372 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 373 mlib_status  __mlib_ImageConstMul_Fp(mlib_image *dst,
 374                                      const mlib_image *src,
 375                                      const mlib_d64 *consts);
 376 
 377 
 378 #if defined ( __MEDIALIB_OLD_NAMES )
 379 #define __mlib_ImageConstMul_Fp_Inp mlib_ImageConstMul_Fp_Inp
 380 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 381 mlib_status  __mlib_ImageConstMul_Fp_Inp(mlib_image *srcdst,
 382                                          const mlib_d64 *consts);
 383 
 384 
 385 #if defined ( __MEDIALIB_OLD_NAMES )
 386 #define __mlib_ImageConstMul_Inp mlib_ImageConstMul_Inp
 387 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 388 mlib_status  __mlib_ImageConstMul_Inp(mlib_image *srcdst,
 389                                       const mlib_d64 *consts);
 390 
 391 
 392 #if defined ( __MEDIALIB_OLD_NAMES )
 393 #define __mlib_ImageConstSub mlib_ImageConstSub
 394 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 395 mlib_status  __mlib_ImageConstSub(mlib_image *dst,
 396                                   const mlib_image *src,
 397                                   const mlib_s32 *c);
 398 
 399 
 400 #if defined ( __MEDIALIB_OLD_NAMES )
 401 #define __mlib_ImageConstSub_Fp mlib_ImageConstSub_Fp
 402 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 403 mlib_status  __mlib_ImageConstSub_Fp(mlib_image *dst,
 404                                      const mlib_image *src,
 405                                      const mlib_d64 *c);
 406 
 407 
 408 #if defined ( __MEDIALIB_OLD_NAMES )
 409 #define __mlib_ImageConstSub_Fp_Inp mlib_ImageConstSub_Fp_Inp
 410 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 411 mlib_status  __mlib_ImageConstSub_Fp_Inp(mlib_image *srcdst,
 412                                          const mlib_d64 *c);
 413 
 414 
 415 #if defined ( __MEDIALIB_OLD_NAMES )
 416 #define __mlib_ImageConstSub_Inp mlib_ImageConstSub_Inp
 417 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 418 mlib_status  __mlib_ImageConstSub_Inp(mlib_image *srcdst,
 419                                       const mlib_s32 *c);
 420 
 421 
 422 #if defined ( __MEDIALIB_OLD_NAMES )
 423 #define __mlib_ImageDiv1_Fp_Inp mlib_ImageDiv1_Fp_Inp
 424 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 425 mlib_status  __mlib_ImageDiv1_Fp_Inp(mlib_image *src1dst,
 426                                      const mlib_image *src2);
 427 
 428 
 429 #if defined ( __MEDIALIB_OLD_NAMES )
 430 #define __mlib_ImageDiv2_Fp_Inp mlib_ImageDiv2_Fp_Inp
 431 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 432 mlib_status  __mlib_ImageDiv2_Fp_Inp(mlib_image *src2dst,
 433                                      const mlib_image *src1);
 434 
 435 
 436 #if defined ( __MEDIALIB_OLD_NAMES )
 437 #define __mlib_ImageDivAlpha mlib_ImageDivAlpha
 438 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 439 mlib_status  __mlib_ImageDivAlpha(mlib_image *dst,
 440                                   const mlib_image *src,
 441                                   mlib_s32 cmask);
 442 
 443 
 444 #if defined ( __MEDIALIB_OLD_NAMES )
 445 #define __mlib_ImageDivAlpha_Fp mlib_ImageDivAlpha_Fp
 446 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 447 mlib_status  __mlib_ImageDivAlpha_Fp(mlib_image *dst,
 448                                      const mlib_image *src,
 449                                      mlib_s32 cmask);
 450 
 451 
 452 #if defined ( __MEDIALIB_OLD_NAMES )
 453 #define __mlib_ImageDivAlpha_Fp_Inp mlib_ImageDivAlpha_Fp_Inp
 454 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 455 mlib_status  __mlib_ImageDivAlpha_Fp_Inp(mlib_image *img,
 456                                          mlib_s32 cmask);
 457 
 458 
 459 #if defined ( __MEDIALIB_OLD_NAMES )
 460 #define __mlib_ImageDivAlpha_Inp mlib_ImageDivAlpha_Inp
 461 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 462 mlib_status  __mlib_ImageDivAlpha_Inp(mlib_image *img,
 463                                       mlib_s32 cmask);
 464 
 465 
 466 #if defined ( __MEDIALIB_OLD_NAMES )
 467 #define __mlib_ImageDivConstShift mlib_ImageDivConstShift
 468 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 469 mlib_status  __mlib_ImageDivConstShift(mlib_image *dst,
 470                                        const mlib_image *src,
 471                                        const mlib_s32 *consts,
 472                                        mlib_s32 shift);
 473 
 474 
 475 #if defined ( __MEDIALIB_OLD_NAMES )
 476 #define __mlib_ImageDivConstShift_Inp mlib_ImageDivConstShift_Inp
 477 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 478 mlib_status  __mlib_ImageDivConstShift_Inp(mlib_image *srcdst,
 479                                            const mlib_s32 *consts,
 480                                            mlib_s32 shift);
 481 
 482 
 483 #if defined ( __MEDIALIB_OLD_NAMES )
 484 #define __mlib_ImageDivShift mlib_ImageDivShift
 485 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 486 mlib_status  __mlib_ImageDivShift(mlib_image *dst,
 487                                   const mlib_image *src1,
 488                                   const mlib_image *src2,
 489                                   mlib_s32 shift);
 490 
 491 
 492 #if defined ( __MEDIALIB_OLD_NAMES )
 493 #define __mlib_ImageDivShift1_Inp mlib_ImageDivShift1_Inp
 494 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 495 mlib_status  __mlib_ImageDivShift1_Inp(mlib_image *src1dst,
 496                                        const mlib_image *src2,
 497                                        mlib_s32 shift);
 498 
 499 
 500 #if defined ( __MEDIALIB_OLD_NAMES )
 501 #define __mlib_ImageDivShift2_Inp mlib_ImageDivShift2_Inp
 502 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 503 mlib_status  __mlib_ImageDivShift2_Inp(mlib_image *src2dst,
 504                                        const mlib_image *src1,
 505                                        mlib_s32 shift);
 506 
 507 
 508 #if defined ( __MEDIALIB_OLD_NAMES )
 509 #define __mlib_ImageDiv_Fp mlib_ImageDiv_Fp
 510 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 511 mlib_status  __mlib_ImageDiv_Fp(mlib_image *dst,
 512                                 const mlib_image *src1,
 513                                 const mlib_image *src2);
 514 
 515 
 516 #if defined ( __MEDIALIB_OLD_NAMES )
 517 #define __mlib_ImageExp mlib_ImageExp
 518 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 519 mlib_status  __mlib_ImageExp(mlib_image *dst,
 520                              const mlib_image *src);
 521 
 522 
 523 #if defined ( __MEDIALIB_OLD_NAMES )
 524 #define __mlib_ImageExp_Fp mlib_ImageExp_Fp
 525 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 526 mlib_status  __mlib_ImageExp_Fp(mlib_image *dst,
 527                                 const mlib_image *src);
 528 
 529 
 530 #if defined ( __MEDIALIB_OLD_NAMES )
 531 #define __mlib_ImageExp_Fp_Inp mlib_ImageExp_Fp_Inp
 532 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 533 mlib_status  __mlib_ImageExp_Fp_Inp(mlib_image *srcdst);
 534 
 535 
 536 #if defined ( __MEDIALIB_OLD_NAMES )
 537 #define __mlib_ImageExp_Inp mlib_ImageExp_Inp
 538 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 539 mlib_status  __mlib_ImageExp_Inp(mlib_image *srcdst);
 540 
 541 
 542 #if defined ( __MEDIALIB_OLD_NAMES )
 543 #define __mlib_ImageInvert mlib_ImageInvert
 544 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 545 mlib_status  __mlib_ImageInvert(mlib_image *dst,
 546                                 const mlib_image *src);
 547 
 548 
 549 #if defined ( __MEDIALIB_OLD_NAMES )
 550 #define __mlib_ImageInvert_Fp mlib_ImageInvert_Fp
 551 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 552 mlib_status  __mlib_ImageInvert_Fp(mlib_image *dst,
 553                                    const mlib_image *src);
 554 
 555 
 556 #if defined ( __MEDIALIB_OLD_NAMES )
 557 #define __mlib_ImageInvert_Fp_Inp mlib_ImageInvert_Fp_Inp
 558 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 559 mlib_status  __mlib_ImageInvert_Fp_Inp(mlib_image *srcdst);
 560 
 561 
 562 #if defined ( __MEDIALIB_OLD_NAMES )
 563 #define __mlib_ImageInvert_Inp mlib_ImageInvert_Inp
 564 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 565 mlib_status  __mlib_ImageInvert_Inp(mlib_image *srcdst);
 566 
 567 
 568 #if defined ( __MEDIALIB_OLD_NAMES )
 569 #define __mlib_ImageLog mlib_ImageLog
 570 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 571 mlib_status  __mlib_ImageLog(mlib_image *dst,
 572                              const mlib_image *src);
 573 
 574 
 575 #if defined ( __MEDIALIB_OLD_NAMES )
 576 #define __mlib_ImageLog_Fp mlib_ImageLog_Fp
 577 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 578 mlib_status  __mlib_ImageLog_Fp(mlib_image *dst,
 579                                 const mlib_image *src);
 580 
 581 
 582 #if defined ( __MEDIALIB_OLD_NAMES )
 583 #define __mlib_ImageLog_Fp_Inp mlib_ImageLog_Fp_Inp
 584 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 585 mlib_status  __mlib_ImageLog_Fp_Inp(mlib_image *srcdst);
 586 
 587 
 588 #if defined ( __MEDIALIB_OLD_NAMES )
 589 #define __mlib_ImageLog_Inp mlib_ImageLog_Inp
 590 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 591 mlib_status  __mlib_ImageLog_Inp(mlib_image *srcdst);
 592 
 593 
 594 #if defined ( __MEDIALIB_OLD_NAMES )
 595 #define __mlib_ImageMax mlib_ImageMax
 596 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 597 mlib_status  __mlib_ImageMax(mlib_image *dst,
 598                              const mlib_image *src1,
 599                              const mlib_image *src2);
 600 
 601 
 602 #if defined ( __MEDIALIB_OLD_NAMES )
 603 #define __mlib_ImageMax_Fp mlib_ImageMax_Fp
 604 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 605 mlib_status  __mlib_ImageMax_Fp(mlib_image *dst,
 606                                 const mlib_image *src1,
 607                                 const mlib_image *src2);
 608 
 609 
 610 #if defined ( __MEDIALIB_OLD_NAMES )
 611 #define __mlib_ImageMax_Fp_Inp mlib_ImageMax_Fp_Inp
 612 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 613 mlib_status  __mlib_ImageMax_Fp_Inp(mlib_image *src1dst,
 614                                     const mlib_image *src2);
 615 
 616 
 617 #if defined ( __MEDIALIB_OLD_NAMES )
 618 #define __mlib_ImageMax_Inp mlib_ImageMax_Inp
 619 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 620 mlib_status  __mlib_ImageMax_Inp(mlib_image *src1dst,
 621                                  const mlib_image *src2);
 622 
 623 
 624 #if defined ( __MEDIALIB_OLD_NAMES )
 625 #define __mlib_ImageMin mlib_ImageMin
 626 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 627 mlib_status  __mlib_ImageMin(mlib_image *dst,
 628                              const mlib_image *src1,
 629                              const mlib_image *src2);
 630 
 631 
 632 #if defined ( __MEDIALIB_OLD_NAMES )
 633 #define __mlib_ImageMin_Fp mlib_ImageMin_Fp
 634 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 635 mlib_status  __mlib_ImageMin_Fp(mlib_image *dst,
 636                                 const mlib_image *src1,
 637                                 const mlib_image *src2);
 638 
 639 
 640 #if defined ( __MEDIALIB_OLD_NAMES )
 641 #define __mlib_ImageMin_Fp_Inp mlib_ImageMin_Fp_Inp
 642 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 643 mlib_status  __mlib_ImageMin_Fp_Inp(mlib_image *src1dst,
 644                                     const mlib_image *src2);
 645 
 646 
 647 #if defined ( __MEDIALIB_OLD_NAMES )
 648 #define __mlib_ImageMin_Inp mlib_ImageMin_Inp
 649 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 650 mlib_status  __mlib_ImageMin_Inp(mlib_image *src1dst,
 651                                  const mlib_image *src2);
 652 
 653 
 654 #if defined ( __MEDIALIB_OLD_NAMES )
 655 #define __mlib_ImageMulAlpha mlib_ImageMulAlpha
 656 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 657 mlib_status  __mlib_ImageMulAlpha(mlib_image *dst,
 658                                   const mlib_image *src,
 659                                   mlib_s32 cmask);
 660 
 661 
 662 #if defined ( __MEDIALIB_OLD_NAMES )
 663 #define __mlib_ImageMulAlpha_Fp mlib_ImageMulAlpha_Fp
 664 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 665 mlib_status  __mlib_ImageMulAlpha_Fp(mlib_image *dst,
 666                                      const mlib_image *src,
 667                                      mlib_s32 cmask);
 668 
 669 
 670 #if defined ( __MEDIALIB_OLD_NAMES )
 671 #define __mlib_ImageMulAlpha_Fp_Inp mlib_ImageMulAlpha_Fp_Inp
 672 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 673 mlib_status  __mlib_ImageMulAlpha_Fp_Inp(mlib_image *img,
 674                                          mlib_s32 cmask);
 675 
 676 
 677 #if defined ( __MEDIALIB_OLD_NAMES )
 678 #define __mlib_ImageMulAlpha_Inp mlib_ImageMulAlpha_Inp
 679 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 680 mlib_status  __mlib_ImageMulAlpha_Inp(mlib_image *img,
 681                                       mlib_s32 cmask);
 682 
 683 
 684 #if defined ( __MEDIALIB_OLD_NAMES )
 685 #define __mlib_ImageMulShift mlib_ImageMulShift
 686 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 687 mlib_status  __mlib_ImageMulShift(mlib_image *dst,
 688                                   const mlib_image *src1,
 689                                   const mlib_image *src2,
 690                                   mlib_s32 shift);
 691 
 692 
 693 #if defined ( __MEDIALIB_OLD_NAMES )
 694 #define __mlib_ImageMulShift_Inp mlib_ImageMulShift_Inp
 695 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 696 mlib_status  __mlib_ImageMulShift_Inp(mlib_image *src1dst,
 697                                       const mlib_image *src2,
 698                                       mlib_s32 shift);
 699 
 700 
 701 #if defined ( __MEDIALIB_OLD_NAMES )
 702 #define __mlib_ImageMul_Fp mlib_ImageMul_Fp
 703 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 704 mlib_status  __mlib_ImageMul_Fp(mlib_image *dst,
 705                                 const mlib_image *src1,
 706                                 const mlib_image *src2);
 707 
 708 
 709 #if defined ( __MEDIALIB_OLD_NAMES )
 710 #define __mlib_ImageMul_Fp_Inp mlib_ImageMul_Fp_Inp
 711 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 712 mlib_status  __mlib_ImageMul_Fp_Inp(mlib_image *src1dst,
 713                                     const mlib_image *src2);
 714 
 715 
 716 #if defined ( __MEDIALIB_OLD_NAMES )
 717 #define __mlib_ImageScalarBlend mlib_ImageScalarBlend
 718 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 719 mlib_status  __mlib_ImageScalarBlend(mlib_image *dst,
 720                                      const mlib_image *src1,
 721                                      const mlib_image *src2,
 722                                      const mlib_s32 *alpha);
 723 
 724 
 725 #if defined ( __MEDIALIB_OLD_NAMES )
 726 #define __mlib_ImageScalarBlend_Fp mlib_ImageScalarBlend_Fp
 727 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 728 mlib_status  __mlib_ImageScalarBlend_Fp(mlib_image *dst,
 729                                         const mlib_image *src1,
 730                                         const mlib_image *src2,
 731                                         const mlib_d64 *alpha);
 732 
 733 
 734 #if defined ( __MEDIALIB_OLD_NAMES )
 735 #define __mlib_ImageScalarBlend_Fp_Inp mlib_ImageScalarBlend_Fp_Inp
 736 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 737 mlib_status  __mlib_ImageScalarBlend_Fp_Inp(mlib_image *src1dst,
 738                                             const mlib_image *src2,
 739                                             const mlib_d64 *alpha);
 740 
 741 
 742 #if defined ( __MEDIALIB_OLD_NAMES )
 743 #define __mlib_ImageScalarBlend_Inp mlib_ImageScalarBlend_Inp
 744 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 745 mlib_status  __mlib_ImageScalarBlend_Inp(mlib_image *src1dst,
 746                                          const mlib_image *src2,
 747                                          const mlib_s32 *alpha);
 748 
 749 
 750 #if defined ( __MEDIALIB_OLD_NAMES )
 751 #define __mlib_ImageScale mlib_ImageScale
 752 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 753 mlib_status  __mlib_ImageScale(mlib_image *dst,
 754                                const mlib_image *src,
 755                                const mlib_s32 *alpha,
 756                                const mlib_s32 *beta,
 757                                mlib_s32 shift);
 758 
 759 
 760 #if defined ( __MEDIALIB_OLD_NAMES )
 761 #define __mlib_ImageScale2 mlib_ImageScale2
 762 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 763 mlib_status  __mlib_ImageScale2(mlib_image *dst,
 764                                 const mlib_image *src,
 765                                 const mlib_d64 *alpha,
 766                                 const mlib_d64 *beta);
 767 
 768 
 769 #if defined ( __MEDIALIB_OLD_NAMES )
 770 #define __mlib_ImageScale2_Inp mlib_ImageScale2_Inp
 771 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 772 mlib_status  __mlib_ImageScale2_Inp(mlib_image *srcdst,
 773                                     const mlib_d64 *alpha,
 774                                     const mlib_d64 *beta);
 775 
 776 
 777 #if defined ( __MEDIALIB_OLD_NAMES )
 778 #define __mlib_ImageScale_Fp mlib_ImageScale_Fp
 779 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 780 mlib_status  __mlib_ImageScale_Fp(mlib_image *dst,
 781                                   const mlib_image *src,
 782                                   const mlib_d64 *alpha,
 783                                   const mlib_d64 *beta);
 784 
 785 
 786 #if defined ( __MEDIALIB_OLD_NAMES )
 787 #define __mlib_ImageScale_Fp_Inp mlib_ImageScale_Fp_Inp
 788 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 789 mlib_status  __mlib_ImageScale_Fp_Inp(mlib_image *srcdst,
 790                                       const mlib_d64 *alpha,
 791                                       const mlib_d64 *beta);
 792 
 793 
 794 #if defined ( __MEDIALIB_OLD_NAMES )
 795 #define __mlib_ImageScale_Inp mlib_ImageScale_Inp
 796 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 797 mlib_status  __mlib_ImageScale_Inp(mlib_image *srcdst,
 798                                    const mlib_s32 *alpha,
 799                                    const mlib_s32 *beta,
 800                                    mlib_s32 shift);
 801 
 802 
 803 #if defined ( __MEDIALIB_OLD_NAMES )
 804 #define __mlib_ImageSqrShift mlib_ImageSqrShift
 805 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 806 mlib_status  __mlib_ImageSqrShift(mlib_image *dst,
 807                                   const mlib_image *src,
 808                                   mlib_s32 shift);
 809 
 810 
 811 #if defined ( __MEDIALIB_OLD_NAMES )
 812 #define __mlib_ImageSqrShift_Inp mlib_ImageSqrShift_Inp
 813 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 814 mlib_status  __mlib_ImageSqrShift_Inp(mlib_image *srcdst,
 815                                       mlib_s32 shift);
 816 
 817 
 818 #if defined ( __MEDIALIB_OLD_NAMES )
 819 #define __mlib_ImageSqr_Fp mlib_ImageSqr_Fp
 820 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 821 mlib_status  __mlib_ImageSqr_Fp(mlib_image *dst,
 822                                 const mlib_image *src);
 823 
 824 
 825 #if defined ( __MEDIALIB_OLD_NAMES )
 826 #define __mlib_ImageSqr_Fp_Inp mlib_ImageSqr_Fp_Inp
 827 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 828 mlib_status  __mlib_ImageSqr_Fp_Inp(mlib_image *srcdst);
 829 
 830 
 831 #if defined ( __MEDIALIB_OLD_NAMES )
 832 #define __mlib_ImageSub mlib_ImageSub
 833 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 834 mlib_status  __mlib_ImageSub(mlib_image *dst,
 835                              const mlib_image *src1,
 836                              const mlib_image *src2);
 837 
 838 /* src1dst = src1dst - src2 */
 839 
 840 #if defined ( __MEDIALIB_OLD_NAMES )
 841 #define __mlib_ImageSub1_Fp_Inp mlib_ImageSub1_Fp_Inp
 842 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 843 mlib_status  __mlib_ImageSub1_Fp_Inp(mlib_image *src1dst,
 844                                      const mlib_image *src2);
 845 
 846 /* src1dst = src1dst - src2 */
 847 
 848 #if defined ( __MEDIALIB_OLD_NAMES )
 849 #define __mlib_ImageSub1_Inp mlib_ImageSub1_Inp
 850 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 851 mlib_status  __mlib_ImageSub1_Inp(mlib_image *src1dst,
 852                                   const mlib_image *src2);
 853 
 854 /* src2dst = src1 - src2dst */
 855 
 856 #if defined ( __MEDIALIB_OLD_NAMES )
 857 #define __mlib_ImageSub2_Fp_Inp mlib_ImageSub2_Fp_Inp
 858 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 859 mlib_status  __mlib_ImageSub2_Fp_Inp(mlib_image *src2dst,
 860                                      const mlib_image *src1);
 861 
 862 /* src2dst = src1 - src2dst */
 863 
 864 #if defined ( __MEDIALIB_OLD_NAMES )
 865 #define __mlib_ImageSub2_Inp mlib_ImageSub2_Inp
 866 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 867 mlib_status  __mlib_ImageSub2_Inp(mlib_image *src2dst,
 868                                   const mlib_image *src1);
 869 
 870 
 871 #if defined ( __MEDIALIB_OLD_NAMES )
 872 #define __mlib_ImageSub_Fp mlib_ImageSub_Fp
 873 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 874 mlib_status  __mlib_ImageSub_Fp(mlib_image *dst,
 875                                 const mlib_image *src1,
 876                                 const mlib_image *src2);
 877 
 878 /* Color Space Conversion ( color ) */
 879 
 880 
 881 #if defined ( __MEDIALIB_OLD_NAMES )
 882 #define __mlib_ImageColorConvert1 mlib_ImageColorConvert1
 883 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 884 mlib_status  __mlib_ImageColorConvert1(mlib_image *dst,
 885                                        const mlib_image *src,
 886                                        const mlib_d64 *cmat);
 887 
 888 
 889 #if defined ( __MEDIALIB_OLD_NAMES )
 890 #define __mlib_ImageColorConvert1_Fp mlib_ImageColorConvert1_Fp
 891 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 892 mlib_status  __mlib_ImageColorConvert1_Fp(mlib_image *dst,
 893                                           const mlib_image *src,
 894                                           const mlib_d64 *cmat);
 895 
 896 
 897 #if defined ( __MEDIALIB_OLD_NAMES )
 898 #define __mlib_ImageColorConvert2 mlib_ImageColorConvert2
 899 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 900 mlib_status  __mlib_ImageColorConvert2(mlib_image *dst,
 901                                        const mlib_image *src,
 902                                        const mlib_d64 *cmat,
 903                                        const mlib_d64 *offset);
 904 
 905 
 906 #if defined ( __MEDIALIB_OLD_NAMES )
 907 #define __mlib_ImageColorConvert2_Fp mlib_ImageColorConvert2_Fp
 908 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 909 mlib_status  __mlib_ImageColorConvert2_Fp(mlib_image *dst,
 910                                           const mlib_image *src,
 911                                           const mlib_d64 *cmat,
 912                                           const mlib_d64 *offset);
 913 
 914 
 915 #if defined ( __MEDIALIB_OLD_NAMES )
 916 #define __mlib_ImageColorHSL2RGB mlib_ImageColorHSL2RGB
 917 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 918 mlib_status  __mlib_ImageColorHSL2RGB(mlib_image *dst,
 919                                       const mlib_image *src);
 920 
 921 
 922 #if defined ( __MEDIALIB_OLD_NAMES )
 923 #define __mlib_ImageColorHSL2RGB_Fp mlib_ImageColorHSL2RGB_Fp
 924 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 925 mlib_status  __mlib_ImageColorHSL2RGB_Fp(mlib_image *dst,
 926                                          const mlib_image *src);
 927 
 928 
 929 #if defined ( __MEDIALIB_OLD_NAMES )
 930 #define __mlib_ImageColorHSV2RGB mlib_ImageColorHSV2RGB
 931 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 932 mlib_status  __mlib_ImageColorHSV2RGB(mlib_image *dst,
 933                                       const mlib_image *src);
 934 
 935 
 936 #if defined ( __MEDIALIB_OLD_NAMES )
 937 #define __mlib_ImageColorHSV2RGB_Fp mlib_ImageColorHSV2RGB_Fp
 938 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 939 mlib_status  __mlib_ImageColorHSV2RGB_Fp(mlib_image *dst,
 940                                          const mlib_image *src);
 941 
 942 
 943 #if defined ( __MEDIALIB_OLD_NAMES )
 944 #define __mlib_ImageColorRGB2CIEMono mlib_ImageColorRGB2CIEMono
 945 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 946 mlib_status  __mlib_ImageColorRGB2CIEMono(mlib_image *dst,
 947                                           const mlib_image *src);
 948 
 949 
 950 #if defined ( __MEDIALIB_OLD_NAMES )
 951 #define __mlib_ImageColorRGB2CIEMono_Fp mlib_ImageColorRGB2CIEMono_Fp
 952 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 953 mlib_status  __mlib_ImageColorRGB2CIEMono_Fp(mlib_image *dst,
 954                                              const mlib_image *src);
 955 
 956 
 957 #if defined ( __MEDIALIB_OLD_NAMES )
 958 #define __mlib_ImageColorRGB2HSL mlib_ImageColorRGB2HSL
 959 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 960 mlib_status  __mlib_ImageColorRGB2HSL(mlib_image *dst,
 961                                       const mlib_image *src);
 962 
 963 
 964 #if defined ( __MEDIALIB_OLD_NAMES )
 965 #define __mlib_ImageColorRGB2HSL_Fp mlib_ImageColorRGB2HSL_Fp
 966 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 967 mlib_status  __mlib_ImageColorRGB2HSL_Fp(mlib_image *dst,
 968                                          const mlib_image *src);
 969 
 970 
 971 #if defined ( __MEDIALIB_OLD_NAMES )
 972 #define __mlib_ImageColorRGB2HSV mlib_ImageColorRGB2HSV
 973 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 974 mlib_status  __mlib_ImageColorRGB2HSV(mlib_image *dst,
 975                                       const mlib_image *src);
 976 
 977 
 978 #if defined ( __MEDIALIB_OLD_NAMES )
 979 #define __mlib_ImageColorRGB2HSV_Fp mlib_ImageColorRGB2HSV_Fp
 980 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 981 mlib_status  __mlib_ImageColorRGB2HSV_Fp(mlib_image *dst,
 982                                          const mlib_image *src);
 983 
 984 
 985 #if defined ( __MEDIALIB_OLD_NAMES )
 986 #define __mlib_ImageColorRGB2Mono mlib_ImageColorRGB2Mono
 987 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 988 mlib_status  __mlib_ImageColorRGB2Mono(mlib_image *dst,
 989                                        const mlib_image *src,
 990                                        const mlib_d64 *weight);
 991 
 992 
 993 #if defined ( __MEDIALIB_OLD_NAMES )
 994 #define __mlib_ImageColorRGB2Mono_Fp mlib_ImageColorRGB2Mono_Fp
 995 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
 996 mlib_status  __mlib_ImageColorRGB2Mono_Fp(mlib_image *dst,
 997                                           const mlib_image *src,
 998                                           const mlib_d64 *weight);
 999 
1000 
1001 #if defined ( __MEDIALIB_OLD_NAMES )
1002 #define __mlib_ImageColorRGB2XYZ mlib_ImageColorRGB2XYZ
1003 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1004 mlib_status  __mlib_ImageColorRGB2XYZ(mlib_image *dst,
1005                                       const mlib_image *src);
1006 
1007 
1008 #if defined ( __MEDIALIB_OLD_NAMES )
1009 #define __mlib_ImageColorRGB2XYZ_Fp mlib_ImageColorRGB2XYZ_Fp
1010 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1011 mlib_status  __mlib_ImageColorRGB2XYZ_Fp(mlib_image *dst,
1012                                          const mlib_image *src);
1013 
1014 
1015 #if defined ( __MEDIALIB_OLD_NAMES )
1016 #define __mlib_ImageColorRGB2YCC mlib_ImageColorRGB2YCC
1017 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1018 mlib_status  __mlib_ImageColorRGB2YCC(mlib_image *dst,
1019                                       const mlib_image *src);
1020 
1021 
1022 #if defined ( __MEDIALIB_OLD_NAMES )
1023 #define __mlib_ImageColorRGB2YCC_Fp mlib_ImageColorRGB2YCC_Fp
1024 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1025 mlib_status  __mlib_ImageColorRGB2YCC_Fp(mlib_image *dst,
1026                                          const mlib_image *src);
1027 
1028 
1029 #if defined ( __MEDIALIB_OLD_NAMES )
1030 #define __mlib_ImageColorXYZ2RGB mlib_ImageColorXYZ2RGB
1031 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1032 mlib_status  __mlib_ImageColorXYZ2RGB(mlib_image *dst,
1033                                       const mlib_image *src);
1034 
1035 
1036 #if defined ( __MEDIALIB_OLD_NAMES )
1037 #define __mlib_ImageColorXYZ2RGB_Fp mlib_ImageColorXYZ2RGB_Fp
1038 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1039 mlib_status  __mlib_ImageColorXYZ2RGB_Fp(mlib_image *dst,
1040                                          const mlib_image *src);
1041 
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 )
1116 #define __mlib_ImageGetType mlib_ImageGetType
1117 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1118 static mlib_type  __mlib_ImageGetType(const mlib_image *img);
1119 
1120 
1121 #if defined ( __MEDIALIB_OLD_NAMES )
1122 #define __mlib_ImageGetChannels mlib_ImageGetChannels
1123 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1124 static mlib_s32  __mlib_ImageGetChannels(const mlib_image *img);
1125 
1126 
1127 #if defined ( __MEDIALIB_OLD_NAMES )
1128 #define __mlib_ImageGetWidth mlib_ImageGetWidth
1129 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1130 static mlib_s32  __mlib_ImageGetWidth(const mlib_image *img);
1131 
1132 
1133 #if defined ( __MEDIALIB_OLD_NAMES )
1134 #define __mlib_ImageGetHeight mlib_ImageGetHeight
1135 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1136 static mlib_s32  __mlib_ImageGetHeight(const mlib_image *img);
1137 
1138 
1139 #if defined ( __MEDIALIB_OLD_NAMES )
1140 #define __mlib_ImageGetStride mlib_ImageGetStride
1141 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1142 static mlib_s32  __mlib_ImageGetStride(const mlib_image *img);
1143 
1144 
1145 #if defined ( __MEDIALIB_OLD_NAMES )
1146 #define __mlib_ImageGetData mlib_ImageGetData
1147 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1148 static void * __mlib_ImageGetData(const mlib_image *img);
1149 
1150 
1151 #if defined ( __MEDIALIB_OLD_NAMES )
1152 #define __mlib_ImageGetFlags mlib_ImageGetFlags
1153 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1154 static mlib_s32  __mlib_ImageGetFlags(const mlib_image *img);
1155 
1156 
1157 #if defined ( __MEDIALIB_OLD_NAMES )
1158 #define __mlib_ImageGetPaddings mlib_ImageGetPaddings
1159 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1160 static mlib_u8 * __mlib_ImageGetPaddings(const mlib_image *img);
1161 
1162 
1163 #if defined ( __MEDIALIB_OLD_NAMES )
1164 #define __mlib_ImageGetBitOffset mlib_ImageGetBitOffset
1165 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1166 static mlib_s32  __mlib_ImageGetBitOffset(const mlib_image *img);
1167 
1168 
1169 #if defined ( __MEDIALIB_OLD_NAMES )
1170 #define __mlib_ImageGetFormat mlib_ImageGetFormat
1171 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1172 static mlib_format  __mlib_ImageGetFormat(const mlib_image *img);
1173 
1174 
1175 #if defined ( __MEDIALIB_OLD_NAMES )
1176 #define __mlib_ImageIsNotAligned2 mlib_ImageIsNotAligned2
1177 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1178 static mlib_s32  __mlib_ImageIsNotAligned2(const mlib_image *img);
1179 
1180 
1181 #if defined ( __MEDIALIB_OLD_NAMES )
1182 #define __mlib_ImageIsNotAligned4 mlib_ImageIsNotAligned4
1183 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1184 static mlib_s32  __mlib_ImageIsNotAligned4(const mlib_image *img);
1185 
1186 
1187 #if defined ( __MEDIALIB_OLD_NAMES )
1188 #define __mlib_ImageIsNotAligned64 mlib_ImageIsNotAligned64
1189 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1190 static mlib_s32  __mlib_ImageIsNotAligned64(const mlib_image *img);
1191 
1192 
1193 #if defined ( __MEDIALIB_OLD_NAMES )
1194 #define __mlib_ImageIsNotAligned8 mlib_ImageIsNotAligned8
1195 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1196 static mlib_s32  __mlib_ImageIsNotAligned8(const mlib_image *img);
1197 
1198 
1199 #if defined ( __MEDIALIB_OLD_NAMES )
1200 #define __mlib_ImageIsNotHeight2X mlib_ImageIsNotHeight2X
1201 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1202 static mlib_s32  __mlib_ImageIsNotHeight2X(const mlib_image *img);
1203 
1204 
1205 #if defined ( __MEDIALIB_OLD_NAMES )
1206 #define __mlib_ImageIsNotHeight4X mlib_ImageIsNotHeight4X
1207 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1208 static mlib_s32  __mlib_ImageIsNotHeight4X(const mlib_image *img);
1209 
1210 
1211 #if defined ( __MEDIALIB_OLD_NAMES )
1212 #define __mlib_ImageIsNotHeight8X mlib_ImageIsNotHeight8X
1213 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1214 static mlib_s32  __mlib_ImageIsNotHeight8X(const mlib_image *img);
1215 
1216 
1217 #if defined ( __MEDIALIB_OLD_NAMES )
1218 #define __mlib_ImageIsNotOneDvector mlib_ImageIsNotOneDvector
1219 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1220 static mlib_s32  __mlib_ImageIsNotOneDvector(const mlib_image *img);
1221 
1222 
1223 #if defined ( __MEDIALIB_OLD_NAMES )
1224 #define __mlib_ImageIsNotStride8X mlib_ImageIsNotStride8X
1225 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1226 static mlib_s32  __mlib_ImageIsNotStride8X(const mlib_image *img);
1227 
1228 
1229 #if defined ( __MEDIALIB_OLD_NAMES )
1230 #define __mlib_ImageIsNotWidth2X mlib_ImageIsNotWidth2X
1231 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1232 static mlib_s32  __mlib_ImageIsNotWidth2X(const mlib_image *img);
1233 
1234 
1235 #if defined ( __MEDIALIB_OLD_NAMES )
1236 #define __mlib_ImageIsNotWidth4X mlib_ImageIsNotWidth4X
1237 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1238 static mlib_s32  __mlib_ImageIsNotWidth4X(const mlib_image *img);
1239 
1240 
1241 #if defined ( __MEDIALIB_OLD_NAMES )
1242 #define __mlib_ImageIsNotWidth8X mlib_ImageIsNotWidth8X
1243 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1244 static mlib_s32  __mlib_ImageIsNotWidth8X(const mlib_image *img);
1245 
1246 
1247 #if defined ( __MEDIALIB_OLD_NAMES )
1248 #define __mlib_ImageIsUserAllocated mlib_ImageIsUserAllocated
1249 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1250 static mlib_s32  __mlib_ImageIsUserAllocated(const mlib_image *img);
1251 
1252 
1253 #if defined ( __MEDIALIB_OLD_NAMES )
1254 #define __mlib_ImageTestFlags mlib_ImageTestFlags
1255 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1256 static mlib_s32  __mlib_ImageTestFlags(const mlib_image *img,
1257                                        mlib_s32 flags);
1258 
1259 /* Image Copying and Clearing ( copy ) */
1260 
1261 
1262 #if defined ( __MEDIALIB_OLD_NAMES )
1263 #define __mlib_ImageClear mlib_ImageClear
1264 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1265 mlib_status  __mlib_ImageClear(mlib_image *img,
1266                                const mlib_s32 *color);
1267 
1268 
1269 #if defined ( __MEDIALIB_OLD_NAMES )
1270 #define __mlib_ImageClearEdge mlib_ImageClearEdge
1271 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1272 mlib_status  __mlib_ImageClearEdge(mlib_image *img,
1273                                    mlib_s32 dx,
1274                                    mlib_s32 dy,
1275                                    const mlib_s32 *color);
1276 
1277 
1278 #if defined ( __MEDIALIB_OLD_NAMES )
1279 #define __mlib_ImageClearEdge_Fp mlib_ImageClearEdge_Fp
1280 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1281 mlib_status  __mlib_ImageClearEdge_Fp(mlib_image *img,
1282                                       mlib_s32 dx,
1283                                       mlib_s32 dy,
1284                                       const mlib_d64 *color);
1285 
1286 
1287 #if defined ( __MEDIALIB_OLD_NAMES )
1288 #define __mlib_ImageClear_Fp mlib_ImageClear_Fp
1289 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1290 mlib_status  __mlib_ImageClear_Fp(mlib_image *img,
1291                                   const mlib_d64 *color);
1292 
1293 
1294 #if defined ( __MEDIALIB_OLD_NAMES )
1295 #define __mlib_ImageCopy mlib_ImageCopy
1296 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1297 mlib_status  __mlib_ImageCopy(mlib_image *dst,
1298                               const mlib_image *src);
1299 
1300 
1301 #if defined ( __MEDIALIB_OLD_NAMES )
1302 #define __mlib_ImageCopyArea mlib_ImageCopyArea
1303 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1304 mlib_status  __mlib_ImageCopyArea(mlib_image *img,
1305                                   mlib_s32 x,
1306                                   mlib_s32 y,
1307                                   mlib_s32 w,
1308                                   mlib_s32 h,
1309                                   mlib_s32 dx,
1310                                   mlib_s32 dy);
1311 
1312 
1313 #if defined ( __MEDIALIB_OLD_NAMES )
1314 #define __mlib_ImageCopyMask mlib_ImageCopyMask
1315 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1316 mlib_status  __mlib_ImageCopyMask(mlib_image *dst,
1317                                   const mlib_image *src,
1318                                   const mlib_image *mask,
1319                                   const mlib_s32 *thresh);
1320 
1321 
1322 #if defined ( __MEDIALIB_OLD_NAMES )
1323 #define __mlib_ImageCopyMask_Fp mlib_ImageCopyMask_Fp
1324 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1325 mlib_status  __mlib_ImageCopyMask_Fp(mlib_image *dst,
1326                                      const mlib_image *src,
1327                                      const mlib_image *mask,
1328                                      const mlib_d64 *thresh);
1329 
1330 
1331 #if defined ( __MEDIALIB_OLD_NAMES )
1332 #define __mlib_ImageCopySubimage mlib_ImageCopySubimage
1333 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1334 mlib_status  __mlib_ImageCopySubimage(mlib_image *dst,
1335                                       const mlib_image *src,
1336                                       mlib_s32 xd,
1337                                       mlib_s32 yd,
1338                                       mlib_s32 xs,
1339                                       mlib_s32 ys,
1340                                       mlib_s32 w,
1341                                       mlib_s32 h);
1342 
1343 /* Data Fomat Conversion ( format ) */
1344 
1345 
1346 #if defined ( __MEDIALIB_OLD_NAMES )
1347 #define __mlib_ImageChannelCopy mlib_ImageChannelCopy
1348 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1349 mlib_status  __mlib_ImageChannelCopy(mlib_image *dst,
1350                                      const mlib_image *src,
1351                                      mlib_s32 cmask);
1352 
1353 
1354 #if defined ( __MEDIALIB_OLD_NAMES )
1355 #define __mlib_ImageChannelExtract mlib_ImageChannelExtract
1356 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1357 mlib_status  __mlib_ImageChannelExtract(mlib_image *dst,
1358                                         const mlib_image *src,
1359                                         mlib_s32 cmask);
1360 
1361 
1362 #if defined ( __MEDIALIB_OLD_NAMES )
1363 #define __mlib_ImageChannelInsert mlib_ImageChannelInsert
1364 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1365 mlib_status  __mlib_ImageChannelInsert(mlib_image *dst,
1366                                        const mlib_image *src,
1367                                        mlib_s32 cmask);
1368 
1369 
1370 #if defined ( __MEDIALIB_OLD_NAMES )
1371 #define __mlib_ImageChannelMerge mlib_ImageChannelMerge
1372 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1373 mlib_status  __mlib_ImageChannelMerge(mlib_image *dst,
1374                                       const mlib_image ** srcs);
1375 
1376 
1377 #if defined ( __MEDIALIB_OLD_NAMES )
1378 #define __mlib_ImageChannelSplit mlib_ImageChannelSplit
1379 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1380 mlib_status  __mlib_ImageChannelSplit(mlib_image ** dsts,
1381                                       const mlib_image *src);
1382 
1383 
1384 #if defined ( __MEDIALIB_OLD_NAMES )
1385 #define __mlib_ImageDataTypeConvert mlib_ImageDataTypeConvert
1386 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1387 mlib_status  __mlib_ImageDataTypeConvert(mlib_image *dst,
1388                                          const mlib_image *src);
1389 
1390 
1391 #if defined ( __MEDIALIB_OLD_NAMES )
1392 #define __mlib_ImageReformat mlib_ImageReformat
1393 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1394 mlib_status  __mlib_ImageReformat(void **dstData,
1395                                   const void **srcData,
1396                                   mlib_s32 numChannels,
1397                                   mlib_s32 xSize,
1398                                   mlib_s32 ySize,
1399                                   mlib_type dstDataType,
1400                                   const mlib_s32 *dstBandoffsets,
1401                                   mlib_s32 dstScanlinestride,
1402                                   mlib_s32 dstPixelstride,
1403                                   mlib_type srcDataType,
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,
1446                                         const mlib_image *src,
1447                                         const mlib_d64 *mtx,
1448                                         const void *interp_table,
1449                                         mlib_edge edge);
1450 
1451 
1452 #if defined ( __MEDIALIB_OLD_NAMES )
1453 #define __mlib_ImageAffineTransform mlib_ImageAffineTransform
1454 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1455 mlib_status  __mlib_ImageAffineTransform(mlib_image *dst,
1456                                          const mlib_image *src,
1457                                          const mlib_d64 *mtx,
1458                                          mlib_filter filter,
1459                                          mlib_edge edge);
1460 
1461 
1462 #if defined ( __MEDIALIB_OLD_NAMES )
1463 #define __mlib_ImageAffineTransform_Fp mlib_ImageAffineTransform_Fp
1464 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1465 mlib_status  __mlib_ImageAffineTransform_Fp(mlib_image *dst,
1466                                             const mlib_image *src,
1467                                             const mlib_d64 *mtx,
1468                                             mlib_filter filter,
1469                                             mlib_edge edge);
1470 
1471 
1472 #if defined ( __MEDIALIB_OLD_NAMES )
1473 #define __mlib_ImageAffine_Fp mlib_ImageAffine_Fp
1474 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1475 mlib_status  __mlib_ImageAffine_Fp(mlib_image *dst,
1476                                    const mlib_image *src,
1477                                    const mlib_d64 *mtx,
1478                                    mlib_filter filter,
1479                                    mlib_edge edge);
1480 
1481 
1482 #if defined ( __MEDIALIB_OLD_NAMES )
1483 #define __mlib_ImageFilteredSubsample mlib_ImageFilteredSubsample
1484 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1485 mlib_status  __mlib_ImageFilteredSubsample(mlib_image *dst,
1486                                            const mlib_image *src,
1487                                            mlib_s32 scaleX,
1488                                            mlib_s32 scaleY,
1489                                            mlib_s32 transX,
1490                                            mlib_s32 transY,
1491                                            const mlib_d64 *hKernel,
1492                                            const mlib_d64 *vKernel,
1493                                            mlib_s32 hSize,
1494                                            mlib_s32 vSize,
1495                                            mlib_s32 hParity,
1496                                            mlib_s32 vParity,
1497                                            mlib_edge edge);
1498 
1499 
1500 #if defined ( __MEDIALIB_OLD_NAMES )
1501 #define __mlib_ImageFilteredSubsample_Fp mlib_ImageFilteredSubsample_Fp
1502 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1503 mlib_status  __mlib_ImageFilteredSubsample_Fp(mlib_image *dst,
1504                                               const mlib_image *src,
1505                                               mlib_s32 scaleX,
1506                                               mlib_s32 scaleY,
1507                                               mlib_s32 transX,
1508                                               mlib_s32 transY,
1509                                               const mlib_d64 *hKernel,
1510                                               const mlib_d64 *vKernel,
1511                                               mlib_s32 hSize,
1512                                               mlib_s32 vSize,
1513                                               mlib_s32 hParity,
1514                                               mlib_s32 vParity,
1515                                               mlib_edge edge);
1516 
1517 
1518 #if defined ( __MEDIALIB_OLD_NAMES )
1519 #define __mlib_ImageFlipAntiDiag mlib_ImageFlipAntiDiag
1520 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1521 mlib_status  __mlib_ImageFlipAntiDiag(mlib_image *dst,
1522                                       const mlib_image *src);
1523 
1524 
1525 #if defined ( __MEDIALIB_OLD_NAMES )
1526 #define __mlib_ImageFlipAntiDiag_Fp mlib_ImageFlipAntiDiag_Fp
1527 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1528 mlib_status  __mlib_ImageFlipAntiDiag_Fp(mlib_image *dst,
1529                                          const mlib_image *src);
1530 
1531 
1532 #if defined ( __MEDIALIB_OLD_NAMES )
1533 #define __mlib_ImageFlipMainDiag mlib_ImageFlipMainDiag
1534 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1535 mlib_status  __mlib_ImageFlipMainDiag(mlib_image *dst,
1536                                       const mlib_image *src);
1537 
1538 
1539 #if defined ( __MEDIALIB_OLD_NAMES )
1540 #define __mlib_ImageFlipMainDiag_Fp mlib_ImageFlipMainDiag_Fp
1541 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1542 mlib_status  __mlib_ImageFlipMainDiag_Fp(mlib_image *dst,
1543                                          const mlib_image *src);
1544 
1545 
1546 #if defined ( __MEDIALIB_OLD_NAMES )
1547 #define __mlib_ImageFlipX mlib_ImageFlipX
1548 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1549 mlib_status  __mlib_ImageFlipX(mlib_image *dst,
1550                                const mlib_image *src);
1551 
1552 
1553 #if defined ( __MEDIALIB_OLD_NAMES )
1554 #define __mlib_ImageFlipX_Fp mlib_ImageFlipX_Fp
1555 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1556 mlib_status  __mlib_ImageFlipX_Fp(mlib_image *dst,
1557                                   const mlib_image *src);
1558 
1559 
1560 #if defined ( __MEDIALIB_OLD_NAMES )
1561 #define __mlib_ImageFlipY mlib_ImageFlipY
1562 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1563 mlib_status  __mlib_ImageFlipY(mlib_image *dst,
1564                                const mlib_image *src);
1565 
1566 
1567 #if defined ( __MEDIALIB_OLD_NAMES )
1568 #define __mlib_ImageFlipY_Fp mlib_ImageFlipY_Fp
1569 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1570 mlib_status  __mlib_ImageFlipY_Fp(mlib_image *dst,
1571                                   const mlib_image *src);
1572 
1573 
1574 #if defined ( __MEDIALIB_OLD_NAMES )
1575 #define __mlib_ImageGridWarp mlib_ImageGridWarp
1576 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1577 mlib_status  __mlib_ImageGridWarp(mlib_image *dst,
1578                                   const mlib_image *src,
1579                                   const mlib_f32 *xWarpPos,
1580                                   const mlib_f32 *yWarpPos,
1581                                   mlib_d64 postShiftX,
1582                                   mlib_d64 postShiftY,
1583                                   mlib_s32 xStart,
1584                                   mlib_s32 xStep,
1585                                   mlib_s32 xNumCells,
1586                                   mlib_s32 yStart,
1587                                   mlib_s32 yStep,
1588                                   mlib_s32 yNumCells,
1589                                   mlib_filter filter,
1590                                   mlib_edge edge);
1591 
1592 
1593 #if defined ( __MEDIALIB_OLD_NAMES )
1594 #define __mlib_ImageGridWarpTable mlib_ImageGridWarpTable
1595 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1596 mlib_status  __mlib_ImageGridWarpTable(mlib_image *dst,
1597                                        const mlib_image *src,
1598                                        const mlib_f32 *xWarpPos,
1599                                        const mlib_f32 *yWarpPos,
1600                                        mlib_d64 postShiftX,
1601                                        mlib_d64 postShiftY,
1602                                        mlib_s32 xStart,
1603                                        mlib_s32 xStep,
1604                                        mlib_s32 xNumCells,
1605                                        mlib_s32 yStart,
1606                                        mlib_s32 yStep,
1607                                        mlib_s32 yNumCells,
1608                                        const void *table,
1609                                        mlib_edge edge);
1610 
1611 
1612 #if defined ( __MEDIALIB_OLD_NAMES )
1613 #define __mlib_ImageGridWarpTable_Fp mlib_ImageGridWarpTable_Fp
1614 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1615 mlib_status  __mlib_ImageGridWarpTable_Fp(mlib_image *dst,
1616                                           const mlib_image *src,
1617                                           const mlib_f32 *xWarpPos,
1618                                           const mlib_f32 *yWarpPos,
1619                                           mlib_d64 postShiftX,
1620                                           mlib_d64 postShiftY,
1621                                           mlib_s32 xStart,
1622                                           mlib_s32 xStep,
1623                                           mlib_s32 xNumCells,
1624                                           mlib_s32 yStart,
1625                                           mlib_s32 yStep,
1626                                           mlib_s32 yNumCells,
1627                                           const void *table,
1628                                           mlib_edge edge);
1629 
1630 
1631 #if defined ( __MEDIALIB_OLD_NAMES )
1632 #define __mlib_ImageGridWarp_Fp mlib_ImageGridWarp_Fp
1633 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1634 mlib_status  __mlib_ImageGridWarp_Fp(mlib_image *dst,
1635                                      const mlib_image *src,
1636                                      const mlib_f32 *xWarpPos,
1637                                      const mlib_f32 *yWarpPos,
1638                                      mlib_d64 postShiftX,
1639                                      mlib_d64 postShiftY,
1640                                      mlib_s32 xStart,
1641                                      mlib_s32 xStep,
1642                                      mlib_s32 xNumCells,
1643                                      mlib_s32 yStart,
1644                                      mlib_s32 yStep,
1645                                      mlib_s32 yNumCells,
1646                                      mlib_filter filter,
1647                                      mlib_edge edge);
1648 
1649 
1650 #if defined ( __MEDIALIB_OLD_NAMES )
1651 #define __mlib_ImageInterpTableCreate mlib_ImageInterpTableCreate
1652 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1653 void * __mlib_ImageInterpTableCreate(mlib_type type,
1654                                      mlib_s32 width,
1655                                      mlib_s32 height,
1656                                      mlib_s32 leftPadding,
1657                                      mlib_s32 topPadding,
1658                                      mlib_s32 subsampleBitsH,
1659                                      mlib_s32 subsampleBitsV,
1660                                      mlib_s32 precisionBits,
1661                                      const void *dataH,
1662                                      const void *dataV);
1663 
1664 
1665 #if defined ( __MEDIALIB_OLD_NAMES )
1666 #define __mlib_ImageInterpTableDelete mlib_ImageInterpTableDelete
1667 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1668 void  __mlib_ImageInterpTableDelete(void *interp_table);
1669 
1670 
1671 #if defined ( __MEDIALIB_OLD_NAMES )
1672 #define __mlib_ImagePolynomialWarp mlib_ImagePolynomialWarp
1673 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1674 mlib_status  __mlib_ImagePolynomialWarp(mlib_image *dst,
1675                                         const mlib_image *src,
1676                                         const mlib_d64 *xCoeffs,
1677                                         const mlib_d64 *yCoeffs,
1678                                         mlib_s32 n,
1679                                         mlib_d64 preShiftX,
1680                                         mlib_d64 preShiftY,
1681                                         mlib_d64 postShiftX,
1682                                         mlib_d64 postShiftY,
1683                                         mlib_d64 preScaleX,
1684                                         mlib_d64 preScaleY,
1685                                         mlib_d64 postScaleX,
1686                                         mlib_d64 postScaleY,
1687                                         mlib_filter filter,
1688                                         mlib_edge edge);
1689 
1690 
1691 #if defined ( __MEDIALIB_OLD_NAMES )
1692 #define __mlib_ImagePolynomialWarpTable mlib_ImagePolynomialWarpTable
1693 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1694 mlib_status  __mlib_ImagePolynomialWarpTable(mlib_image *dst,
1695                                              const mlib_image *src,
1696                                              const mlib_d64 *xCoeffs,
1697                                              const mlib_d64 *yCoeffs,
1698                                              mlib_s32 n,
1699                                              mlib_d64 preShiftX,
1700                                              mlib_d64 preShiftY,
1701                                              mlib_d64 postShiftX,
1702                                              mlib_d64 postShiftY,
1703                                              mlib_d64 preScaleX,
1704                                              mlib_d64 preScaleY,
1705                                              mlib_d64 postScaleX,
1706                                              mlib_d64 postScaleY,
1707                                              const void *interp_table,
1708                                              mlib_edge edge);
1709 
1710 
1711 #if defined ( __MEDIALIB_OLD_NAMES )
1712 #define __mlib_ImagePolynomialWarpTable_Fp mlib_ImagePolynomialWarpTable_Fp
1713 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1714 mlib_status  __mlib_ImagePolynomialWarpTable_Fp(mlib_image *dst,
1715                                                 const mlib_image *src,
1716                                                 const mlib_d64 *xCoeffs,
1717                                                 const mlib_d64 *yCoeffs,
1718                                                 mlib_s32 n,
1719                                                 mlib_d64 preShiftX,
1720                                                 mlib_d64 preShiftY,
1721                                                 mlib_d64 postShiftX,
1722                                                 mlib_d64 postShiftY,
1723                                                 mlib_d64 preScaleX,
1724                                                 mlib_d64 preScaleY,
1725                                                 mlib_d64 postScaleX,
1726                                                 mlib_d64 postScaleY,
1727                                                 const void *interp_table,
1728                                                 mlib_edge edge);
1729 
1730 
1731 #if defined ( __MEDIALIB_OLD_NAMES )
1732 #define __mlib_ImagePolynomialWarp_Fp mlib_ImagePolynomialWarp_Fp
1733 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1734 mlib_status  __mlib_ImagePolynomialWarp_Fp(mlib_image *dst,
1735                                            const mlib_image *src,
1736                                            const mlib_d64 *xCoeffs,
1737                                            const mlib_d64 *yCoeffs,
1738                                            mlib_s32 n,
1739                                            mlib_d64 preShiftX,
1740                                            mlib_d64 preShiftY,
1741                                            mlib_d64 postShiftX,
1742                                            mlib_d64 postShiftY,
1743                                            mlib_d64 preScaleX,
1744                                            mlib_d64 preScaleY,
1745                                            mlib_d64 postScaleX,
1746                                            mlib_d64 postScaleY,
1747                                            mlib_filter filter,
1748                                            mlib_edge edge);
1749 
1750 
1751 #if defined ( __MEDIALIB_OLD_NAMES )
1752 #define __mlib_ImageRotate mlib_ImageRotate
1753 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1754 mlib_status  __mlib_ImageRotate(mlib_image *dst,
1755                                 const mlib_image *src,
1756                                 mlib_d64 angle,
1757                                 mlib_d64 xcenter,
1758                                 mlib_d64 ycenter,
1759                                 mlib_filter filter,
1760                                 mlib_edge edge);
1761 
1762 
1763 #if defined ( __MEDIALIB_OLD_NAMES )
1764 #define __mlib_ImageRotate180 mlib_ImageRotate180
1765 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1766 mlib_status  __mlib_ImageRotate180(mlib_image *dst,
1767                                    const mlib_image *src);
1768 
1769 
1770 #if defined ( __MEDIALIB_OLD_NAMES )
1771 #define __mlib_ImageRotate180_Fp mlib_ImageRotate180_Fp
1772 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1773 mlib_status  __mlib_ImageRotate180_Fp(mlib_image *dst,
1774                                       const mlib_image *src);
1775 
1776 
1777 #if defined ( __MEDIALIB_OLD_NAMES )
1778 #define __mlib_ImageRotate270 mlib_ImageRotate270
1779 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1780 mlib_status  __mlib_ImageRotate270(mlib_image *dst,
1781                                    const mlib_image *src);
1782 
1783 
1784 #if defined ( __MEDIALIB_OLD_NAMES )
1785 #define __mlib_ImageRotate270_Fp mlib_ImageRotate270_Fp
1786 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1787 mlib_status  __mlib_ImageRotate270_Fp(mlib_image *dst,
1788                                       const mlib_image *src);
1789 
1790 
1791 #if defined ( __MEDIALIB_OLD_NAMES )
1792 #define __mlib_ImageRotate90 mlib_ImageRotate90
1793 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1794 mlib_status  __mlib_ImageRotate90(mlib_image *dst,
1795                                   const mlib_image *src);
1796 
1797 
1798 #if defined ( __MEDIALIB_OLD_NAMES )
1799 #define __mlib_ImageRotate90_Fp mlib_ImageRotate90_Fp
1800 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1801 mlib_status  __mlib_ImageRotate90_Fp(mlib_image *dst,
1802                                      const mlib_image *src);
1803 
1804 
1805 #if defined ( __MEDIALIB_OLD_NAMES )
1806 #define __mlib_ImageRotate_Fp mlib_ImageRotate_Fp
1807 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1808 mlib_status  __mlib_ImageRotate_Fp(mlib_image *dst,
1809                                    const mlib_image *src,
1810                                    mlib_d64 angle,
1811                                    mlib_d64 xcenter,
1812                                    mlib_d64 ycenter,
1813                                    mlib_filter filter,
1814                                    mlib_edge edge);
1815 
1816 
1817 #if defined ( __MEDIALIB_OLD_NAMES )
1818 #define __mlib_ImageSubsampleAverage mlib_ImageSubsampleAverage
1819 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1820 mlib_status  __mlib_ImageSubsampleAverage(mlib_image *dst,
1821                                           const mlib_image *src,
1822                                           mlib_d64 scalex,
1823                                           mlib_d64 scaley);
1824 
1825 
1826 #if defined ( __MEDIALIB_OLD_NAMES )
1827 #define __mlib_ImageSubsampleAverage_Fp mlib_ImageSubsampleAverage_Fp
1828 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1829 mlib_status  __mlib_ImageSubsampleAverage_Fp(mlib_image *dst,
1830                                              const mlib_image *src,
1831                                              mlib_d64 scalex,
1832                                              mlib_d64 scaley);
1833 
1834 
1835 #if defined ( __MEDIALIB_OLD_NAMES )
1836 #define __mlib_ImageSubsampleBinaryToGray mlib_ImageSubsampleBinaryToGray
1837 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1838 mlib_status  __mlib_ImageSubsampleBinaryToGray(mlib_image *dst,
1839                                                const mlib_image *src,
1840                                                mlib_d64 xscale,
1841                                                mlib_d64 yscale,
1842                                                const mlib_u8 *lutGray);
1843 
1844 
1845 #if defined ( __MEDIALIB_OLD_NAMES )
1846 #define __mlib_ImageZoomIn2X mlib_ImageZoomIn2X
1847 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1848 mlib_status  __mlib_ImageZoomIn2X(mlib_image *dst,
1849                                   const mlib_image *src,
1850                                   mlib_filter filter,
1851                                   mlib_edge edge);
1852 
1853 
1854 #if defined ( __MEDIALIB_OLD_NAMES )
1855 #define __mlib_ImageZoomIn2X_Fp mlib_ImageZoomIn2X_Fp
1856 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1857 mlib_status  __mlib_ImageZoomIn2X_Fp(mlib_image *dst,
1858                                      const mlib_image *src,
1859                                      mlib_filter filter,
1860                                      mlib_edge edge);
1861 
1862 
1863 #if defined ( __MEDIALIB_OLD_NAMES )
1864 #define __mlib_ImageZoomOut2X mlib_ImageZoomOut2X
1865 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1866 mlib_status  __mlib_ImageZoomOut2X(mlib_image *dst,
1867                                    const mlib_image *src,
1868                                    mlib_filter filter,
1869                                    mlib_edge edge);
1870 
1871 
1872 #if defined ( __MEDIALIB_OLD_NAMES )
1873 #define __mlib_ImageZoomOut2X_Fp mlib_ImageZoomOut2X_Fp
1874 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1875 mlib_status  __mlib_ImageZoomOut2X_Fp(mlib_image *dst,
1876                                       const mlib_image *src,
1877                                       mlib_filter filter,
1878                                       mlib_edge edge);
1879 
1880 
1881 #if defined ( __MEDIALIB_OLD_NAMES )
1882 #define __mlib_ImageZoomTranslate mlib_ImageZoomTranslate
1883 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1884 mlib_status  __mlib_ImageZoomTranslate(mlib_image *dst,
1885                                        const mlib_image *src,
1886                                        mlib_d64 zoomx,
1887                                        mlib_d64 zoomy,
1888                                        mlib_d64 tx,
1889                                        mlib_d64 ty,
1890                                        mlib_filter filter,
1891                                        mlib_edge edge);
1892 
1893 
1894 #if defined ( __MEDIALIB_OLD_NAMES )
1895 #define __mlib_ImageZoomTranslateTable mlib_ImageZoomTranslateTable
1896 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1897 mlib_status  __mlib_ImageZoomTranslateTable(mlib_image *dst,
1898                                             const mlib_image *src,
1899                                             mlib_d64 zoomx,
1900                                             mlib_d64 zoomy,
1901                                             mlib_d64 tx,
1902                                             mlib_d64 ty,
1903                                             const void *interp_table,
1904                                             mlib_edge edge);
1905 
1906 
1907 #if defined ( __MEDIALIB_OLD_NAMES )
1908 #define __mlib_ImageZoomTranslateTable_Fp mlib_ImageZoomTranslateTable_Fp
1909 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1910 mlib_status  __mlib_ImageZoomTranslateTable_Fp(mlib_image *dst,
1911                                                const mlib_image *src,
1912                                                mlib_d64 zoomx,
1913                                                mlib_d64 zoomy,
1914                                                mlib_d64 tx,
1915                                                mlib_d64 ty,
1916                                                const void *interp_table,
1917                                                mlib_edge edge);
1918 
1919 
1920 #if defined ( __MEDIALIB_OLD_NAMES )
1921 #define __mlib_ImageZoomTranslateToGray mlib_ImageZoomTranslateToGray
1922 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1923 mlib_status  __mlib_ImageZoomTranslateToGray(mlib_image *dst,
1924                                              const mlib_image *src,
1925                                              mlib_d64 zoomx,
1926                                              mlib_d64 zoomy,
1927                                              mlib_d64 tx,
1928                                              mlib_d64 ty,
1929                                              mlib_filter filter,
1930                                              mlib_edge edge,
1931                                              const mlib_s32 *ghigh,
1932                                              const mlib_s32 *glow);
1933 
1934 
1935 #if defined ( __MEDIALIB_OLD_NAMES )
1936 #define __mlib_ImageZoomTranslate_Fp mlib_ImageZoomTranslate_Fp
1937 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1938 mlib_status  __mlib_ImageZoomTranslate_Fp(mlib_image *dst,
1939                                           const mlib_image *src,
1940                                           mlib_d64 zoomx,
1941                                           mlib_d64 zoomy,
1942                                           mlib_d64 tx,
1943                                           mlib_d64 ty,
1944                                           mlib_filter filter,
1945                                           mlib_edge edge);
1946 
1947 
1948 #if defined ( __MEDIALIB_OLD_NAMES )
1949 #define __mlib_ImageZoom mlib_ImageZoom
1950 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1951 mlib_status  __mlib_ImageZoom(mlib_image *dst,
1952                               const mlib_image *src,
1953                               mlib_d64 zoomx,
1954                               mlib_d64 zoomy,
1955                               mlib_filter filter,
1956                               mlib_edge edge);
1957 
1958 
1959 #if defined ( __MEDIALIB_OLD_NAMES )
1960 #define __mlib_ImageZoom_Fp mlib_ImageZoom_Fp
1961 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1962 mlib_status  __mlib_ImageZoom_Fp(mlib_image *dst,
1963                                  const mlib_image *src,
1964                                  mlib_d64 zoomx,
1965                                  mlib_d64 zoomy,
1966                                  mlib_filter filter,
1967                                  mlib_edge edge);
1968 
1969 /* Logical Operations ( logic ) */
1970 
1971 
1972 #if defined ( __MEDIALIB_OLD_NAMES )
1973 #define __mlib_ImageAnd mlib_ImageAnd
1974 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1975 mlib_status  __mlib_ImageAnd(mlib_image *dst,
1976                              const mlib_image *src1,
1977                              const mlib_image *src2);
1978 
1979 
1980 #if defined ( __MEDIALIB_OLD_NAMES )
1981 #define __mlib_ImageAndNot mlib_ImageAndNot
1982 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1983 mlib_status  __mlib_ImageAndNot(mlib_image *dst,
1984                                 const mlib_image *src1,
1985                                 const mlib_image *src2);
1986 
1987 /* src1dst = src1dst & (~src2) */
1988 
1989 #if defined ( __MEDIALIB_OLD_NAMES )
1990 #define __mlib_ImageAndNot1_Inp mlib_ImageAndNot1_Inp
1991 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
1992 mlib_status  __mlib_ImageAndNot1_Inp(mlib_image *src1dst,
1993                                      const mlib_image *src2);
1994 
1995 /* src2dst = src1 & (~src2dst) */
1996 
1997 #if defined ( __MEDIALIB_OLD_NAMES )
1998 #define __mlib_ImageAndNot2_Inp mlib_ImageAndNot2_Inp
1999 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2000 mlib_status  __mlib_ImageAndNot2_Inp(mlib_image *src2dst,
2001                                      const mlib_image *src1);
2002 
2003 
2004 #if defined ( __MEDIALIB_OLD_NAMES )
2005 #define __mlib_ImageAnd_Inp mlib_ImageAnd_Inp
2006 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2007 mlib_status  __mlib_ImageAnd_Inp(mlib_image *src1dst,
2008                                  const mlib_image *src2);
2009 
2010 
2011 #if defined ( __MEDIALIB_OLD_NAMES )
2012 #define __mlib_ImageConstAnd mlib_ImageConstAnd
2013 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2014 mlib_status  __mlib_ImageConstAnd(mlib_image *dst,
2015                                   const mlib_image *src,
2016                                   const mlib_s32 *c);
2017 
2018 
2019 #if defined ( __MEDIALIB_OLD_NAMES )
2020 #define __mlib_ImageConstAndNot mlib_ImageConstAndNot
2021 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2022 mlib_status  __mlib_ImageConstAndNot(mlib_image *dst,
2023                                      const mlib_image *src,
2024                                      const mlib_s32 *c);
2025 
2026 /* srcdst = (~srcdst) & c */
2027 
2028 #if defined ( __MEDIALIB_OLD_NAMES )
2029 #define __mlib_ImageConstAndNot_Inp mlib_ImageConstAndNot_Inp
2030 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2031 mlib_status  __mlib_ImageConstAndNot_Inp(mlib_image *srcdst,
2032                                          const mlib_s32 *c);
2033 
2034 
2035 #if defined ( __MEDIALIB_OLD_NAMES )
2036 #define __mlib_ImageConstAnd_Inp mlib_ImageConstAnd_Inp
2037 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2038 mlib_status  __mlib_ImageConstAnd_Inp(mlib_image *srcdst,
2039                                       const mlib_s32 *c);
2040 
2041 
2042 #if defined ( __MEDIALIB_OLD_NAMES )
2043 #define __mlib_ImageConstNotAnd mlib_ImageConstNotAnd
2044 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2045 mlib_status  __mlib_ImageConstNotAnd(mlib_image *dst,
2046                                      const mlib_image *src,
2047                                      const mlib_s32 *c);
2048 
2049 
2050 #if defined ( __MEDIALIB_OLD_NAMES )
2051 #define __mlib_ImageConstNotAnd_Inp mlib_ImageConstNotAnd_Inp
2052 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2053 mlib_status  __mlib_ImageConstNotAnd_Inp(mlib_image *srcdst,
2054                                          const mlib_s32 *c);
2055 
2056 
2057 #if defined ( __MEDIALIB_OLD_NAMES )
2058 #define __mlib_ImageConstNotOr mlib_ImageConstNotOr
2059 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2060 mlib_status  __mlib_ImageConstNotOr(mlib_image *dst,
2061                                     const mlib_image *src,
2062                                     const mlib_s32 *c);
2063 
2064 
2065 #if defined ( __MEDIALIB_OLD_NAMES )
2066 #define __mlib_ImageConstNotOr_Inp mlib_ImageConstNotOr_Inp
2067 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2068 mlib_status  __mlib_ImageConstNotOr_Inp(mlib_image *srcdst,
2069                                         const mlib_s32 *c);
2070 
2071 
2072 #if defined ( __MEDIALIB_OLD_NAMES )
2073 #define __mlib_ImageConstNotXor mlib_ImageConstNotXor
2074 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2075 mlib_status  __mlib_ImageConstNotXor(mlib_image *dst,
2076                                      const mlib_image *src,
2077                                      const mlib_s32 *c);
2078 
2079 
2080 #if defined ( __MEDIALIB_OLD_NAMES )
2081 #define __mlib_ImageConstNotXor_Inp mlib_ImageConstNotXor_Inp
2082 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2083 mlib_status  __mlib_ImageConstNotXor_Inp(mlib_image *srcdst,
2084                                          const mlib_s32 *c);
2085 
2086 
2087 #if defined ( __MEDIALIB_OLD_NAMES )
2088 #define __mlib_ImageConstOr mlib_ImageConstOr
2089 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2090 mlib_status  __mlib_ImageConstOr(mlib_image *dst,
2091                                  const mlib_image *src,
2092                                  const mlib_s32 *c);
2093 
2094 
2095 #if defined ( __MEDIALIB_OLD_NAMES )
2096 #define __mlib_ImageConstOrNot mlib_ImageConstOrNot
2097 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2098 mlib_status  __mlib_ImageConstOrNot(mlib_image *dst,
2099                                     const mlib_image *src,
2100                                     const mlib_s32 *c);
2101 
2102 /* srcdst = (~srcdst) | c */
2103 
2104 #if defined ( __MEDIALIB_OLD_NAMES )
2105 #define __mlib_ImageConstOrNot_Inp mlib_ImageConstOrNot_Inp
2106 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2107 mlib_status  __mlib_ImageConstOrNot_Inp(mlib_image *srcdst,
2108                                         const mlib_s32 *c);
2109 
2110 
2111 #if defined ( __MEDIALIB_OLD_NAMES )
2112 #define __mlib_ImageConstOr_Inp mlib_ImageConstOr_Inp
2113 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2114 mlib_status  __mlib_ImageConstOr_Inp(mlib_image *srcdst,
2115                                      const mlib_s32 *c);
2116 
2117 
2118 #if defined ( __MEDIALIB_OLD_NAMES )
2119 #define __mlib_ImageConstXor mlib_ImageConstXor
2120 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2121 mlib_status  __mlib_ImageConstXor(mlib_image *dst,
2122                                   mlib_image *src,
2123                                   mlib_s32 *c);
2124 
2125 
2126 #if defined ( __MEDIALIB_OLD_NAMES )
2127 #define __mlib_ImageConstXor_Inp mlib_ImageConstXor_Inp
2128 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2129 mlib_status  __mlib_ImageConstXor_Inp(mlib_image *srcdst,
2130                                       const mlib_s32 *c);
2131 
2132 
2133 #if defined ( __MEDIALIB_OLD_NAMES )
2134 #define __mlib_ImageNot mlib_ImageNot
2135 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2136 mlib_status  __mlib_ImageNot(mlib_image *dst,
2137                              const mlib_image *src);
2138 
2139 
2140 #if defined ( __MEDIALIB_OLD_NAMES )
2141 #define __mlib_ImageNotAnd mlib_ImageNotAnd
2142 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2143 mlib_status  __mlib_ImageNotAnd(mlib_image *dst,
2144                                 const mlib_image *src1,
2145                                 const mlib_image *src2);
2146 
2147 
2148 #if defined ( __MEDIALIB_OLD_NAMES )
2149 #define __mlib_ImageNotAnd_Inp mlib_ImageNotAnd_Inp
2150 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2151 mlib_status  __mlib_ImageNotAnd_Inp(mlib_image *src1dst,
2152                                     const mlib_image *src2);
2153 
2154 
2155 #if defined ( __MEDIALIB_OLD_NAMES )
2156 #define __mlib_ImageNotOr mlib_ImageNotOr
2157 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2158 mlib_status  __mlib_ImageNotOr(mlib_image *dst,
2159                                const mlib_image *src1,
2160                                const mlib_image *src2);
2161 
2162 
2163 #if defined ( __MEDIALIB_OLD_NAMES )
2164 #define __mlib_ImageNotOr_Inp mlib_ImageNotOr_Inp
2165 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2166 mlib_status  __mlib_ImageNotOr_Inp(mlib_image *src1dst,
2167                                    const mlib_image *src2);
2168 
2169 
2170 #if defined ( __MEDIALIB_OLD_NAMES )
2171 #define __mlib_ImageNotXor mlib_ImageNotXor
2172 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2173 mlib_status  __mlib_ImageNotXor(mlib_image *dst,
2174                                 const mlib_image *src1,
2175                                 const mlib_image *src2);
2176 
2177 
2178 #if defined ( __MEDIALIB_OLD_NAMES )
2179 #define __mlib_ImageNotXor_Inp mlib_ImageNotXor_Inp
2180 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2181 mlib_status  __mlib_ImageNotXor_Inp(mlib_image *src1dst,
2182                                     const mlib_image *src2);
2183 
2184 
2185 #if defined ( __MEDIALIB_OLD_NAMES )
2186 #define __mlib_ImageNot_Inp mlib_ImageNot_Inp
2187 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2188 mlib_status  __mlib_ImageNot_Inp(mlib_image *srcdst);
2189 
2190 
2191 #if defined ( __MEDIALIB_OLD_NAMES )
2192 #define __mlib_ImageOr mlib_ImageOr
2193 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2194 mlib_status  __mlib_ImageOr(mlib_image *dst,
2195                             const mlib_image *src1,
2196                             const mlib_image *src2);
2197 
2198 
2199 #if defined ( __MEDIALIB_OLD_NAMES )
2200 #define __mlib_ImageOrNot mlib_ImageOrNot
2201 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2202 mlib_status  __mlib_ImageOrNot(mlib_image *dst,
2203                                const mlib_image *src1,
2204                                const mlib_image *src2);
2205 
2206 /* src1dst = src1dst | (~src2) */
2207 
2208 #if defined ( __MEDIALIB_OLD_NAMES )
2209 #define __mlib_ImageOrNot1_Inp mlib_ImageOrNot1_Inp
2210 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2211 mlib_status  __mlib_ImageOrNot1_Inp(mlib_image *src1dst,
2212                                     const mlib_image *src2);
2213 
2214 /* src2dst = src1 | (~src2dst) */
2215 
2216 #if defined ( __MEDIALIB_OLD_NAMES )
2217 #define __mlib_ImageOrNot2_Inp mlib_ImageOrNot2_Inp
2218 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2219 mlib_status  __mlib_ImageOrNot2_Inp(mlib_image *src2dst,
2220                                     const mlib_image *src1);
2221 
2222 
2223 #if defined ( __MEDIALIB_OLD_NAMES )
2224 #define __mlib_ImageOr_Inp mlib_ImageOr_Inp
2225 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2226 mlib_status  __mlib_ImageOr_Inp(mlib_image *src1dst,
2227                                 const mlib_image *src2);
2228 
2229 
2230 #if defined ( __MEDIALIB_OLD_NAMES )
2231 #define __mlib_ImageXor mlib_ImageXor
2232 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2233 mlib_status  __mlib_ImageXor(mlib_image *dst,
2234                              mlib_image *src1,
2235                              mlib_image *src2);
2236 
2237 
2238 #if defined ( __MEDIALIB_OLD_NAMES )
2239 #define __mlib_ImageXor_Inp mlib_ImageXor_Inp
2240 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2241 mlib_status  __mlib_ImageXor_Inp(mlib_image *src1dst,
2242                                  const mlib_image *src2);
2243 
2244 /* Radiometric Operations ( radio ) */
2245 
2246 
2247 #if defined ( __MEDIALIB_OLD_NAMES )
2248 #define __mlib_ImageColorReplace mlib_ImageColorReplace
2249 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2250 mlib_status  __mlib_ImageColorReplace(mlib_image *dst,
2251                                       const mlib_image *src,
2252                                       const mlib_s32 *color1,
2253                                       const mlib_s32 *color2);
2254 
2255 
2256 #if defined ( __MEDIALIB_OLD_NAMES )
2257 #define __mlib_ImageColorReplace_Fp mlib_ImageColorReplace_Fp
2258 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2259 mlib_status  __mlib_ImageColorReplace_Fp(mlib_image *dst,
2260                                          const mlib_image *src,
2261                                          const mlib_d64 *color1,
2262                                          const mlib_d64 *color2);
2263 
2264 
2265 #if defined ( __MEDIALIB_OLD_NAMES )
2266 #define __mlib_ImageColorReplace_Fp_Inp mlib_ImageColorReplace_Fp_Inp
2267 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2268 mlib_status  __mlib_ImageColorReplace_Fp_Inp(mlib_image *srcdst,
2269                                              const mlib_d64 *color1,
2270                                              const mlib_d64 *color2);
2271 
2272 
2273 #if defined ( __MEDIALIB_OLD_NAMES )
2274 #define __mlib_ImageColorReplace_Inp mlib_ImageColorReplace_Inp
2275 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2276 mlib_status  __mlib_ImageColorReplace_Inp(mlib_image *srcdst,
2277                                           const mlib_s32 *color1,
2278                                           const mlib_s32 *color2);
2279 
2280 
2281 #if defined ( __MEDIALIB_OLD_NAMES )
2282 #define __mlib_ImageHistogram mlib_ImageHistogram
2283 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2284 mlib_status  __mlib_ImageHistogram(mlib_s32 ** histo,
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,
2327                                     mlib_s32 channels,
2328                                     mlib_s32 cmask);
2329 
2330 
2331 #if defined ( __MEDIALIB_OLD_NAMES )
2332 #define __mlib_ImageLookUp_Inp mlib_ImageLookUp_Inp
2333 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2334 mlib_status  __mlib_ImageLookUp_Inp(mlib_image *srcdst,
2335                                     const void **table);
2336 
2337 
2338 #if defined ( __MEDIALIB_OLD_NAMES )
2339 #define __mlib_ImageThresh1 mlib_ImageThresh1
2340 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2341 mlib_status  __mlib_ImageThresh1(mlib_image *dst,
2342                                  const mlib_image *src,
2343                                  const mlib_s32 *thresh,
2344                                  const mlib_s32 *ghigh,
2345                                  const mlib_s32 *glow);
2346 
2347 
2348 #if defined ( __MEDIALIB_OLD_NAMES )
2349 #define __mlib_ImageThresh1_Fp mlib_ImageThresh1_Fp
2350 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2351 mlib_status  __mlib_ImageThresh1_Fp(mlib_image *dst,
2352                                     const mlib_image *src,
2353                                     const mlib_d64 *thresh,
2354                                     const mlib_d64 *ghigh,
2355                                     const mlib_d64 *glow);
2356 
2357 
2358 #if defined ( __MEDIALIB_OLD_NAMES )
2359 #define __mlib_ImageThresh1_Fp_Inp mlib_ImageThresh1_Fp_Inp
2360 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2361 mlib_status  __mlib_ImageThresh1_Fp_Inp(mlib_image *srcdst,
2362                                         const mlib_d64 *thresh,
2363                                         const mlib_d64 *ghigh,
2364                                         const mlib_d64 *glow);
2365 
2366 
2367 #if defined ( __MEDIALIB_OLD_NAMES )
2368 #define __mlib_ImageThresh1_Inp mlib_ImageThresh1_Inp
2369 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2370 mlib_status  __mlib_ImageThresh1_Inp(mlib_image *srcdst,
2371                                      const mlib_s32 *thresh,
2372                                      const mlib_s32 *ghigh,
2373                                      const mlib_s32 *glow);
2374 
2375 
2376 #if defined ( __MEDIALIB_OLD_NAMES )
2377 #define __mlib_ImageThresh2 mlib_ImageThresh2
2378 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2379 mlib_status  __mlib_ImageThresh2(mlib_image *dst,
2380                                  const mlib_image *src,
2381                                  const mlib_s32 *thresh,
2382                                  const mlib_s32 *glow);
2383 
2384 
2385 #if defined ( __MEDIALIB_OLD_NAMES )
2386 #define __mlib_ImageThresh2_Fp mlib_ImageThresh2_Fp
2387 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2388 mlib_status  __mlib_ImageThresh2_Fp(mlib_image *dst,
2389                                     const mlib_image *src,
2390                                     const mlib_d64 *thresh,
2391                                     const mlib_d64 *glow);
2392 
2393 
2394 #if defined ( __MEDIALIB_OLD_NAMES )
2395 #define __mlib_ImageThresh2_Fp_Inp mlib_ImageThresh2_Fp_Inp
2396 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2397 mlib_status  __mlib_ImageThresh2_Fp_Inp(mlib_image *srcdst,
2398                                         const mlib_d64 *thresh,
2399                                         const mlib_d64 *glow);
2400 
2401 
2402 #if defined ( __MEDIALIB_OLD_NAMES )
2403 #define __mlib_ImageThresh2_Inp mlib_ImageThresh2_Inp
2404 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2405 mlib_status  __mlib_ImageThresh2_Inp(mlib_image *srcdst,
2406                                      const mlib_s32 *thresh,
2407                                      const mlib_s32 *glow);
2408 
2409 
2410 #if defined ( __MEDIALIB_OLD_NAMES )
2411 #define __mlib_ImageThresh3 mlib_ImageThresh3
2412 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2413 mlib_status  __mlib_ImageThresh3(mlib_image *dst,
2414                                  const mlib_image *src,
2415                                  const mlib_s32 *thresh,
2416                                  const mlib_s32 *ghigh);
2417 
2418 
2419 #if defined ( __MEDIALIB_OLD_NAMES )
2420 #define __mlib_ImageThresh3_Fp mlib_ImageThresh3_Fp
2421 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2422 mlib_status  __mlib_ImageThresh3_Fp(mlib_image *dst,
2423                                     const mlib_image *src,
2424                                     const mlib_d64 *thresh,
2425                                     const mlib_d64 *ghigh);
2426 
2427 
2428 #if defined ( __MEDIALIB_OLD_NAMES )
2429 #define __mlib_ImageThresh3_Fp_Inp mlib_ImageThresh3_Fp_Inp
2430 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2431 mlib_status  __mlib_ImageThresh3_Fp_Inp(mlib_image *srcdst,
2432                                         const mlib_d64 *thresh,
2433                                         const mlib_d64 *ghigh);
2434 
2435 
2436 #if defined ( __MEDIALIB_OLD_NAMES )
2437 #define __mlib_ImageThresh3_Inp mlib_ImageThresh3_Inp
2438 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2439 mlib_status  __mlib_ImageThresh3_Inp(mlib_image *srcdst,
2440                                      const mlib_s32 *thresh,
2441                                      const mlib_s32 *ghigh);
2442 
2443 
2444 #if defined ( __MEDIALIB_OLD_NAMES )
2445 #define __mlib_ImageThresh4 mlib_ImageThresh4
2446 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2447 mlib_status  __mlib_ImageThresh4(mlib_image *dst,
2448                                  const mlib_image *src,
2449                                  const mlib_s32 *thigh,
2450                                  const mlib_s32 *tlow,
2451                                  const mlib_s32 *ghigh,
2452                                  const mlib_s32 *glow);
2453 
2454 
2455 #if defined ( __MEDIALIB_OLD_NAMES )
2456 #define __mlib_ImageThresh4_Fp mlib_ImageThresh4_Fp
2457 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2458 mlib_status  __mlib_ImageThresh4_Fp(mlib_image *dst,
2459                                     const mlib_image *src,
2460                                     const mlib_d64 *thigh,
2461                                     const mlib_d64 *tlow,
2462                                     const mlib_d64 *ghigh,
2463                                     const mlib_d64 *glow);
2464 
2465 
2466 #if defined ( __MEDIALIB_OLD_NAMES )
2467 #define __mlib_ImageThresh4_Fp_Inp mlib_ImageThresh4_Fp_Inp
2468 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2469 mlib_status  __mlib_ImageThresh4_Fp_Inp(mlib_image *srcdst,
2470                                         const mlib_d64 *thigh,
2471                                         const mlib_d64 *tlow,
2472                                         const mlib_d64 *ghigh,
2473                                         const mlib_d64 *glow);
2474 
2475 
2476 #if defined ( __MEDIALIB_OLD_NAMES )
2477 #define __mlib_ImageThresh4_Inp mlib_ImageThresh4_Inp
2478 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2479 mlib_status  __mlib_ImageThresh4_Inp(mlib_image *srcdst,
2480                                      const mlib_s32 *thigh,
2481                                      const mlib_s32 *tlow,
2482                                      const mlib_s32 *ghigh,
2483                                      const mlib_s32 *glow);
2484 
2485 
2486 #if defined ( __MEDIALIB_OLD_NAMES )
2487 #define __mlib_ImageThresh5 mlib_ImageThresh5
2488 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2489 mlib_status  __mlib_ImageThresh5(mlib_image *dst,
2490                                  const mlib_image *src,
2491                                  const mlib_s32 *thigh,
2492                                  const mlib_s32 *tlow,
2493                                  const mlib_s32 *gmid);
2494 
2495 
2496 #if defined ( __MEDIALIB_OLD_NAMES )
2497 #define __mlib_ImageThresh5_Fp mlib_ImageThresh5_Fp
2498 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2499 mlib_status  __mlib_ImageThresh5_Fp(mlib_image *dst,
2500                                     const mlib_image *src,
2501                                     const mlib_d64 *thigh,
2502                                     const mlib_d64 *tlow,
2503                                     const mlib_d64 *gmid);
2504 
2505 
2506 #if defined ( __MEDIALIB_OLD_NAMES )
2507 #define __mlib_ImageThresh5_Fp_Inp mlib_ImageThresh5_Fp_Inp
2508 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2509 mlib_status  __mlib_ImageThresh5_Fp_Inp(mlib_image *srcdst,
2510                                         const mlib_d64 *thigh,
2511                                         const mlib_d64 *tlow,
2512                                         const mlib_d64 *gmid);
2513 
2514 
2515 #if defined ( __MEDIALIB_OLD_NAMES )
2516 #define __mlib_ImageThresh5_Inp mlib_ImageThresh5_Inp
2517 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2518 mlib_status  __mlib_ImageThresh5_Inp(mlib_image *srcdst,
2519                                      const mlib_s32 *thigh,
2520                                      const mlib_s32 *tlow,
2521                                      const mlib_s32 *gmid);
2522 
2523 /* Linear and Not-Linear Spatial Operations, Morphological Operations ( spatial ) */
2524 
2525 
2526 #if defined ( __MEDIALIB_OLD_NAMES )
2527 #define __mlib_ImageConv2x2 mlib_ImageConv2x2
2528 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2529 mlib_status  __mlib_ImageConv2x2(mlib_image *dst,
2530                                  const mlib_image *src,
2531                                  const mlib_s32 *kernel,
2532                                  mlib_s32 scale,
2533                                  mlib_s32 cmask,
2534                                  mlib_edge edge);
2535 
2536 
2537 #if defined ( __MEDIALIB_OLD_NAMES )
2538 #define __mlib_ImageConv2x2_Fp mlib_ImageConv2x2_Fp
2539 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2540 mlib_status  __mlib_ImageConv2x2_Fp(mlib_image *dst,
2541                                     const mlib_image *src,
2542                                     const mlib_d64 *kernel,
2543                                     mlib_s32 cmask,
2544                                     mlib_edge edge);
2545 
2546 
2547 #if defined ( __MEDIALIB_OLD_NAMES )
2548 #define __mlib_ImageConv3x3 mlib_ImageConv3x3
2549 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2550 mlib_status  __mlib_ImageConv3x3(mlib_image *dst,
2551                                  const mlib_image *src,
2552                                  const mlib_s32 *kernel,
2553                                  mlib_s32 scale,
2554                                  mlib_s32 cmask,
2555                                  mlib_edge edge);
2556 
2557 
2558 #if defined ( __MEDIALIB_OLD_NAMES )
2559 #define __mlib_ImageConv3x3_Fp mlib_ImageConv3x3_Fp
2560 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2561 mlib_status  __mlib_ImageConv3x3_Fp(mlib_image *dst,
2562                                     const mlib_image *src,
2563                                     const mlib_d64 *kernel,
2564                                     mlib_s32 cmask,
2565                                     mlib_edge edge);
2566 
2567 
2568 #if defined ( __MEDIALIB_OLD_NAMES )
2569 #define __mlib_ImageConv4x4 mlib_ImageConv4x4
2570 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2571 mlib_status  __mlib_ImageConv4x4(mlib_image *dst,
2572                                  const mlib_image *src,
2573                                  const mlib_s32 *kernel,
2574                                  mlib_s32 scale,
2575                                  mlib_s32 cmask,
2576                                  mlib_edge edge);
2577 
2578 
2579 #if defined ( __MEDIALIB_OLD_NAMES )
2580 #define __mlib_ImageConv4x4_Fp mlib_ImageConv4x4_Fp
2581 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2582 mlib_status  __mlib_ImageConv4x4_Fp(mlib_image *dst,
2583                                     const mlib_image *src,
2584                                     const mlib_d64 *kernel,
2585                                     mlib_s32 cmask,
2586                                     mlib_edge edge);
2587 
2588 
2589 #if defined ( __MEDIALIB_OLD_NAMES )
2590 #define __mlib_ImageConv5x5 mlib_ImageConv5x5
2591 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2592 mlib_status  __mlib_ImageConv5x5(mlib_image *dst,
2593                                  const mlib_image *src,
2594                                  const mlib_s32 *kernel,
2595                                  mlib_s32 scale,
2596                                  mlib_s32 cmask,
2597                                  mlib_edge edge);
2598 
2599 
2600 #if defined ( __MEDIALIB_OLD_NAMES )
2601 #define __mlib_ImageConv5x5_Fp mlib_ImageConv5x5_Fp
2602 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2603 mlib_status  __mlib_ImageConv5x5_Fp(mlib_image *dst,
2604                                     const mlib_image *src,
2605                                     const mlib_d64 *kernel,
2606                                     mlib_s32 cmask,
2607                                     mlib_edge edge);
2608 
2609 
2610 #if defined ( __MEDIALIB_OLD_NAMES )
2611 #define __mlib_ImageConv7x7 mlib_ImageConv7x7
2612 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2613 mlib_status  __mlib_ImageConv7x7(mlib_image *dst,
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,
2668                                     mlib_s32 dn,
2669                                     mlib_s32 cmask,
2670                                     mlib_edge edge);
2671 
2672 
2673 #if defined ( __MEDIALIB_OLD_NAMES )
2674 #define __mlib_ImageConvolveMxN mlib_ImageConvolveMxN
2675 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2676 mlib_status  __mlib_ImageConvolveMxN(mlib_image *dst,
2677                                      const mlib_image *src,
2678                                      const mlib_d64 *kernel,
2679                                      mlib_s32 m,
2680                                      mlib_s32 n,
2681                                      mlib_s32 dm,
2682                                      mlib_s32 dn,
2683                                      mlib_s32 cmask,
2684                                      mlib_edge edge);
2685 
2686 
2687 #if defined ( __MEDIALIB_OLD_NAMES )
2688 #define __mlib_ImageConvolveMxN_Fp mlib_ImageConvolveMxN_Fp
2689 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2690 mlib_status  __mlib_ImageConvolveMxN_Fp(mlib_image *dst,
2691                                         const mlib_image *src,
2692                                         const mlib_d64 *kernel,
2693                                         mlib_s32 m,
2694                                         mlib_s32 n,
2695                                         mlib_s32 dm,
2696                                         mlib_s32 dn,
2697                                         mlib_s32 cmask,
2698                                         mlib_edge edge);
2699 
2700 
2701 #if defined ( __MEDIALIB_OLD_NAMES )
2702 #define __mlib_ImageDilate4 mlib_ImageDilate4
2703 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2704 mlib_status  __mlib_ImageDilate4(mlib_image *dst,
2705                                  const mlib_image *src);
2706 
2707 
2708 #if defined ( __MEDIALIB_OLD_NAMES )
2709 #define __mlib_ImageDilate4_Fp mlib_ImageDilate4_Fp
2710 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2711 mlib_status  __mlib_ImageDilate4_Fp(mlib_image *dst,
2712                                     const mlib_image *src);
2713 
2714 
2715 #if defined ( __MEDIALIB_OLD_NAMES )
2716 #define __mlib_ImageDilate8 mlib_ImageDilate8
2717 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2718 mlib_status  __mlib_ImageDilate8(mlib_image *dst,
2719                                  const mlib_image *src);
2720 
2721 
2722 #if defined ( __MEDIALIB_OLD_NAMES )
2723 #define __mlib_ImageDilate8_Fp mlib_ImageDilate8_Fp
2724 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2725 mlib_status  __mlib_ImageDilate8_Fp(mlib_image *dst,
2726                                     const mlib_image *src);
2727 
2728 
2729 #if defined ( __MEDIALIB_OLD_NAMES )
2730 #define __mlib_ImageErode4 mlib_ImageErode4
2731 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2732 mlib_status  __mlib_ImageErode4(mlib_image *dst,
2733                                 const mlib_image *src);
2734 
2735 
2736 #if defined ( __MEDIALIB_OLD_NAMES )
2737 #define __mlib_ImageErode4_Fp mlib_ImageErode4_Fp
2738 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2739 mlib_status  __mlib_ImageErode4_Fp(mlib_image *dst,
2740                                    const mlib_image *src);
2741 
2742 
2743 #if defined ( __MEDIALIB_OLD_NAMES )
2744 #define __mlib_ImageErode8 mlib_ImageErode8
2745 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2746 mlib_status  __mlib_ImageErode8(mlib_image *dst,
2747                                 const mlib_image *src);
2748 
2749 
2750 #if defined ( __MEDIALIB_OLD_NAMES )
2751 #define __mlib_ImageErode8_Fp mlib_ImageErode8_Fp
2752 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2753 mlib_status  __mlib_ImageErode8_Fp(mlib_image *dst,
2754                                    const mlib_image *src);
2755 
2756 
2757 #if defined ( __MEDIALIB_OLD_NAMES )
2758 #define __mlib_ImageGradient3x3 mlib_ImageGradient3x3
2759 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2760 mlib_status  __mlib_ImageGradient3x3(mlib_image *dst,
2761                                      const mlib_image *src,
2762                                      const mlib_d64 *hmask,
2763                                      const mlib_d64 *vmask,
2764                                      mlib_s32 cmask,
2765                                      mlib_edge edge);
2766 
2767 
2768 #if defined ( __MEDIALIB_OLD_NAMES )
2769 #define __mlib_ImageGradient3x3_Fp mlib_ImageGradient3x3_Fp
2770 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2771 mlib_status  __mlib_ImageGradient3x3_Fp(mlib_image *dst,
2772                                         const mlib_image *src,
2773                                         const mlib_d64 *hmask,
2774                                         const mlib_d64 *vmask,
2775                                         mlib_s32 cmask,
2776                                         mlib_edge edge);
2777 
2778 
2779 #if defined ( __MEDIALIB_OLD_NAMES )
2780 #define __mlib_ImageGradientMxN mlib_ImageGradientMxN
2781 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2782 mlib_status  __mlib_ImageGradientMxN(mlib_image *dst,
2783                                      const mlib_image *src,
2784                                      const mlib_d64 *hmask,
2785                                      const mlib_d64 *vmask,
2786                                      mlib_s32 m,
2787                                      mlib_s32 n,
2788                                      mlib_s32 dm,
2789                                      mlib_s32 dn,
2790                                      mlib_s32 cmask,
2791                                      mlib_edge edge);
2792 
2793 
2794 #if defined ( __MEDIALIB_OLD_NAMES )
2795 #define __mlib_ImageGradientMxN_Fp mlib_ImageGradientMxN_Fp
2796 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2797 mlib_status  __mlib_ImageGradientMxN_Fp(mlib_image *dst,
2798                                         const mlib_image *src,
2799                                         const mlib_d64 *hmask,
2800                                         const mlib_d64 *vmask,
2801                                         mlib_s32 m,
2802                                         mlib_s32 n,
2803                                         mlib_s32 dm,
2804                                         mlib_s32 dn,
2805                                         mlib_s32 cmask,
2806                                         mlib_edge edge);
2807 
2808 
2809 #if defined ( __MEDIALIB_OLD_NAMES )
2810 #define __mlib_ImageMaxFilter3x3 mlib_ImageMaxFilter3x3
2811 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2812 mlib_status  __mlib_ImageMaxFilter3x3(mlib_image *dst,
2813                                       const mlib_image *src);
2814 
2815 
2816 #if defined ( __MEDIALIB_OLD_NAMES )
2817 #define __mlib_ImageMaxFilter3x3_Fp mlib_ImageMaxFilter3x3_Fp
2818 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2819 mlib_status  __mlib_ImageMaxFilter3x3_Fp(mlib_image *dst,
2820                                          const mlib_image *src);
2821 
2822 
2823 #if defined ( __MEDIALIB_OLD_NAMES )
2824 #define __mlib_ImageMaxFilter5x5 mlib_ImageMaxFilter5x5
2825 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2826 mlib_status  __mlib_ImageMaxFilter5x5(mlib_image *dst,
2827                                       const mlib_image *src);
2828 
2829 
2830 #if defined ( __MEDIALIB_OLD_NAMES )
2831 #define __mlib_ImageMaxFilter5x5_Fp mlib_ImageMaxFilter5x5_Fp
2832 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2833 mlib_status  __mlib_ImageMaxFilter5x5_Fp(mlib_image *dst,
2834                                          const mlib_image *src);
2835 
2836 
2837 #if defined ( __MEDIALIB_OLD_NAMES )
2838 #define __mlib_ImageMaxFilter7x7 mlib_ImageMaxFilter7x7
2839 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2840 mlib_status  __mlib_ImageMaxFilter7x7(mlib_image *dst,
2841                                       const mlib_image *src);
2842 
2843 
2844 #if defined ( __MEDIALIB_OLD_NAMES )
2845 #define __mlib_ImageMaxFilter7x7_Fp mlib_ImageMaxFilter7x7_Fp
2846 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2847 mlib_status  __mlib_ImageMaxFilter7x7_Fp(mlib_image *dst,
2848                                          const mlib_image *src);
2849 
2850 
2851 #if defined ( __MEDIALIB_OLD_NAMES )
2852 #define __mlib_ImageMedianFilter3x3 mlib_ImageMedianFilter3x3
2853 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2854 mlib_status  __mlib_ImageMedianFilter3x3(mlib_image *dst,
2855                                          const mlib_image *src,
2856                                          mlib_median_mask mmask,
2857                                          mlib_s32 cmask,
2858                                          mlib_edge edge);
2859 
2860 
2861 #if defined ( __MEDIALIB_OLD_NAMES )
2862 #define __mlib_ImageMedianFilter3x3_Fp mlib_ImageMedianFilter3x3_Fp
2863 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2864 mlib_status  __mlib_ImageMedianFilter3x3_Fp(mlib_image *dst,
2865                                             const mlib_image *src,
2866                                             mlib_median_mask mmask,
2867                                             mlib_s32 cmask,
2868                                             mlib_edge edge);
2869 
2870 
2871 #if defined ( __MEDIALIB_OLD_NAMES )
2872 #define __mlib_ImageMedianFilter3x3_US mlib_ImageMedianFilter3x3_US
2873 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2874 mlib_status  __mlib_ImageMedianFilter3x3_US(mlib_image *dst,
2875                                             const mlib_image *src,
2876                                             mlib_median_mask mmask,
2877                                             mlib_s32 cmask,
2878                                             mlib_edge edge,
2879                                             mlib_s32 bits);
2880 
2881 
2882 #if defined ( __MEDIALIB_OLD_NAMES )
2883 #define __mlib_ImageMedianFilter5x5 mlib_ImageMedianFilter5x5
2884 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2885 mlib_status  __mlib_ImageMedianFilter5x5(mlib_image *dst,
2886                                          const mlib_image *src,
2887                                          mlib_median_mask mmask,
2888                                          mlib_s32 cmask,
2889                                          mlib_edge edge);
2890 
2891 
2892 #if defined ( __MEDIALIB_OLD_NAMES )
2893 #define __mlib_ImageMedianFilter5x5_Fp mlib_ImageMedianFilter5x5_Fp
2894 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2895 mlib_status  __mlib_ImageMedianFilter5x5_Fp(mlib_image *dst,
2896                                             const mlib_image *src,
2897                                             mlib_median_mask mmask,
2898                                             mlib_s32 cmask,
2899                                             mlib_edge edge);
2900 
2901 
2902 #if defined ( __MEDIALIB_OLD_NAMES )
2903 #define __mlib_ImageMedianFilter5x5_US mlib_ImageMedianFilter5x5_US
2904 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2905 mlib_status  __mlib_ImageMedianFilter5x5_US(mlib_image *dst,
2906                                             const mlib_image *src,
2907                                             mlib_median_mask mmask,
2908                                             mlib_s32 cmask,
2909                                             mlib_edge edge,
2910                                             mlib_s32 bits);
2911 
2912 
2913 #if defined ( __MEDIALIB_OLD_NAMES )
2914 #define __mlib_ImageMedianFilter7x7 mlib_ImageMedianFilter7x7
2915 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2916 mlib_status  __mlib_ImageMedianFilter7x7(mlib_image *dst,
2917                                          const mlib_image *src,
2918                                          mlib_median_mask mmask,
2919                                          mlib_s32 cmask,
2920                                          mlib_edge edge);
2921 
2922 
2923 #if defined ( __MEDIALIB_OLD_NAMES )
2924 #define __mlib_ImageMedianFilter7x7_Fp mlib_ImageMedianFilter7x7_Fp
2925 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2926 mlib_status  __mlib_ImageMedianFilter7x7_Fp(mlib_image *dst,
2927                                             const mlib_image *src,
2928                                             mlib_median_mask mmask,
2929                                             mlib_s32 cmask,
2930                                             mlib_edge edge);
2931 
2932 
2933 #if defined ( __MEDIALIB_OLD_NAMES )
2934 #define __mlib_ImageMedianFilter7x7_US mlib_ImageMedianFilter7x7_US
2935 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2936 mlib_status  __mlib_ImageMedianFilter7x7_US(mlib_image *dst,
2937                                             const mlib_image *src,
2938                                             mlib_median_mask mmask,
2939                                             mlib_s32 cmask,
2940                                             mlib_edge edge,
2941                                             mlib_s32 bits);
2942 
2943 
2944 #if defined ( __MEDIALIB_OLD_NAMES )
2945 #define __mlib_ImageMedianFilterMxN mlib_ImageMedianFilterMxN
2946 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2947 mlib_status  __mlib_ImageMedianFilterMxN(mlib_image *dst,
2948                                          const mlib_image *src,
2949                                          mlib_s32 m,
2950                                          mlib_s32 n,
2951                                          mlib_median_mask mmask,
2952                                          mlib_s32 cmask,
2953                                          mlib_edge edge);
2954 
2955 
2956 #if defined ( __MEDIALIB_OLD_NAMES )
2957 #define __mlib_ImageMedianFilterMxN_Fp mlib_ImageMedianFilterMxN_Fp
2958 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2959 mlib_status  __mlib_ImageMedianFilterMxN_Fp(mlib_image *dst,
2960                                             const mlib_image *src,
2961                                             mlib_s32 m,
2962                                             mlib_s32 n,
2963                                             mlib_median_mask mmask,
2964                                             mlib_s32 cmask,
2965                                             mlib_edge edge);
2966 
2967 
2968 #if defined ( __MEDIALIB_OLD_NAMES )
2969 #define __mlib_ImageMedianFilterMxN_US mlib_ImageMedianFilterMxN_US
2970 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2971 mlib_status  __mlib_ImageMedianFilterMxN_US(mlib_image *dst,
2972                                             const mlib_image *src,
2973                                             mlib_s32 m,
2974                                             mlib_s32 n,
2975                                             mlib_median_mask mmask,
2976                                             mlib_s32 cmask,
2977                                             mlib_edge edge,
2978                                             mlib_s32 bits);
2979 
2980 
2981 #if defined ( __MEDIALIB_OLD_NAMES )
2982 #define __mlib_ImageMinFilter3x3 mlib_ImageMinFilter3x3
2983 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2984 mlib_status  __mlib_ImageMinFilter3x3(mlib_image *dst,
2985                                       const mlib_image *src);
2986 
2987 
2988 #if defined ( __MEDIALIB_OLD_NAMES )
2989 #define __mlib_ImageMinFilter3x3_Fp mlib_ImageMinFilter3x3_Fp
2990 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2991 mlib_status  __mlib_ImageMinFilter3x3_Fp(mlib_image *dst,
2992                                          const mlib_image *src);
2993 
2994 
2995 #if defined ( __MEDIALIB_OLD_NAMES )
2996 #define __mlib_ImageMinFilter5x5 mlib_ImageMinFilter5x5
2997 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
2998 mlib_status  __mlib_ImageMinFilter5x5(mlib_image *dst,
2999                                       const mlib_image *src);
3000 
3001 
3002 #if defined ( __MEDIALIB_OLD_NAMES )
3003 #define __mlib_ImageMinFilter5x5_Fp mlib_ImageMinFilter5x5_Fp
3004 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3005 mlib_status  __mlib_ImageMinFilter5x5_Fp(mlib_image *dst,
3006                                          const mlib_image *src);
3007 
3008 
3009 #if defined ( __MEDIALIB_OLD_NAMES )
3010 #define __mlib_ImageMinFilter7x7 mlib_ImageMinFilter7x7
3011 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3012 mlib_status  __mlib_ImageMinFilter7x7(mlib_image *dst,
3013                                       const mlib_image *src);
3014 
3015 
3016 #if defined ( __MEDIALIB_OLD_NAMES )
3017 #define __mlib_ImageMinFilter7x7_Fp mlib_ImageMinFilter7x7_Fp
3018 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3019 mlib_status  __mlib_ImageMinFilter7x7_Fp(mlib_image *dst,
3020                                          const mlib_image *src);
3021 
3022 
3023 #if defined ( __MEDIALIB_OLD_NAMES )
3024 #define __mlib_ImageRankFilter3x3 mlib_ImageRankFilter3x3
3025 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3026 mlib_status  __mlib_ImageRankFilter3x3(mlib_image *dst,
3027                                        const mlib_image *src,
3028                                        mlib_s32 rank);
3029 
3030 
3031 #if defined ( __MEDIALIB_OLD_NAMES )
3032 #define __mlib_ImageRankFilter3x3_Fp mlib_ImageRankFilter3x3_Fp
3033 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3034 mlib_status  __mlib_ImageRankFilter3x3_Fp(mlib_image *dst,
3035                                           const mlib_image *src,
3036                                           mlib_s32 rank);
3037 
3038 
3039 #if defined ( __MEDIALIB_OLD_NAMES )
3040 #define __mlib_ImageRankFilter3x3_US mlib_ImageRankFilter3x3_US
3041 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3042 mlib_status  __mlib_ImageRankFilter3x3_US(mlib_image *dst,
3043                                           const mlib_image *src,
3044                                           mlib_s32 rank,
3045                                           mlib_s32 bits);
3046 
3047 
3048 #if defined ( __MEDIALIB_OLD_NAMES )
3049 #define __mlib_ImageRankFilter5x5 mlib_ImageRankFilter5x5
3050 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3051 mlib_status  __mlib_ImageRankFilter5x5(mlib_image *dst,
3052                                        const mlib_image *src,
3053                                        mlib_s32 rank);
3054 
3055 
3056 #if defined ( __MEDIALIB_OLD_NAMES )
3057 #define __mlib_ImageRankFilter5x5_Fp mlib_ImageRankFilter5x5_Fp
3058 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3059 mlib_status  __mlib_ImageRankFilter5x5_Fp(mlib_image *dst,
3060                                           const mlib_image *src,
3061                                           mlib_s32 rank);
3062 
3063 
3064 #if defined ( __MEDIALIB_OLD_NAMES )
3065 #define __mlib_ImageRankFilter5x5_US mlib_ImageRankFilter5x5_US
3066 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3067 mlib_status  __mlib_ImageRankFilter5x5_US(mlib_image *dst,
3068                                           const mlib_image *src,
3069                                           mlib_s32 rank,
3070                                           mlib_s32 bits);
3071 
3072 
3073 #if defined ( __MEDIALIB_OLD_NAMES )
3074 #define __mlib_ImageRankFilter7x7 mlib_ImageRankFilter7x7
3075 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3076 mlib_status  __mlib_ImageRankFilter7x7(mlib_image *dst,
3077                                        const mlib_image *src,
3078                                        mlib_s32 rank);
3079 
3080 
3081 #if defined ( __MEDIALIB_OLD_NAMES )
3082 #define __mlib_ImageRankFilter7x7_Fp mlib_ImageRankFilter7x7_Fp
3083 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3084 mlib_status  __mlib_ImageRankFilter7x7_Fp(mlib_image *dst,
3085                                           const mlib_image *src,
3086                                           mlib_s32 rank);
3087 
3088 
3089 #if defined ( __MEDIALIB_OLD_NAMES )
3090 #define __mlib_ImageRankFilter7x7_US mlib_ImageRankFilter7x7_US
3091 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3092 mlib_status  __mlib_ImageRankFilter7x7_US(mlib_image *dst,
3093                                           const mlib_image *src,
3094                                           mlib_s32 rank,
3095                                           mlib_s32 bits);
3096 
3097 
3098 #if defined ( __MEDIALIB_OLD_NAMES )
3099 #define __mlib_ImageRankFilterMxN mlib_ImageRankFilterMxN
3100 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3101 mlib_status  __mlib_ImageRankFilterMxN(mlib_image *dst,
3102                                        const mlib_image *src,
3103                                        mlib_s32 m,
3104                                        mlib_s32 n,
3105                                        mlib_s32 rank);
3106 
3107 
3108 #if defined ( __MEDIALIB_OLD_NAMES )
3109 #define __mlib_ImageRankFilterMxN_Fp mlib_ImageRankFilterMxN_Fp
3110 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3111 mlib_status  __mlib_ImageRankFilterMxN_Fp(mlib_image *dst,
3112                                           const mlib_image *src,
3113                                           mlib_s32 m,
3114                                           mlib_s32 n,
3115                                           mlib_s32 rank);
3116 
3117 
3118 #if defined ( __MEDIALIB_OLD_NAMES )
3119 #define __mlib_ImageRankFilterMxN_US mlib_ImageRankFilterMxN_US
3120 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3121 mlib_status  __mlib_ImageRankFilterMxN_US(mlib_image *dst,
3122                                           const mlib_image *src,
3123                                           mlib_s32 m,
3124                                           mlib_s32 n,
3125                                           mlib_s32 rank,
3126                                           mlib_s32 bits);
3127 
3128 
3129 #if defined ( __MEDIALIB_OLD_NAMES )
3130 #define __mlib_ImageSConv3x3 mlib_ImageSConv3x3
3131 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3132 mlib_status  __mlib_ImageSConv3x3(mlib_image *dst,
3133                                   const mlib_image *src,
3134                                   const mlib_s32 *hkernel,
3135                                   const mlib_s32 *vkernel,
3136                                   mlib_s32 scale,
3137                                   mlib_s32 cmask,
3138                                   mlib_edge edge);
3139 
3140 
3141 #if defined ( __MEDIALIB_OLD_NAMES )
3142 #define __mlib_ImageSConv3x3_Fp mlib_ImageSConv3x3_Fp
3143 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3144 mlib_status  __mlib_ImageSConv3x3_Fp(mlib_image *dst,
3145                                      const mlib_image *src,
3146                                      const mlib_d64 *hkernel,
3147                                      const mlib_d64 *vkernel,
3148                                      mlib_s32 cmask,
3149                                      mlib_edge edge);
3150 
3151 
3152 #if defined ( __MEDIALIB_OLD_NAMES )
3153 #define __mlib_ImageSConv5x5 mlib_ImageSConv5x5
3154 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3155 mlib_status  __mlib_ImageSConv5x5(mlib_image *dst,
3156                                   const mlib_image *src,
3157                                   const mlib_s32 *hkernel,
3158                                   const mlib_s32 *vkernel,
3159                                   mlib_s32 scale,
3160                                   mlib_s32 cmask,
3161                                   mlib_edge edge);
3162 
3163 
3164 #if defined ( __MEDIALIB_OLD_NAMES )
3165 #define __mlib_ImageSConv5x5_Fp mlib_ImageSConv5x5_Fp
3166 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3167 mlib_status  __mlib_ImageSConv5x5_Fp(mlib_image *dst,
3168                                      const mlib_image *src,
3169                                      const mlib_d64 *hkernel,
3170                                      const mlib_d64 *vkernel,
3171                                      mlib_s32 cmask,
3172                                      mlib_edge edge);
3173 
3174 
3175 #if defined ( __MEDIALIB_OLD_NAMES )
3176 #define __mlib_ImageSConv7x7 mlib_ImageSConv7x7
3177 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3178 mlib_status  __mlib_ImageSConv7x7(mlib_image *dst,
3179                                   const mlib_image *src,
3180                                   const mlib_s32 *hkernel,
3181                                   const mlib_s32 *vkernel,
3182                                   mlib_s32 scale,
3183                                   mlib_s32 cmask,
3184                                   mlib_edge edge);
3185 
3186 
3187 #if defined ( __MEDIALIB_OLD_NAMES )
3188 #define __mlib_ImageSConv7x7_Fp mlib_ImageSConv7x7_Fp
3189 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3190 mlib_status  __mlib_ImageSConv7x7_Fp(mlib_image *dst,
3191                                      const mlib_image *src,
3192                                      const mlib_d64 *hkernel,
3193                                      const mlib_d64 *vkernel,
3194                                      mlib_s32 cmask,
3195                                      mlib_edge edge);
3196 
3197 
3198 #if defined ( __MEDIALIB_OLD_NAMES )
3199 #define __mlib_ImageSConvKernelConvert mlib_ImageSConvKernelConvert
3200 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3201 mlib_status  __mlib_ImageSConvKernelConvert(mlib_s32 *ihkernel,
3202                                             mlib_s32 *ivkernel,
3203                                             mlib_s32 *iscale,
3204                                             const mlib_d64 *fhkernel,
3205                                             const mlib_d64 *fvkernel,
3206                                             mlib_s32 m,
3207                                             mlib_s32 n,
3208                                             mlib_type type);
3209 
3210 
3211 #if defined ( __MEDIALIB_OLD_NAMES )
3212 #define __mlib_ImageSobel mlib_ImageSobel
3213 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3214 mlib_status  __mlib_ImageSobel(mlib_image *dst,
3215                                const mlib_image *src,
3216                                mlib_s32 cmask,
3217                                mlib_edge edge);
3218 
3219 
3220 #if defined ( __MEDIALIB_OLD_NAMES )
3221 #define __mlib_ImageSobel_Fp mlib_ImageSobel_Fp
3222 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3223 mlib_status  __mlib_ImageSobel_Fp(mlib_image *dst,
3224                                   const mlib_image *src,
3225                                   mlib_s32 cmask,
3226                                   mlib_edge edge);
3227 
3228 /* Image Staistics ( stat ) */
3229 
3230 
3231 #if defined ( __MEDIALIB_OLD_NAMES )
3232 #define __mlib_ImageAutoCorrel mlib_ImageAutoCorrel
3233 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3234 mlib_status  __mlib_ImageAutoCorrel(mlib_d64 *correl,
3235                                     const mlib_image *img,
3236                                     mlib_s32 dx,
3237                                     mlib_s32 dy);
3238 
3239 
3240 #if defined ( __MEDIALIB_OLD_NAMES )
3241 #define __mlib_ImageAutoCorrel_Fp mlib_ImageAutoCorrel_Fp
3242 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3243 mlib_status  __mlib_ImageAutoCorrel_Fp(mlib_d64 *correl,
3244                                        const mlib_image *img,
3245                                        mlib_s32 dx,
3246                                        mlib_s32 dy);
3247 
3248 
3249 #if defined ( __MEDIALIB_OLD_NAMES )
3250 #define __mlib_ImageCrossCorrel mlib_ImageCrossCorrel
3251 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3252 mlib_status  __mlib_ImageCrossCorrel(mlib_d64 *correl,
3253                                      const mlib_image *img1,
3254                                      const mlib_image *img2);
3255 
3256 
3257 #if defined ( __MEDIALIB_OLD_NAMES )
3258 #define __mlib_ImageCrossCorrel_Fp mlib_ImageCrossCorrel_Fp
3259 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3260 mlib_status  __mlib_ImageCrossCorrel_Fp(mlib_d64 *correl,
3261                                         const mlib_image *img1,
3262                                         const mlib_image *img2);
3263 
3264 
3265 #if defined ( __MEDIALIB_OLD_NAMES )
3266 #define __mlib_ImageExtrema2 mlib_ImageExtrema2
3267 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3268 mlib_status  __mlib_ImageExtrema2(mlib_s32 *min,
3269                                   mlib_s32 *max,
3270                                   const mlib_image *img,
3271                                   mlib_s32 xStart,
3272                                   mlib_s32 yStart,
3273                                   mlib_s32 xPeriod,
3274                                   mlib_s32 yPeriod);
3275 
3276 
3277 #if defined ( __MEDIALIB_OLD_NAMES )
3278 #define __mlib_ImageExtrema2_Fp mlib_ImageExtrema2_Fp
3279 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3280 mlib_status  __mlib_ImageExtrema2_Fp(mlib_d64 *min,
3281                                      mlib_d64 *max,
3282                                      const mlib_image *img,
3283                                      mlib_s32 xStart,
3284                                      mlib_s32 yStart,
3285                                      mlib_s32 xPeriod,
3286                                      mlib_s32 yPeriod);
3287 
3288 
3289 #if defined ( __MEDIALIB_OLD_NAMES )
3290 #define __mlib_ImageExtremaLocations mlib_ImageExtremaLocations
3291 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3292 mlib_status  __mlib_ImageExtremaLocations(mlib_s32 *min,
3293                                           mlib_s32 *max,
3294                                           const mlib_image *img,
3295                                           mlib_s32 xStart,
3296                                           mlib_s32 yStart,
3297                                           mlib_s32 xPeriod,
3298                                           mlib_s32 yPeriod,
3299                                           mlib_s32 saveLocations,
3300                                           mlib_s32 maxRuns,
3301                                           mlib_s32 *minCounts,
3302                                           mlib_s32 *maxCounts,
3303                                           mlib_s32 **minLocations,
3304                                           mlib_s32 **maxLocations,
3305                                           mlib_s32 len);
3306 
3307 
3308 #if defined ( __MEDIALIB_OLD_NAMES )
3309 #define __mlib_ImageExtremaLocations_Fp mlib_ImageExtremaLocations_Fp
3310 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3311 mlib_status  __mlib_ImageExtremaLocations_Fp(mlib_d64 *min,
3312                                              mlib_d64 *max,
3313                                              const mlib_image *img,
3314                                              mlib_s32 xStart,
3315                                              mlib_s32 yStart,
3316                                              mlib_s32 xPeriod,
3317                                              mlib_s32 yPeriod,
3318                                              mlib_s32 saveLocations,
3319                                              mlib_s32 maxRuns,
3320                                              mlib_s32 *minCounts,
3321                                              mlib_s32 *maxCounts,
3322                                              mlib_s32 **minLocations,
3323                                              mlib_s32 **maxLocations,
3324                                              mlib_s32 len);
3325 
3326 
3327 #if defined ( __MEDIALIB_OLD_NAMES )
3328 #define __mlib_ImageMaximum mlib_ImageMaximum
3329 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3330 mlib_status  __mlib_ImageMaximum(mlib_s32 *max,
3331                                  const mlib_image *img);
3332 
3333 
3334 #if defined ( __MEDIALIB_OLD_NAMES )
3335 #define __mlib_ImageMaximum_Fp mlib_ImageMaximum_Fp
3336 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3337 mlib_status  __mlib_ImageMaximum_Fp(mlib_d64 *max,
3338                                     const mlib_image *img);
3339 
3340 
3341 #if defined ( __MEDIALIB_OLD_NAMES )
3342 #define __mlib_ImageMean mlib_ImageMean
3343 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3344 mlib_status  __mlib_ImageMean(mlib_d64 *mean,
3345                               const mlib_image *img);
3346 
3347 
3348 #if defined ( __MEDIALIB_OLD_NAMES )
3349 #define __mlib_ImageMean_Fp mlib_ImageMean_Fp
3350 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3351 mlib_status  __mlib_ImageMean_Fp(mlib_d64 *mean,
3352                                  const mlib_image *img);
3353 
3354 
3355 #if defined ( __MEDIALIB_OLD_NAMES )
3356 #define __mlib_ImageMinimum mlib_ImageMinimum
3357 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3358 mlib_status  __mlib_ImageMinimum(mlib_s32 *min,
3359                                  const mlib_image *img);
3360 
3361 
3362 #if defined ( __MEDIALIB_OLD_NAMES )
3363 #define __mlib_ImageMinimum_Fp mlib_ImageMinimum_Fp
3364 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3365 mlib_status  __mlib_ImageMinimum_Fp(mlib_d64 *min,
3366                                     const mlib_image *img);
3367 
3368 
3369 #if defined ( __MEDIALIB_OLD_NAMES )
3370 #define __mlib_ImageMoment2 mlib_ImageMoment2
3371 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3372 mlib_status  __mlib_ImageMoment2(mlib_d64 *moment,
3373                                  const mlib_image *img);
3374 
3375 
3376 #if defined ( __MEDIALIB_OLD_NAMES )
3377 #define __mlib_ImageMoment2_Fp mlib_ImageMoment2_Fp
3378 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3379 mlib_status  __mlib_ImageMoment2_Fp(mlib_d64 *moment,
3380                                     const mlib_image *img);
3381 
3382 
3383 #if defined ( __MEDIALIB_OLD_NAMES )
3384 #define __mlib_ImageStdDev mlib_ImageStdDev
3385 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3386 mlib_status  __mlib_ImageStdDev(mlib_d64 *sdev,
3387                                 const mlib_image *img,
3388                                 const mlib_d64 *mean);
3389 
3390 
3391 #if defined ( __MEDIALIB_OLD_NAMES )
3392 #define __mlib_ImageStdDev_Fp mlib_ImageStdDev_Fp
3393 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3394 mlib_status  __mlib_ImageStdDev_Fp(mlib_d64 *sdev,
3395                                    const mlib_image *img,
3396                                    const mlib_d64 *mean);
3397 
3398 
3399 #if defined ( __MEDIALIB_OLD_NAMES )
3400 #define __mlib_ImageXProj mlib_ImageXProj
3401 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3402 mlib_status  __mlib_ImageXProj(mlib_d64 *xproj,
3403                                const mlib_image *img);
3404 
3405 
3406 #if defined ( __MEDIALIB_OLD_NAMES )
3407 #define __mlib_ImageXProj_Fp mlib_ImageXProj_Fp
3408 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3409 mlib_status  __mlib_ImageXProj_Fp(mlib_d64 *xproj,
3410                                   const mlib_image *img);
3411 
3412 
3413 #if defined ( __MEDIALIB_OLD_NAMES )
3414 #define __mlib_ImageYProj mlib_ImageYProj
3415 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3416 mlib_status  __mlib_ImageYProj(mlib_d64 *yproj,
3417                                const mlib_image *img);
3418 
3419 
3420 #if defined ( __MEDIALIB_OLD_NAMES )
3421 #define __mlib_ImageYProj_Fp mlib_ImageYProj_Fp
3422 #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */
3423 mlib_status  __mlib_ImageYProj_Fp(mlib_d64 *yproj,
3424                                   const mlib_image *img);
3425 
3426 #ifdef __cplusplus
3427 }
3428 #endif /* __cplusplus */
3429 #endif /* __ORIG_MLIB_IMAGE_PROTO_H */
--- EOF ---