os/ossrv/genericopenlibs/liboil/src/convert.c
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2  * LIBOIL - Library of Optimized Inner Loops
     3  * Copyright (c) 2001,2003,2004 David A. Schleef <ds@schleef.org>
     4  * All rights reserved.
     5  *
     6  * Redistribution and use in source and binary forms, with or without
     7  * modification, are permitted provided that the following conditions
     8  * are met:
     9  * 1. Redistributions of source code must retain the above copyright
    10  *    notice, this list of conditions and the following disclaimer.
    11  * 2. Redistributions in binary form must reproduce the above copyright
    12  *    notice, this list of conditions and the following disclaimer in the
    13  *    documentation and/or other materials provided with the distribution.
    14  * 
    15  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
    16  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    17  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    18  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
    19  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
    20  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
    21  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    22  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
    23  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
    24  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    25  * POSSIBILITY OF SUCH DAMAGE.
    26  */
    27 //Portions Copyright (c)  2008-2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. 
    28 
    29 #ifdef HAVE_CONFIG_H
    30 #include "config.h"
    31 #endif
    32 #include <liboilfunction.h>
    33 #include <liboiltest.h>
    34 #include <liboilrandom.h>
    35 
    36 #include <math.h>
    37 #include <string.h>
    38 #include <stdlib.h>
    39 
    40 
    41 /**
    42  * SECTION:liboilfuncs-conv
    43  * @title: Type Conversion
    44  * @short_description: Type conversion
    45  *
    46  * The functions in this section perform type conversion.
    47  *
    48  * The <i>convert</i> functions convert value from the source type to
    49  * the destination type.  Conversion of values outside the
    50  * destination range are saturated to the destination range.
    51  *
    52  * The <i>scaleconv</i> functions multiply the source values by a
    53  * constant factor before converting to the destination type.  Conversion
    54  * of values outside the destination range are clamped to the
    55  * destination range.
    56  * 
    57  * Conversion of values from floating point types to integer types
    58  * is done using a round-to-nearest policy.  Rounding of half-integers
    59  * is undefined and may vary between implementations.
    60  */
    61 
    62 
    63 static void
    64 convert_float_test (OilTest *test)
    65 {
    66   int i;
    67   int n;
    68   double min = 0;
    69   double max = 1;
    70   void *data = oil_test_get_source_data (test, OIL_ARG_SRC1);
    71 
    72   n = test->params[OIL_ARG_SRC1].post_n;
    73 
    74   switch(test->params[OIL_ARG_DEST1].type) {
    75     case OIL_TYPE_s8p:
    76       min = oil_type_min_s8;
    77       max = oil_type_max_s8;
    78       break;
    79     case OIL_TYPE_u8p:
    80       min = oil_type_min_u8;
    81       max = oil_type_max_u8;
    82       break;
    83     case OIL_TYPE_s16p:
    84       min = oil_type_min_s16;
    85       max = oil_type_max_s16;
    86       break;
    87     case OIL_TYPE_u16p:
    88       min = oil_type_min_u16;
    89       max = oil_type_max_u16;
    90       break;
    91     case OIL_TYPE_s32p:
    92       min = oil_type_min_s32;
    93       max = oil_type_max_s32;
    94       break;
    95     case OIL_TYPE_u32p:
    96       min = oil_type_min_u32;
    97       max = oil_type_max_u32;
    98       break;
    99     default:
   100       break;
   101   }
   102 
   103   switch (test->params[OIL_ARG_SRC1].type) {
   104     case OIL_TYPE_f32p:
   105       for(i=0;i<n;i++){
   106         int x;
   107         x = oil_rand_u8() & 0x1;
   108         switch (x) {
   109           case 0:
   110             ((float *)data)[i] = oil_rand_f32() * (max - min) + min;
   111             break;
   112           case 1:
   113             if (min < 0) {
   114               ((float *)data)[i] = (oil_rand_f32() - 0.5) * 10;
   115             } else {
   116               ((float *)data)[i] = oil_rand_f32() * 10;
   117             }
   118             break;
   119         }
   120       }
   121       break;
   122     case OIL_TYPE_f64p:
   123       for(i=0;i<n;i++){
   124         ((double *)data)[i] = oil_rand_f64() * (max - min) + min;
   125       }
   126       break;
   127     default:
   128       break;
   129   }
   130 }
   131 
   132 
   133 #define CONVERT_DEFINE_NONE_REF(desttype,srctype) \
   134 static void convert_ ## desttype ## _ ## srctype ## _ref ( \
   135   oil_type_ ## desttype *dest, \
   136   oil_type_ ## srctype *src, \
   137   int n) \
   138 { \
   139   int i; \
   140   oil_type_ ## srctype x; \
   141   for(i=0;i<n;i++){ \
   142     x = src[i]; \
   143     dest[i] = x; \
   144   } \
   145 } \
   146 OIL_DEFINE_CLASS(convert_ ## desttype ## _ ## srctype, \
   147   "oil_type_" #desttype " *dest, " \
   148   "oil_type_" #srctype " *src, " \
   149   "int n"); \
   150 OIL_DEFINE_IMPL_REF(convert_ ## desttype ## _ ## srctype ## _ref, \
   151   convert_ ## desttype ## _ ## srctype)
   152 
   153 #define CONVERT_DEFINE_BOTH_REF(desttype,srctype) \
   154 static void convert_ ## desttype ## _ ## srctype ## _ref ( \
   155   oil_type_ ## desttype *dest, \
   156   oil_type_ ## srctype *src, \
   157   int n) \
   158 { \
   159   int i; \
   160   oil_type_ ## srctype x; \
   161   for(i=0;i<n;i++){ \
   162     x = src[i]; \
   163     if(x<oil_type_min_ ## desttype) x=oil_type_min_ ## desttype; \
   164     if(x>oil_type_max_ ## desttype) x=oil_type_max_ ## desttype; \
   165     dest[i] = x; \
   166   } \
   167 } \
   168 OIL_DEFINE_CLASS(convert_ ## desttype ## _ ## srctype, \
   169   "oil_type_" #desttype " *dest, " \
   170   "oil_type_" #srctype " *src, " \
   171   "int n"); \
   172 OIL_DEFINE_IMPL_REF(convert_ ## desttype ## _ ## srctype ## _ref, \
   173   convert_ ## desttype ## _ ## srctype)
   174 
   175 #define CONVERT_DEFINE_UPPER_REF(desttype,srctype) \
   176 static void convert_ ## desttype ## _ ## srctype ## _ref ( \
   177   oil_type_ ## desttype *dest, \
   178   oil_type_ ## srctype *src, \
   179   int n) \
   180 { \
   181   int i; \
   182   oil_type_ ## srctype x; \
   183   for(i=0;i<n;i++){ \
   184     x = src[i]; \
   185     if(x>oil_type_max_ ## desttype) x=oil_type_max_ ## desttype; \
   186     dest[i] = x; \
   187   } \
   188 } \
   189 OIL_DEFINE_CLASS(convert_ ## desttype ## _ ## srctype, \
   190   "oil_type_" #desttype " *dest, " \
   191   "oil_type_" #srctype " *src, " \
   192   "int n"); \
   193 OIL_DEFINE_IMPL_REF(convert_ ## desttype ## _ ## srctype ## _ref, \
   194   convert_ ## desttype ## _ ## srctype)
   195 
   196 #define CONVERT_DEFINE_LOWER_REF(desttype,srctype) \
   197 static void convert_ ## desttype ## _ ## srctype ## _ref ( \
   198   oil_type_ ## desttype *dest, \
   199   oil_type_ ## srctype *src, \
   200   int n) \
   201 { \
   202   int i; \
   203   oil_type_ ## srctype x; \
   204   for(i=0;i<n;i++){ \
   205     x = src[i]; \
   206     if(x<oil_type_min_ ## desttype) x=oil_type_min_ ## desttype; \
   207     dest[i] = x; \
   208   } \
   209 } \
   210 OIL_DEFINE_CLASS(convert_ ## desttype ## _ ## srctype, \
   211   "oil_type_" #desttype " *dest, " \
   212   "oil_type_" #srctype " *src, " \
   213   "int n"); \
   214 OIL_DEFINE_IMPL_REF(convert_ ## desttype ## _ ## srctype ## _ref, \
   215   convert_ ## desttype ## _ ## srctype)
   216 
   217 #define CONVERT_DEFINE_FLOAT_REF(desttype,srctype) \
   218 static void convert_ ## desttype ## _ ## srctype ## _ref ( \
   219   oil_type_ ## desttype *dest, \
   220   oil_type_ ## srctype *src, \
   221   int n) \
   222 { \
   223   int i; \
   224   oil_type_ ## srctype x; \
   225   for(i=0;i<n;i++){ \
   226     x = src[i]; \
   227     if(x<oil_type_min_ ## desttype) x=oil_type_min_ ## desttype; \
   228     if(x>oil_type_max_ ## desttype) x=oil_type_max_ ## desttype; \
   229     dest[i] = x; \
   230   } \
   231 } \
   232 OIL_DEFINE_CLASS_FULL(convert_ ## desttype ## _ ## srctype, \
   233   "oil_type_" #desttype " *dest, " \
   234   "oil_type_" #srctype " *src, " \
   235   "int n", convert_float_test); \
   236 OIL_DEFINE_IMPL_REF(convert_ ## desttype ## _ ## srctype ## _ref, \
   237   convert_ ## desttype ## _ ## srctype)
   238 
   239 /* no clip */
   240 CONVERT_DEFINE_NONE_REF(s16,s8);
   241 #ifdef	__SYMBIAN32__
   242  
   243 OilFunctionImpl* __oil_function_impl_convert_s16_s8_ref() {
   244         return &_oil_function_impl_convert_s16_s8_ref;
   245 }
   246 #endif
   247 
   248 CONVERT_DEFINE_NONE_REF(s16,u8);
   249 #ifdef	__SYMBIAN32__
   250  
   251 OilFunctionImpl* __oil_function_impl_convert_s16_u8_ref() {
   252         return &_oil_function_impl_convert_s16_u8_ref;
   253 }
   254 #endif
   255 
   256 CONVERT_DEFINE_NONE_REF(s32,s8);
   257 #ifdef	__SYMBIAN32__
   258  
   259 OilFunctionImpl* __oil_function_impl_convert_s32_s8_ref() {
   260         return &_oil_function_impl_convert_s32_s8_ref;
   261 }
   262 #endif
   263 
   264 CONVERT_DEFINE_NONE_REF(s32,u8);
   265 #ifdef	__SYMBIAN32__
   266  
   267 OilFunctionImpl* __oil_function_impl_convert_s32_u8_ref() {
   268         return &_oil_function_impl_convert_s32_u8_ref;
   269 }
   270 #endif
   271 
   272 CONVERT_DEFINE_NONE_REF(s32,s16);
   273 #ifdef	__SYMBIAN32__
   274  
   275 OilFunctionImpl* __oil_function_impl_convert_s32_s16_ref() {
   276         return &_oil_function_impl_convert_s32_s16_ref;
   277 }
   278 #endif
   279 
   280 CONVERT_DEFINE_NONE_REF(s32,u16);
   281 #ifdef	__SYMBIAN32__
   282  
   283 OilFunctionImpl* __oil_function_impl_convert_s32_u16_ref() {
   284         return &_oil_function_impl_convert_s32_u16_ref;
   285 }
   286 #endif
   287 
   288 CONVERT_DEFINE_NONE_REF(u16,u8);
   289 #ifdef	__SYMBIAN32__
   290  
   291 OilFunctionImpl* __oil_function_impl_convert_u16_u8_ref() {
   292         return &_oil_function_impl_convert_u16_u8_ref;
   293 }
   294 #endif
   295 
   296 CONVERT_DEFINE_NONE_REF(u32,u8);
   297 #ifdef	__SYMBIAN32__
   298  
   299 OilFunctionImpl* __oil_function_impl_convert_u32_u8_ref() {
   300         return &_oil_function_impl_convert_u32_u8_ref;
   301 }
   302 #endif
   303 
   304 CONVERT_DEFINE_NONE_REF(u32,u16);
   305 #ifdef	__SYMBIAN32__
   306  
   307 OilFunctionImpl* __oil_function_impl_convert_u32_u16_ref() {
   308         return &_oil_function_impl_convert_u32_u16_ref;
   309 }
   310 #endif
   311 
   312 /* clip upper */
   313 CONVERT_DEFINE_UPPER_REF(s8,u8);
   314 #ifdef	__SYMBIAN32__
   315  
   316 OilFunctionImpl* __oil_function_impl_convert_s8_u8_ref() {
   317         return &_oil_function_impl_convert_s8_u8_ref;
   318 }
   319 #endif
   320 
   321 CONVERT_DEFINE_UPPER_REF(s8,u16);
   322 #ifdef	__SYMBIAN32__
   323  
   324 OilFunctionImpl* __oil_function_impl_convert_s8_u16_ref() {
   325         return &_oil_function_impl_convert_s8_u16_ref;
   326 }
   327 #endif
   328 
   329 CONVERT_DEFINE_UPPER_REF(s8,u32);
   330 #ifdef	__SYMBIAN32__
   331  
   332 OilFunctionImpl* __oil_function_impl_convert_s8_u32_ref() {
   333         return &_oil_function_impl_convert_s8_u32_ref;
   334 }
   335 #endif
   336 
   337 CONVERT_DEFINE_UPPER_REF(u8,u32);
   338 #ifdef	__SYMBIAN32__
   339  
   340 OilFunctionImpl* __oil_function_impl_convert_u8_u32_ref() {
   341         return &_oil_function_impl_convert_u8_u32_ref;
   342 }
   343 #endif
   344 
   345 CONVERT_DEFINE_UPPER_REF(u8,u16);
   346 #ifdef	__SYMBIAN32__
   347  
   348 OilFunctionImpl* __oil_function_impl_convert_u8_u16_ref() {
   349         return &_oil_function_impl_convert_u8_u16_ref;
   350 }
   351 #endif
   352 
   353 CONVERT_DEFINE_UPPER_REF(s16,u16);
   354 #ifdef	__SYMBIAN32__
   355  
   356 OilFunctionImpl* __oil_function_impl_convert_s16_u16_ref() {
   357         return &_oil_function_impl_convert_s16_u16_ref;
   358 }
   359 #endif
   360 
   361 CONVERT_DEFINE_UPPER_REF(s16,u32);
   362 #ifdef	__SYMBIAN32__
   363  
   364 OilFunctionImpl* __oil_function_impl_convert_s16_u32_ref() {
   365         return &_oil_function_impl_convert_s16_u32_ref;
   366 }
   367 #endif
   368 
   369 CONVERT_DEFINE_UPPER_REF(s32,u32);
   370 #ifdef	__SYMBIAN32__
   371  
   372 OilFunctionImpl* __oil_function_impl_convert_s32_u32_ref() {
   373         return &_oil_function_impl_convert_s32_u32_ref;
   374 }
   375 #endif
   376 
   377 CONVERT_DEFINE_UPPER_REF(u16,u32);
   378 #ifdef	__SYMBIAN32__
   379  
   380 OilFunctionImpl* __oil_function_impl_convert_u16_u32_ref() {
   381         return &_oil_function_impl_convert_u16_u32_ref;
   382 }
   383 #endif
   384 
   385 /* clip both */
   386 CONVERT_DEFINE_BOTH_REF(s8,s16);
   387 #ifdef	__SYMBIAN32__
   388  
   389 OilFunctionImpl* __oil_function_impl_convert_s8_s16_ref() {
   390         return &_oil_function_impl_convert_s8_s16_ref;
   391 }
   392 #endif
   393 
   394 CONVERT_DEFINE_BOTH_REF(s8,s32);
   395 #ifdef	__SYMBIAN32__
   396  
   397 OilFunctionImpl* __oil_function_impl_convert_s8_s32_ref() {
   398         return &_oil_function_impl_convert_s8_s32_ref;
   399 }
   400 #endif
   401 
   402 CONVERT_DEFINE_BOTH_REF(u8,s16);
   403 #ifdef	__SYMBIAN32__
   404  
   405 OilFunctionImpl* __oil_function_impl_convert_u8_s16_ref() {
   406         return &_oil_function_impl_convert_u8_s16_ref;
   407 }
   408 #endif
   409 
   410 CONVERT_DEFINE_BOTH_REF(u8,s32);
   411 #ifdef	__SYMBIAN32__
   412  
   413 OilFunctionImpl* __oil_function_impl_convert_u8_s32_ref() {
   414         return &_oil_function_impl_convert_u8_s32_ref;
   415 }
   416 #endif
   417 
   418 CONVERT_DEFINE_BOTH_REF(s16,s32);
   419 #ifdef	__SYMBIAN32__
   420  
   421 OilFunctionImpl* __oil_function_impl_convert_s16_s32_ref() {
   422         return &_oil_function_impl_convert_s16_s32_ref;
   423 }
   424 #endif
   425 
   426 CONVERT_DEFINE_BOTH_REF(u16,s32);
   427 #ifdef	__SYMBIAN32__
   428  
   429 OilFunctionImpl* __oil_function_impl_convert_u16_s32_ref() {
   430         return &_oil_function_impl_convert_u16_s32_ref;
   431 }
   432 #endif
   433 
   434 /* clip lower */
   435 CONVERT_DEFINE_LOWER_REF(u8,s8);
   436 #ifdef	__SYMBIAN32__
   437  
   438 OilFunctionImpl* __oil_function_impl_convert_u8_s8_ref() {
   439         return &_oil_function_impl_convert_u8_s8_ref;
   440 }
   441 #endif
   442 
   443 CONVERT_DEFINE_LOWER_REF(u16,s16);
   444 #ifdef	__SYMBIAN32__
   445  
   446 OilFunctionImpl* __oil_function_impl_convert_u16_s16_ref() {
   447         return &_oil_function_impl_convert_u16_s16_ref;
   448 }
   449 #endif
   450 
   451 CONVERT_DEFINE_LOWER_REF(u32,s32);
   452 #ifdef	__SYMBIAN32__
   453  
   454 OilFunctionImpl* __oil_function_impl_convert_u32_s32_ref() {
   455         return &_oil_function_impl_convert_u32_s32_ref;
   456 }
   457 #endif
   458 
   459 /* clip both, float */
   460 CONVERT_DEFINE_FLOAT_REF(s8,f32);
   461 #ifdef	__SYMBIAN32__
   462  
   463 OilFunctionImpl* __oil_function_impl_convert_s8_f32_ref() {
   464         return &_oil_function_impl_convert_s8_f32_ref;
   465 }
   466 #endif
   467 
   468 CONVERT_DEFINE_FLOAT_REF(s8,f64);
   469 #ifdef	__SYMBIAN32__
   470  
   471 OilFunctionImpl* __oil_function_impl_convert_s8_f64_ref() {
   472         return &_oil_function_impl_convert_s8_f64_ref;
   473 }
   474 #endif
   475 
   476 CONVERT_DEFINE_FLOAT_REF(u8,f32);
   477 #ifdef	__SYMBIAN32__
   478  
   479 OilFunctionImpl* __oil_function_impl_convert_u8_f32_ref() {
   480         return &_oil_function_impl_convert_u8_f32_ref;
   481 }
   482 #endif
   483 
   484 CONVERT_DEFINE_FLOAT_REF(u8,f64);
   485 #ifdef	__SYMBIAN32__
   486  
   487 OilFunctionImpl* __oil_function_impl_convert_u8_f64_ref() {
   488         return &_oil_function_impl_convert_u8_f64_ref;
   489 }
   490 #endif
   491 
   492 CONVERT_DEFINE_FLOAT_REF(s16,f32);
   493 #ifdef	__SYMBIAN32__
   494  
   495 OilFunctionImpl* __oil_function_impl_convert_s16_f32_ref() {
   496         return &_oil_function_impl_convert_s16_f32_ref;
   497 }
   498 #endif
   499 
   500 CONVERT_DEFINE_FLOAT_REF(s16,f64);
   501 #ifdef	__SYMBIAN32__
   502  
   503 OilFunctionImpl* __oil_function_impl_convert_s16_f64_ref() {
   504         return &_oil_function_impl_convert_s16_f64_ref;
   505 }
   506 #endif
   507 
   508 CONVERT_DEFINE_FLOAT_REF(u16,f32);
   509 #ifdef	__SYMBIAN32__
   510  
   511 OilFunctionImpl* __oil_function_impl_convert_u16_f32_ref() {
   512         return &_oil_function_impl_convert_u16_f32_ref;
   513 }
   514 #endif
   515 
   516 CONVERT_DEFINE_FLOAT_REF(u16,f64);
   517 #ifdef	__SYMBIAN32__
   518  
   519 OilFunctionImpl* __oil_function_impl_convert_u16_f64_ref() {
   520         return &_oil_function_impl_convert_u16_f64_ref;
   521 }
   522 #endif
   523 
   524 CONVERT_DEFINE_FLOAT_REF(s32,f64);
   525 #ifdef	__SYMBIAN32__
   526  
   527 OilFunctionImpl* __oil_function_impl_convert_s32_f64_ref() {
   528         return &_oil_function_impl_convert_s32_f64_ref;
   529 }
   530 #endif
   531 
   532 CONVERT_DEFINE_FLOAT_REF(u32,f64);
   533 #ifdef	__SYMBIAN32__
   534  
   535 OilFunctionImpl* __oil_function_impl_convert_u32_f64_ref() {
   536         return &_oil_function_impl_convert_u32_f64_ref;
   537 }
   538 #endif
   539 
   540 
   541 
   542 /**
   543  * oil_convert_f32_f64:
   544  * @dest:
   545  * @src:
   546  * @n:
   547  * 
   548  * Converts elements in  from the source type
   549  * to the destination type and places the result in .
   550  * Values outside the destination range are undefined
   551  * and implementation dependent.
   552  * See the comments at the beginning of this section.
   553  */
   554 
   555 /**
   556  * oil_convert_f32_s16:
   557  * @dest:
   558  * @src:
   559  * @n:
   560  * 
   561  * Converts elements in  from the source type
   562  * to the destination type and places the result in .
   563  * Values outside the destination range are undefined
   564  * and implementation dependent.
   565  * See the comments at the beginning of this section.
   566  */
   567 
   568 /**
   569  * oil_convert_f32_s32:
   570  * @dest:
   571  * @src:
   572  * @n:
   573  * 
   574  * Converts elements in  from the source type
   575  * to the destination type and places the result in .
   576  * Values outside the destination range are undefined
   577  * and implementation dependent.
   578  * See the comments at the beginning of this section.
   579  */
   580 
   581 /**
   582  * oil_convert_f32_s8:
   583  * @dest:
   584  * @src:
   585  * @n:
   586  * 
   587  * Converts elements in  from the source type
   588  * to the destination type and places the result in .
   589  * Values outside the destination range are undefined
   590  * and implementation dependent.
   591  * See the comments at the beginning of this section.
   592  */
   593 
   594 /**
   595  * oil_convert_f32_u16:
   596  * @dest:
   597  * @src:
   598  * @n:
   599  * 
   600  * Converts elements in  from the source type
   601  * to the destination type and places the result in .
   602  * Values outside the destination range are undefined
   603  * and implementation dependent.
   604  * See the comments at the beginning of this section.
   605  */
   606 
   607 /**
   608  * oil_convert_f32_u32:
   609  * @dest:
   610  * @src:
   611  * @n:
   612  * 
   613  * Converts elements in  from the source type
   614  * to the destination type and places the result in .
   615  * Values outside the destination range are undefined
   616  * and implementation dependent.
   617  * See the comments at the beginning of this section.
   618  */
   619 
   620 /**
   621  * oil_convert_f32_u8:
   622  * @dest:
   623  * @src:
   624  * @n:
   625  * 
   626  * Converts elements in  from the source type
   627  * to the destination type and places the result in .
   628  * Values outside the destination range are undefined
   629  * and implementation dependent.
   630  * See the comments at the beginning of this section.
   631  */
   632 
   633 /**
   634  * oil_convert_f64_f32:
   635  * @dest:
   636  * @src:
   637  * @n:
   638  * 
   639  * Converts elements in  from the source type
   640  * to the destination type and places the result in .
   641  * Values outside the destination range are undefined
   642  * and implementation dependent.
   643  * See the comments at the beginning of this section.
   644  */
   645 
   646 /**
   647  * oil_convert_f64_s16:
   648  * @dest:
   649  * @src:
   650  * @n:
   651  * 
   652  * Converts elements in  from the source type
   653  * to the destination type and places the result in .
   654  * Values outside the destination range are undefined
   655  * and implementation dependent.
   656  * See the comments at the beginning of this section.
   657  */
   658 
   659 /**
   660  * oil_convert_f64_s32:
   661  * @dest:
   662  * @src:
   663  * @n:
   664  * 
   665  * Converts elements in  from the source type
   666  * to the destination type and places the result in .
   667  * Values outside the destination range are undefined
   668  * and implementation dependent.
   669  * See the comments at the beginning of this section.
   670  */
   671 
   672 /**
   673  * oil_convert_f64_s8:
   674  * @dest:
   675  * @src:
   676  * @n:
   677  * 
   678  * Converts elements in  from the source type
   679  * to the destination type and places the result in .
   680  * Values outside the destination range are undefined
   681  * and implementation dependent.
   682  * See the comments at the beginning of this section.
   683  */
   684 
   685 /**
   686  * oil_convert_f64_u16:
   687  * @dest:
   688  * @src:
   689  * @n:
   690  * 
   691  * Converts elements in  from the source type
   692  * to the destination type and places the result in .
   693  * Values outside the destination range are undefined
   694  * and implementation dependent.
   695  * See the comments at the beginning of this section.
   696  */
   697 
   698 /**
   699  * oil_convert_f64_u32:
   700  * @dest:
   701  * @src:
   702  * @n:
   703  * 
   704  * Converts elements in  from the source type
   705  * to the destination type and places the result in .
   706  * Values outside the destination range are undefined
   707  * and implementation dependent.
   708  * See the comments at the beginning of this section.
   709  */
   710 
   711 /**
   712  * oil_convert_f64_u8:
   713  * @dest:
   714  * @src:
   715  * @n:
   716  * 
   717  * Converts elements in  from the source type
   718  * to the destination type and places the result in .
   719  * Values outside the destination range are undefined
   720  * and implementation dependent.
   721  * See the comments at the beginning of this section.
   722  */
   723 
   724 /**
   725  * oil_convert_s16_f32:
   726  * @dest:
   727  * @src:
   728  * @n:
   729  * 
   730  * Converts elements in  from the source type
   731  * to the destination type and places the result in .
   732  * Values outside the destination range are undefined
   733  * and implementation dependent.
   734  * See the comments at the beginning of this section.
   735  */
   736 
   737 /**
   738  * oil_convert_s16_f64:
   739  * @dest:
   740  * @src:
   741  * @n:
   742  * 
   743  * Converts elements in  from the source type
   744  * to the destination type and places the result in .
   745  * Values outside the destination range are undefined
   746  * and implementation dependent.
   747  * See the comments at the beginning of this section.
   748  */
   749 
   750 /**
   751  * oil_convert_s16_s32:
   752  * @dest:
   753  * @src:
   754  * @n:
   755  * 
   756  * Converts elements in  from the source type
   757  * to the destination type and places the result in .
   758  * Values outside the destination range are undefined
   759  * and implementation dependent.
   760  * See the comments at the beginning of this section.
   761  */
   762 
   763 /**
   764  * oil_convert_s16_s8:
   765  * @dest:
   766  * @src:
   767  * @n:
   768  * 
   769  * Converts elements in  from the source type
   770  * to the destination type and places the result in .
   771  * Values outside the destination range are undefined
   772  * and implementation dependent.
   773  * See the comments at the beginning of this section.
   774  */
   775 
   776 /**
   777  * oil_convert_s16_u16:
   778  * @dest:
   779  * @src:
   780  * @n:
   781  * 
   782  * Converts elements in  from the source type
   783  * to the destination type and places the result in .
   784  * Values outside the destination range are undefined
   785  * and implementation dependent.
   786  * See the comments at the beginning of this section.
   787  */
   788 
   789 /**
   790  * oil_convert_s16_u32:
   791  * @dest:
   792  * @src:
   793  * @n:
   794  * 
   795  * Converts elements in  from the source type
   796  * to the destination type and places the result in .
   797  * Values outside the destination range are undefined
   798  * and implementation dependent.
   799  * See the comments at the beginning of this section.
   800  */
   801 
   802 /**
   803  * oil_convert_s16_u8:
   804  * @dest:
   805  * @src:
   806  * @n:
   807  * 
   808  * Converts elements in  from the source type
   809  * to the destination type and places the result in .
   810  * Values outside the destination range are undefined
   811  * and implementation dependent.
   812  * See the comments at the beginning of this section.
   813  */
   814 
   815 /**
   816  * oil_convert_s32_f32:
   817  * @dest:
   818  * @src:
   819  * @n:
   820  * 
   821  * Converts elements in  from the source type
   822  * to the destination type and places the result in .
   823  * Values outside the destination range are undefined
   824  * and implementation dependent.
   825  * See the comments at the beginning of this section.
   826  */
   827 
   828 /**
   829  * oil_convert_s32_f64:
   830  * @dest:
   831  * @src:
   832  * @n:
   833  * 
   834  * Converts elements in  from the source type
   835  * to the destination type and places the result in .
   836  * Values outside the destination range are undefined
   837  * and implementation dependent.
   838  * See the comments at the beginning of this section.
   839  */
   840 
   841 /**
   842  * oil_convert_s32_s16:
   843  * @dest:
   844  * @src:
   845  * @n:
   846  * 
   847  * Converts elements in  from the source type
   848  * to the destination type and places the result in .
   849  * Values outside the destination range are undefined
   850  * and implementation dependent.
   851  * See the comments at the beginning of this section.
   852  */
   853 
   854 /**
   855  * oil_convert_s32_s8:
   856  * @dest:
   857  * @src:
   858  * @n:
   859  * 
   860  * Converts elements in  from the source type
   861  * to the destination type and places the result in .
   862  * Values outside the destination range are undefined
   863  * and implementation dependent.
   864  * See the comments at the beginning of this section.
   865  */
   866 
   867 /**
   868  * oil_convert_s32_u16:
   869  * @dest:
   870  * @src:
   871  * @n:
   872  * 
   873  * Converts elements in  from the source type
   874  * to the destination type and places the result in .
   875  * Values outside the destination range are undefined
   876  * and implementation dependent.
   877  * See the comments at the beginning of this section.
   878  */
   879 
   880 /**
   881  * oil_convert_s32_u32:
   882  * @dest:
   883  * @src:
   884  * @n:
   885  * 
   886  * Converts elements in  from the source type
   887  * to the destination type and places the result in .
   888  * Values outside the destination range are undefined
   889  * and implementation dependent.
   890  * See the comments at the beginning of this section.
   891  */
   892 
   893 /**
   894  * oil_convert_s32_u8:
   895  * @dest:
   896  * @src:
   897  * @n:
   898  * 
   899  * Converts elements in  from the source type
   900  * to the destination type and places the result in .
   901  * Values outside the destination range are undefined
   902  * and implementation dependent.
   903  * See the comments at the beginning of this section.
   904  */
   905 
   906 /**
   907  * oil_convert_s8_f32:
   908  * @dest:
   909  * @src:
   910  * @n:
   911  * 
   912  * Converts elements in  from the source type
   913  * to the destination type and places the result in .
   914  * Values outside the destination range are undefined
   915  * and implementation dependent.
   916  * See the comments at the beginning of this section.
   917  */
   918 
   919 /**
   920  * oil_convert_s8_f64:
   921  * @dest:
   922  * @src:
   923  * @n:
   924  * 
   925  * Converts elements in  from the source type
   926  * to the destination type and places the result in .
   927  * Values outside the destination range are undefined
   928  * and implementation dependent.
   929  * See the comments at the beginning of this section.
   930  */
   931 
   932 /**
   933  * oil_convert_s8_s16:
   934  * @dest:
   935  * @src:
   936  * @n:
   937  * 
   938  * Converts elements in  from the source type
   939  * to the destination type and places the result in .
   940  * Values outside the destination range are undefined
   941  * and implementation dependent.
   942  * See the comments at the beginning of this section.
   943  */
   944 
   945 /**
   946  * oil_convert_s8_s32:
   947  * @dest:
   948  * @src:
   949  * @n:
   950  * 
   951  * Converts elements in  from the source type
   952  * to the destination type and places the result in .
   953  * Values outside the destination range are undefined
   954  * and implementation dependent.
   955  * See the comments at the beginning of this section.
   956  */
   957 
   958 /**
   959  * oil_convert_s8_u16:
   960  * @dest:
   961  * @src:
   962  * @n:
   963  * 
   964  * Converts elements in  from the source type
   965  * to the destination type and places the result in .
   966  * Values outside the destination range are undefined
   967  * and implementation dependent.
   968  * See the comments at the beginning of this section.
   969  */
   970 
   971 /**
   972  * oil_convert_s8_u32:
   973  * @dest:
   974  * @src:
   975  * @n:
   976  * 
   977  * Converts elements in  from the source type
   978  * to the destination type and places the result in .
   979  * Values outside the destination range are undefined
   980  * and implementation dependent.
   981  * See the comments at the beginning of this section.
   982  */
   983 
   984 /**
   985  * oil_convert_s8_u8:
   986  * @dest:
   987  * @src:
   988  * @n:
   989  * 
   990  * Converts elements in  from the source type
   991  * to the destination type and places the result in .
   992  * Values outside the destination range are undefined
   993  * and implementation dependent.
   994  * See the comments at the beginning of this section.
   995  */
   996 
   997 /**
   998  * oil_convert_u16_f32:
   999  * @dest:
  1000  * @src:
  1001  * @n:
  1002  * 
  1003  * Converts elements in  from the source type
  1004  * to the destination type and places the result in .
  1005  * Values outside the destination range are undefined
  1006  * and implementation dependent.
  1007  * See the comments at the beginning of this section.
  1008  */
  1009 
  1010 /**
  1011  * oil_convert_u16_f64:
  1012  * @dest:
  1013  * @src:
  1014  * @n:
  1015  * 
  1016  * Converts elements in  from the source type
  1017  * to the destination type and places the result in .
  1018  * Values outside the destination range are undefined
  1019  * and implementation dependent.
  1020  * See the comments at the beginning of this section.
  1021  */
  1022 
  1023 /**
  1024  * oil_convert_u16_s16:
  1025  * @dest:
  1026  * @src:
  1027  * @n:
  1028  * 
  1029  * Converts elements in  from the source type
  1030  * to the destination type and places the result in .
  1031  * Values outside the destination range are undefined
  1032  * and implementation dependent.
  1033  * See the comments at the beginning of this section.
  1034  */
  1035 
  1036 /**
  1037  * oil_convert_u16_s32:
  1038  * @dest:
  1039  * @src:
  1040  * @n:
  1041  * 
  1042  * Converts elements in  from the source type
  1043  * to the destination type and places the result in .
  1044  * Values outside the destination range are undefined
  1045  * and implementation dependent.
  1046  * See the comments at the beginning of this section.
  1047  */
  1048 
  1049 /**
  1050  * oil_convert_u16_s8:
  1051  * @dest:
  1052  * @src:
  1053  * @n:
  1054  * 
  1055  * Converts elements in  from the source type
  1056  * to the destination type and places the result in .
  1057  * Values outside the destination range are undefined
  1058  * and implementation dependent.
  1059  * See the comments at the beginning of this section.
  1060  */
  1061 
  1062 /**
  1063  * oil_convert_u16_u32:
  1064  * @dest:
  1065  * @src:
  1066  * @n:
  1067  * 
  1068  * Converts elements in  from the source type
  1069  * to the destination type and places the result in .
  1070  * Values outside the destination range are undefined
  1071  * and implementation dependent.
  1072  * See the comments at the beginning of this section.
  1073  */
  1074 
  1075 /**
  1076  * oil_convert_u16_u8:
  1077  * @dest:
  1078  * @src:
  1079  * @n:
  1080  * 
  1081  * Converts elements in  from the source type
  1082  * to the destination type and places the result in .
  1083  * Values outside the destination range are undefined
  1084  * and implementation dependent.
  1085  * See the comments at the beginning of this section.
  1086  */
  1087 
  1088 /**
  1089  * oil_convert_u32_f32:
  1090  * @dest:
  1091  * @src:
  1092  * @n:
  1093  * 
  1094  * Converts elements in  from the source type
  1095  * to the destination type and places the result in .
  1096  * Values outside the destination range are undefined
  1097  * and implementation dependent.
  1098  * See the comments at the beginning of this section.
  1099  */
  1100 
  1101 /**
  1102  * oil_convert_u32_f64:
  1103  * @dest:
  1104  * @src:
  1105  * @n:
  1106  * 
  1107  * Converts elements in  from the source type
  1108  * to the destination type and places the result in .
  1109  * Values outside the destination range are undefined
  1110  * and implementation dependent.
  1111  * See the comments at the beginning of this section.
  1112  */
  1113 
  1114 /**
  1115  * oil_convert_u32_s16:
  1116  * @dest:
  1117  * @src:
  1118  * @n:
  1119  * 
  1120  * Converts elements in  from the source type
  1121  * to the destination type and places the result in .
  1122  * Values outside the destination range are undefined
  1123  * and implementation dependent.
  1124  * See the comments at the beginning of this section.
  1125  */
  1126 
  1127 /**
  1128  * oil_convert_u32_s32:
  1129  * @dest:
  1130  * @src:
  1131  * @n:
  1132  * 
  1133  * Converts elements in  from the source type
  1134  * to the destination type and places the result in .
  1135  * Values outside the destination range are undefined
  1136  * and implementation dependent.
  1137  * See the comments at the beginning of this section.
  1138  */
  1139 
  1140 /**
  1141  * oil_convert_u32_s8:
  1142  * @dest:
  1143  * @src:
  1144  * @n:
  1145  * 
  1146  * Converts elements in  from the source type
  1147  * to the destination type and places the result in .
  1148  * Values outside the destination range are undefined
  1149  * and implementation dependent.
  1150  * See the comments at the beginning of this section.
  1151  */
  1152 
  1153 /**
  1154  * oil_convert_u32_u16:
  1155  * @dest:
  1156  * @src:
  1157  * @n:
  1158  * 
  1159  * Converts elements in  from the source type
  1160  * to the destination type and places the result in .
  1161  * Values outside the destination range are undefined
  1162  * and implementation dependent.
  1163  * See the comments at the beginning of this section.
  1164  */
  1165 
  1166 /**
  1167  * oil_convert_u32_u8:
  1168  * @dest:
  1169  * @src:
  1170  * @n:
  1171  * 
  1172  * Converts elements in  from the source type
  1173  * to the destination type and places the result in .
  1174  * Values outside the destination range are undefined
  1175  * and implementation dependent.
  1176  * See the comments at the beginning of this section.
  1177  */
  1178 
  1179 /**
  1180  * oil_convert_u8_f32:
  1181  * @dest:
  1182  * @src:
  1183  * @n:
  1184  * 
  1185  * Converts elements in  from the source type
  1186  * to the destination type and places the result in .
  1187  * Values outside the destination range are undefined
  1188  * and implementation dependent.
  1189  * See the comments at the beginning of this section.
  1190  */
  1191 
  1192 /**
  1193  * oil_convert_u8_f64:
  1194  * @dest:
  1195  * @src:
  1196  * @n:
  1197  * 
  1198  * Converts elements in  from the source type
  1199  * to the destination type and places the result in .
  1200  * Values outside the destination range are undefined
  1201  * and implementation dependent.
  1202  * See the comments at the beginning of this section.
  1203  */
  1204 
  1205 /**
  1206  * oil_convert_u8_s16:
  1207  * @dest:
  1208  * @src:
  1209  * @n:
  1210  * 
  1211  * Converts elements in  from the source type
  1212  * to the destination type and places the result in .
  1213  * Values outside the destination range are undefined
  1214  * and implementation dependent.
  1215  * See the comments at the beginning of this section.
  1216  */
  1217 
  1218 /**
  1219  * oil_convert_u8_s32:
  1220  * @dest:
  1221  * @src:
  1222  * @n:
  1223  * 
  1224  * Converts elements in  from the source type
  1225  * to the destination type and places the result in .
  1226  * Values outside the destination range are undefined
  1227  * and implementation dependent.
  1228  * See the comments at the beginning of this section.
  1229  */
  1230 
  1231 /**
  1232  * oil_convert_u8_s8:
  1233  * @dest:
  1234  * @src:
  1235  * @n:
  1236  * 
  1237  * Converts elements in  from the source type
  1238  * to the destination type and places the result in .
  1239  * Values outside the destination range are undefined
  1240  * and implementation dependent.
  1241  * See the comments at the beginning of this section.
  1242  */
  1243 
  1244 /**
  1245  * oil_convert_u8_u16:
  1246  * @dest:
  1247  * @src:
  1248  * @n:
  1249  * 
  1250  * Converts elements in  from the source type
  1251  * to the destination type and places the result in .
  1252  * Values outside the destination range are undefined
  1253  * and implementation dependent.
  1254  * See the comments at the beginning of this section.
  1255  */
  1256 
  1257 /**
  1258  * oil_convert_u8_u32:
  1259  * @dest:
  1260  * @src:
  1261  * @n:
  1262  * 
  1263  * Converts elements in  from the source type
  1264  * to the destination type and places the result in .
  1265  * Values outside the destination range are undefined
  1266  * and implementation dependent.
  1267  * See the comments at the beginning of this section.
  1268  */
  1269 
  1270 
  1271 
  1272 #ifdef	__SYMBIAN32__
  1273  
  1274 OilFunctionClass* __oil_function_class_convert_s16_s8() {
  1275         return &_oil_function_class_convert_s16_s8;
  1276 }
  1277 #endif
  1278 
  1279 #ifdef	__SYMBIAN32__
  1280  
  1281 OilFunctionClass* __oil_function_class_convert_s16_u8() {
  1282         return &_oil_function_class_convert_s16_u8;
  1283 }
  1284 #endif
  1285 
  1286 #ifdef	__SYMBIAN32__
  1287  
  1288 OilFunctionClass* __oil_function_class_convert_s32_s8() {
  1289         return &_oil_function_class_convert_s32_s8;
  1290 }
  1291 #endif
  1292 
  1293 #ifdef	__SYMBIAN32__
  1294  
  1295 OilFunctionClass* __oil_function_class_convert_s32_u8() {
  1296         return &_oil_function_class_convert_s32_u8;
  1297 }
  1298 #endif
  1299 
  1300 #ifdef	__SYMBIAN32__
  1301  
  1302 OilFunctionClass* __oil_function_class_convert_s32_s16() {
  1303         return &_oil_function_class_convert_s32_s16;
  1304 }
  1305 #endif
  1306 
  1307 #ifdef	__SYMBIAN32__
  1308  
  1309 OilFunctionClass* __oil_function_class_convert_s32_u16() {
  1310         return &_oil_function_class_convert_s32_u16;
  1311 }
  1312 #endif
  1313 
  1314 #ifdef	__SYMBIAN32__
  1315  
  1316 OilFunctionClass* __oil_function_class_convert_u16_u8() {
  1317         return &_oil_function_class_convert_u16_u8;
  1318 }
  1319 #endif
  1320 
  1321 #ifdef	__SYMBIAN32__
  1322  
  1323 OilFunctionClass* __oil_function_class_convert_u32_u8() {
  1324         return &_oil_function_class_convert_u32_u8;
  1325 }
  1326 #endif
  1327 
  1328 #ifdef	__SYMBIAN32__
  1329  
  1330 OilFunctionClass* __oil_function_class_convert_u32_u16() {
  1331         return &_oil_function_class_convert_u32_u16;
  1332 }
  1333 #endif
  1334 
  1335 #ifdef	__SYMBIAN32__
  1336  
  1337 OilFunctionClass* __oil_function_class_convert_s8_u8() {
  1338         return &_oil_function_class_convert_s8_u8;
  1339 }
  1340 #endif
  1341 
  1342 #ifdef	__SYMBIAN32__
  1343  
  1344 OilFunctionClass* __oil_function_class_convert_s8_u16() {
  1345         return &_oil_function_class_convert_s8_u16;
  1346 }
  1347 #endif
  1348 
  1349 #ifdef	__SYMBIAN32__
  1350  
  1351 OilFunctionClass* __oil_function_class_convert_s8_u32() {
  1352         return &_oil_function_class_convert_s8_u32;
  1353 }
  1354 #endif
  1355 
  1356 #ifdef	__SYMBIAN32__
  1357  
  1358 OilFunctionClass* __oil_function_class_convert_u8_u32() {
  1359         return &_oil_function_class_convert_u8_u32;
  1360 }
  1361 #endif
  1362 
  1363 #ifdef	__SYMBIAN32__
  1364  
  1365 OilFunctionClass* __oil_function_class_convert_u8_u16() {
  1366         return &_oil_function_class_convert_u8_u16;
  1367 }
  1368 #endif
  1369 
  1370 #ifdef	__SYMBIAN32__
  1371  
  1372 OilFunctionClass* __oil_function_class_convert_s16_u16() {
  1373         return &_oil_function_class_convert_s16_u16;
  1374 }
  1375 #endif
  1376 
  1377 #ifdef	__SYMBIAN32__
  1378  
  1379 OilFunctionClass* __oil_function_class_convert_s16_u32() {
  1380         return &_oil_function_class_convert_s16_u32;
  1381 }
  1382 #endif
  1383 
  1384 #ifdef	__SYMBIAN32__
  1385  
  1386 OilFunctionClass* __oil_function_class_convert_s32_u32() {
  1387         return &_oil_function_class_convert_s32_u32;
  1388 }
  1389 #endif
  1390 
  1391 #ifdef	__SYMBIAN32__
  1392  
  1393 OilFunctionClass* __oil_function_class_convert_u16_u32() {
  1394         return &_oil_function_class_convert_u16_u32;
  1395 }
  1396 #endif
  1397 
  1398 #ifdef	__SYMBIAN32__
  1399  
  1400 OilFunctionClass* __oil_function_class_convert_s8_s16() {
  1401         return &_oil_function_class_convert_s8_s16;
  1402 }
  1403 #endif
  1404 
  1405 #ifdef	__SYMBIAN32__
  1406  
  1407 OilFunctionClass* __oil_function_class_convert_s8_s32() {
  1408         return &_oil_function_class_convert_s8_s32;
  1409 }
  1410 #endif
  1411 
  1412 #ifdef	__SYMBIAN32__
  1413  
  1414 OilFunctionClass* __oil_function_class_convert_u8_s16() {
  1415         return &_oil_function_class_convert_u8_s16;
  1416 }
  1417 #endif
  1418 
  1419 #ifdef	__SYMBIAN32__
  1420  
  1421 OilFunctionClass* __oil_function_class_convert_u8_s32() {
  1422         return &_oil_function_class_convert_u8_s32;
  1423 }
  1424 #endif
  1425 
  1426 #ifdef	__SYMBIAN32__
  1427  
  1428 OilFunctionClass* __oil_function_class_convert_s16_s32() {
  1429         return &_oil_function_class_convert_s16_s32;
  1430 }
  1431 #endif
  1432 
  1433 #ifdef	__SYMBIAN32__
  1434  
  1435 OilFunctionClass* __oil_function_class_convert_u16_s32() {
  1436         return &_oil_function_class_convert_u16_s32;
  1437 }
  1438 #endif
  1439 
  1440 #ifdef	__SYMBIAN32__
  1441  
  1442 OilFunctionClass* __oil_function_class_convert_u8_s8() {
  1443         return &_oil_function_class_convert_u8_s8;
  1444 }
  1445 #endif
  1446 
  1447 #ifdef	__SYMBIAN32__
  1448  
  1449 OilFunctionClass* __oil_function_class_convert_u16_s16() {
  1450         return &_oil_function_class_convert_u16_s16;
  1451 }
  1452 #endif
  1453 
  1454 #ifdef	__SYMBIAN32__
  1455  
  1456 OilFunctionClass* __oil_function_class_convert_u32_s32() {
  1457         return &_oil_function_class_convert_u32_s32;
  1458 }
  1459 #endif
  1460 
  1461 #ifdef	__SYMBIAN32__
  1462  
  1463 OilFunctionClass* __oil_function_class_convert_s8_f32() {
  1464         return &_oil_function_class_convert_s8_f32;
  1465 }
  1466 #endif
  1467 
  1468 #ifdef	__SYMBIAN32__
  1469  
  1470 OilFunctionClass* __oil_function_class_convert_s8_f64() {
  1471         return &_oil_function_class_convert_s8_f64;
  1472 }
  1473 #endif
  1474 
  1475 #ifdef	__SYMBIAN32__
  1476  
  1477 OilFunctionClass* __oil_function_class_convert_u8_f32() {
  1478         return &_oil_function_class_convert_u8_f32;
  1479 }
  1480 #endif
  1481 
  1482 #ifdef	__SYMBIAN32__
  1483  
  1484 OilFunctionClass* __oil_function_class_convert_u8_f64() {
  1485         return &_oil_function_class_convert_u8_f64;
  1486 }
  1487 #endif
  1488 
  1489 #ifdef	__SYMBIAN32__
  1490  
  1491 OilFunctionClass* __oil_function_class_convert_s16_f32() {
  1492         return &_oil_function_class_convert_s16_f32;
  1493 }
  1494 #endif
  1495 
  1496 #ifdef	__SYMBIAN32__
  1497  
  1498 OilFunctionClass* __oil_function_class_convert_s16_f64() {
  1499         return &_oil_function_class_convert_s16_f64;
  1500 }
  1501 #endif
  1502 
  1503 #ifdef	__SYMBIAN32__
  1504  
  1505 OilFunctionClass* __oil_function_class_convert_u16_f32() {
  1506         return &_oil_function_class_convert_u16_f32;
  1507 }
  1508 #endif
  1509 
  1510 #ifdef	__SYMBIAN32__
  1511  
  1512 OilFunctionClass* __oil_function_class_convert_u16_f64() {
  1513         return &_oil_function_class_convert_u16_f64;
  1514 }
  1515 #endif
  1516 
  1517 #ifdef	__SYMBIAN32__
  1518  
  1519 OilFunctionClass* __oil_function_class_convert_s32_f64() {
  1520         return &_oil_function_class_convert_s32_f64;
  1521 }
  1522 #endif
  1523 
  1524 #ifdef	__SYMBIAN32__
  1525  
  1526 OilFunctionClass* __oil_function_class_convert_u32_f64() {
  1527         return &_oil_function_class_convert_u32_f64;
  1528 }
  1529 #endif
  1530 
  1531 
  1532 
  1533 #ifdef	__SYMBIAN32__
  1534  
  1535 EXPORT_C void** _oil_function_class_ptr_convert_s16_s8 ()	{
  1536 	oil_function_class_ptr_convert_s16_s8 = __oil_function_class_convert_s16_s8();
  1537 	return &oil_function_class_ptr_convert_s16_s8->func;
  1538 	}
  1539 #endif
  1540 
  1541 #ifdef	__SYMBIAN32__
  1542  
  1543 EXPORT_C void** _oil_function_class_ptr_convert_s16_u8 ()	{
  1544 	oil_function_class_ptr_convert_s16_u8 = __oil_function_class_convert_s16_u8();
  1545 	return &oil_function_class_ptr_convert_s16_u8->func;
  1546 	}
  1547 #endif
  1548 
  1549 #ifdef	__SYMBIAN32__
  1550  
  1551 EXPORT_C void** _oil_function_class_ptr_convert_s32_s8 ()	{
  1552 	oil_function_class_ptr_convert_s32_s8 = __oil_function_class_convert_s32_s8();
  1553 	return &oil_function_class_ptr_convert_s32_s8->func;
  1554 	}
  1555 #endif
  1556 
  1557 #ifdef	__SYMBIAN32__
  1558  
  1559 EXPORT_C void** _oil_function_class_ptr_convert_s32_u8 ()	{
  1560 	oil_function_class_ptr_convert_s32_u8 = __oil_function_class_convert_s32_u8();
  1561 	return &oil_function_class_ptr_convert_s32_u8->func;
  1562 	}
  1563 #endif
  1564 
  1565 #ifdef	__SYMBIAN32__
  1566  
  1567 EXPORT_C void** _oil_function_class_ptr_convert_s32_s16 ()	{
  1568 	oil_function_class_ptr_convert_s32_s16 = __oil_function_class_convert_s32_s16();
  1569 	return &oil_function_class_ptr_convert_s32_s16->func;
  1570 	}
  1571 #endif
  1572 
  1573 #ifdef	__SYMBIAN32__
  1574  
  1575 EXPORT_C void** _oil_function_class_ptr_convert_s32_u16 ()	{
  1576 	oil_function_class_ptr_convert_s32_u16 = __oil_function_class_convert_s32_u16();
  1577 	return &oil_function_class_ptr_convert_s32_u16->func;
  1578 	}
  1579 #endif
  1580 
  1581 #ifdef	__SYMBIAN32__
  1582  
  1583 EXPORT_C void** _oil_function_class_ptr_convert_u16_u8 ()	{
  1584 	oil_function_class_ptr_convert_u16_u8 = __oil_function_class_convert_u16_u8();
  1585 	return &oil_function_class_ptr_convert_u16_u8->func;
  1586 	}
  1587 #endif
  1588 
  1589 #ifdef	__SYMBIAN32__
  1590  
  1591 EXPORT_C void** _oil_function_class_ptr_convert_u32_u8 ()	{
  1592 	oil_function_class_ptr_convert_u32_u8 = __oil_function_class_convert_u32_u8();
  1593 	return &oil_function_class_ptr_convert_u32_u8->func;
  1594 	}
  1595 #endif
  1596 
  1597 #ifdef	__SYMBIAN32__
  1598  
  1599 EXPORT_C void** _oil_function_class_ptr_convert_u32_u16 ()	{
  1600 	oil_function_class_ptr_convert_u32_u16 = __oil_function_class_convert_u32_u16();
  1601 	return &oil_function_class_ptr_convert_u32_u16->func;
  1602 	}
  1603 #endif
  1604 
  1605 #ifdef	__SYMBIAN32__
  1606  
  1607 EXPORT_C void** _oil_function_class_ptr_convert_s8_u8 ()	{
  1608 	oil_function_class_ptr_convert_s8_u8 = __oil_function_class_convert_s8_u8();
  1609 	return &oil_function_class_ptr_convert_s8_u8->func;
  1610 	}
  1611 #endif
  1612 
  1613 #ifdef	__SYMBIAN32__
  1614  
  1615 EXPORT_C void** _oil_function_class_ptr_convert_s8_u16 ()	{
  1616 	oil_function_class_ptr_convert_s8_u16 = __oil_function_class_convert_s8_u16();
  1617 	return &oil_function_class_ptr_convert_s8_u16->func;
  1618 	}
  1619 #endif
  1620 
  1621 #ifdef	__SYMBIAN32__
  1622  
  1623 EXPORT_C void** _oil_function_class_ptr_convert_s8_u32 ()	{
  1624 	oil_function_class_ptr_convert_s8_u32 = __oil_function_class_convert_s8_u32();
  1625 	return &oil_function_class_ptr_convert_s8_u32->func;
  1626 	}
  1627 #endif
  1628 
  1629 #ifdef	__SYMBIAN32__
  1630  
  1631 EXPORT_C void** _oil_function_class_ptr_convert_u8_u32 ()	{
  1632 	oil_function_class_ptr_convert_u8_u32 = __oil_function_class_convert_u8_u32();
  1633 	return &oil_function_class_ptr_convert_u8_u32->func;
  1634 	}
  1635 #endif
  1636 
  1637 #ifdef	__SYMBIAN32__
  1638  
  1639 EXPORT_C void** _oil_function_class_ptr_convert_u8_u16 ()	{
  1640 	oil_function_class_ptr_convert_u8_u16 = __oil_function_class_convert_u8_u16();
  1641 	return &oil_function_class_ptr_convert_u8_u16->func;
  1642 	}
  1643 #endif
  1644 
  1645 #ifdef	__SYMBIAN32__
  1646  
  1647 EXPORT_C void** _oil_function_class_ptr_convert_s16_u16 ()	{
  1648 	oil_function_class_ptr_convert_s16_u16 = __oil_function_class_convert_s16_u16();
  1649 	return &oil_function_class_ptr_convert_s16_u16->func;
  1650 	}
  1651 #endif
  1652 
  1653 #ifdef	__SYMBIAN32__
  1654  
  1655 EXPORT_C void** _oil_function_class_ptr_convert_s16_u32 ()	{
  1656 	oil_function_class_ptr_convert_s16_u32 = __oil_function_class_convert_s16_u32();
  1657 	return &oil_function_class_ptr_convert_s16_u32->func;
  1658 	}
  1659 #endif
  1660 
  1661 #ifdef	__SYMBIAN32__
  1662  
  1663 EXPORT_C void** _oil_function_class_ptr_convert_s32_u32 ()	{
  1664 	oil_function_class_ptr_convert_s32_u32 = __oil_function_class_convert_s32_u32();
  1665 	return &oil_function_class_ptr_convert_s32_u32->func;
  1666 	}
  1667 #endif
  1668 
  1669 #ifdef	__SYMBIAN32__
  1670  
  1671 EXPORT_C void** _oil_function_class_ptr_convert_u16_u32 ()	{
  1672 	oil_function_class_ptr_convert_u16_u32 = __oil_function_class_convert_u16_u32();
  1673 	return &oil_function_class_ptr_convert_u16_u32->func;
  1674 	}
  1675 #endif
  1676 
  1677 #ifdef	__SYMBIAN32__
  1678  
  1679 EXPORT_C void** _oil_function_class_ptr_convert_s8_s16 ()	{
  1680 	oil_function_class_ptr_convert_s8_s16 = __oil_function_class_convert_s8_s16();
  1681 	return &oil_function_class_ptr_convert_s8_s16->func;
  1682 	}
  1683 #endif
  1684 
  1685 #ifdef	__SYMBIAN32__
  1686  
  1687 EXPORT_C void** _oil_function_class_ptr_convert_s8_s32 ()	{
  1688 	oil_function_class_ptr_convert_s8_s32 = __oil_function_class_convert_s8_s32();
  1689 	return &oil_function_class_ptr_convert_s8_s32->func;
  1690 	}
  1691 #endif
  1692 
  1693 #ifdef	__SYMBIAN32__
  1694  
  1695 EXPORT_C void** _oil_function_class_ptr_convert_u8_s16 ()	{
  1696 	oil_function_class_ptr_convert_u8_s16 = __oil_function_class_convert_u8_s16();
  1697 	return &oil_function_class_ptr_convert_u8_s16->func;
  1698 	}
  1699 #endif
  1700 
  1701 #ifdef	__SYMBIAN32__
  1702  
  1703 EXPORT_C void** _oil_function_class_ptr_convert_u8_s32 ()	{
  1704 	oil_function_class_ptr_convert_u8_s32 = __oil_function_class_convert_u8_s32();
  1705 	return &oil_function_class_ptr_convert_u8_s32->func;
  1706 	}
  1707 #endif
  1708 
  1709 #ifdef	__SYMBIAN32__
  1710  
  1711 EXPORT_C void** _oil_function_class_ptr_convert_s16_s32 ()	{
  1712 	oil_function_class_ptr_convert_s16_s32 = __oil_function_class_convert_s16_s32();
  1713 	return &oil_function_class_ptr_convert_s16_s32->func;
  1714 	}
  1715 #endif
  1716 
  1717 #ifdef	__SYMBIAN32__
  1718  
  1719 EXPORT_C void** _oil_function_class_ptr_convert_u16_s32 ()	{
  1720 	oil_function_class_ptr_convert_u16_s32 = __oil_function_class_convert_u16_s32();
  1721 	return &oil_function_class_ptr_convert_u16_s32->func;
  1722 	}
  1723 #endif
  1724 
  1725 #ifdef	__SYMBIAN32__
  1726  
  1727 EXPORT_C void** _oil_function_class_ptr_convert_u8_s8 ()	{
  1728 	oil_function_class_ptr_convert_u8_s8 = __oil_function_class_convert_u8_s8();
  1729 	return &oil_function_class_ptr_convert_u8_s8->func;
  1730 	}
  1731 #endif
  1732 
  1733 #ifdef	__SYMBIAN32__
  1734  
  1735 EXPORT_C void** _oil_function_class_ptr_convert_u16_s16 ()	{
  1736 	oil_function_class_ptr_convert_u16_s16 = __oil_function_class_convert_u16_s16();
  1737 	return &oil_function_class_ptr_convert_u16_s16->func;
  1738 	}
  1739 #endif
  1740 
  1741 #ifdef	__SYMBIAN32__
  1742  
  1743 EXPORT_C void** _oil_function_class_ptr_convert_u32_s32 ()	{
  1744 	oil_function_class_ptr_convert_u32_s32 = __oil_function_class_convert_u32_s32();
  1745 	return &oil_function_class_ptr_convert_u32_s32->func;
  1746 	}
  1747 #endif
  1748 
  1749 #ifdef	__SYMBIAN32__
  1750  
  1751 EXPORT_C void** _oil_function_class_ptr_convert_s8_f32 ()	{
  1752 	oil_function_class_ptr_convert_s8_f32 = __oil_function_class_convert_s8_f32();
  1753 	return &oil_function_class_ptr_convert_s8_f32->func;
  1754 	}
  1755 #endif
  1756 
  1757 #ifdef	__SYMBIAN32__
  1758  
  1759 EXPORT_C void** _oil_function_class_ptr_convert_s8_f64 ()	{
  1760 	oil_function_class_ptr_convert_s8_f64 = __oil_function_class_convert_s8_f64();
  1761 	return &oil_function_class_ptr_convert_s8_f64->func;
  1762 	}
  1763 #endif
  1764 
  1765 #ifdef	__SYMBIAN32__
  1766  
  1767 EXPORT_C void** _oil_function_class_ptr_convert_u8_f32 ()	{
  1768 	oil_function_class_ptr_convert_u8_f32 = __oil_function_class_convert_u8_f32();
  1769 	return &oil_function_class_ptr_convert_u8_f32->func;
  1770 	}
  1771 #endif
  1772 
  1773 #ifdef	__SYMBIAN32__
  1774  
  1775 EXPORT_C void** _oil_function_class_ptr_convert_u8_f64 ()	{
  1776 	oil_function_class_ptr_convert_u8_f64 = __oil_function_class_convert_u8_f64();
  1777 	return &oil_function_class_ptr_convert_u8_f64->func;
  1778 	}
  1779 #endif
  1780 
  1781 #ifdef	__SYMBIAN32__
  1782  
  1783 EXPORT_C void** _oil_function_class_ptr_convert_s16_f32 ()	{
  1784 	oil_function_class_ptr_convert_s16_f32 = __oil_function_class_convert_s16_f32();
  1785 	return &oil_function_class_ptr_convert_s16_f32->func;
  1786 	}
  1787 #endif
  1788 
  1789 #ifdef	__SYMBIAN32__
  1790  
  1791 EXPORT_C void** _oil_function_class_ptr_convert_s16_f64 ()	{
  1792 	oil_function_class_ptr_convert_s16_f64 = __oil_function_class_convert_s16_f64();
  1793 	return &oil_function_class_ptr_convert_s16_f64->func;
  1794 	}
  1795 #endif
  1796 
  1797 #ifdef	__SYMBIAN32__
  1798  
  1799 EXPORT_C void** _oil_function_class_ptr_convert_u16_f32 ()	{
  1800 	oil_function_class_ptr_convert_u16_f32 = __oil_function_class_convert_u16_f32();
  1801 	return &oil_function_class_ptr_convert_u16_f32->func;
  1802 	}
  1803 #endif
  1804 
  1805 #ifdef	__SYMBIAN32__
  1806  
  1807 EXPORT_C void** _oil_function_class_ptr_convert_u16_f64 ()	{
  1808 	oil_function_class_ptr_convert_u16_f64 = __oil_function_class_convert_u16_f64();
  1809 	return &oil_function_class_ptr_convert_u16_f64->func;
  1810 	}
  1811 #endif
  1812 
  1813 #ifdef	__SYMBIAN32__
  1814  
  1815 EXPORT_C void** _oil_function_class_ptr_convert_s32_f64 ()	{
  1816 	oil_function_class_ptr_convert_s32_f64 = __oil_function_class_convert_s32_f64();
  1817 	return &oil_function_class_ptr_convert_s32_f64->func;
  1818 	}
  1819 #endif
  1820 
  1821 #ifdef	__SYMBIAN32__
  1822  
  1823 EXPORT_C void** _oil_function_class_ptr_convert_u32_f64 ()	{
  1824 	oil_function_class_ptr_convert_u32_f64 = __oil_function_class_convert_u32_f64();
  1825 	return &oil_function_class_ptr_convert_u32_f64->func;
  1826 	}
  1827 #endif
  1828