1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/genericopenlibs/liboil/src/convert.c Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,1828 @@
1.4 +/*
1.5 + * LIBOIL - Library of Optimized Inner Loops
1.6 + * Copyright (c) 2001,2003,2004 David A. Schleef <ds@schleef.org>
1.7 + * All rights reserved.
1.8 + *
1.9 + * Redistribution and use in source and binary forms, with or without
1.10 + * modification, are permitted provided that the following conditions
1.11 + * are met:
1.12 + * 1. Redistributions of source code must retain the above copyright
1.13 + * notice, this list of conditions and the following disclaimer.
1.14 + * 2. Redistributions in binary form must reproduce the above copyright
1.15 + * notice, this list of conditions and the following disclaimer in the
1.16 + * documentation and/or other materials provided with the distribution.
1.17 + *
1.18 + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1.19 + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1.20 + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1.21 + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
1.22 + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1.23 + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1.24 + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1.25 + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1.26 + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
1.27 + * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1.28 + * POSSIBILITY OF SUCH DAMAGE.
1.29 + */
1.30 +//Portions Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
1.31 +
1.32 +#ifdef HAVE_CONFIG_H
1.33 +#include "config.h"
1.34 +#endif
1.35 +#include <liboilfunction.h>
1.36 +#include <liboiltest.h>
1.37 +#include <liboilrandom.h>
1.38 +
1.39 +#include <math.h>
1.40 +#include <string.h>
1.41 +#include <stdlib.h>
1.42 +
1.43 +
1.44 +/**
1.45 + * SECTION:liboilfuncs-conv
1.46 + * @title: Type Conversion
1.47 + * @short_description: Type conversion
1.48 + *
1.49 + * The functions in this section perform type conversion.
1.50 + *
1.51 + * The <i>convert</i> functions convert value from the source type to
1.52 + * the destination type. Conversion of values outside the
1.53 + * destination range are saturated to the destination range.
1.54 + *
1.55 + * The <i>scaleconv</i> functions multiply the source values by a
1.56 + * constant factor before converting to the destination type. Conversion
1.57 + * of values outside the destination range are clamped to the
1.58 + * destination range.
1.59 + *
1.60 + * Conversion of values from floating point types to integer types
1.61 + * is done using a round-to-nearest policy. Rounding of half-integers
1.62 + * is undefined and may vary between implementations.
1.63 + */
1.64 +
1.65 +
1.66 +static void
1.67 +convert_float_test (OilTest *test)
1.68 +{
1.69 + int i;
1.70 + int n;
1.71 + double min = 0;
1.72 + double max = 1;
1.73 + void *data = oil_test_get_source_data (test, OIL_ARG_SRC1);
1.74 +
1.75 + n = test->params[OIL_ARG_SRC1].post_n;
1.76 +
1.77 + switch(test->params[OIL_ARG_DEST1].type) {
1.78 + case OIL_TYPE_s8p:
1.79 + min = oil_type_min_s8;
1.80 + max = oil_type_max_s8;
1.81 + break;
1.82 + case OIL_TYPE_u8p:
1.83 + min = oil_type_min_u8;
1.84 + max = oil_type_max_u8;
1.85 + break;
1.86 + case OIL_TYPE_s16p:
1.87 + min = oil_type_min_s16;
1.88 + max = oil_type_max_s16;
1.89 + break;
1.90 + case OIL_TYPE_u16p:
1.91 + min = oil_type_min_u16;
1.92 + max = oil_type_max_u16;
1.93 + break;
1.94 + case OIL_TYPE_s32p:
1.95 + min = oil_type_min_s32;
1.96 + max = oil_type_max_s32;
1.97 + break;
1.98 + case OIL_TYPE_u32p:
1.99 + min = oil_type_min_u32;
1.100 + max = oil_type_max_u32;
1.101 + break;
1.102 + default:
1.103 + break;
1.104 + }
1.105 +
1.106 + switch (test->params[OIL_ARG_SRC1].type) {
1.107 + case OIL_TYPE_f32p:
1.108 + for(i=0;i<n;i++){
1.109 + int x;
1.110 + x = oil_rand_u8() & 0x1;
1.111 + switch (x) {
1.112 + case 0:
1.113 + ((float *)data)[i] = oil_rand_f32() * (max - min) + min;
1.114 + break;
1.115 + case 1:
1.116 + if (min < 0) {
1.117 + ((float *)data)[i] = (oil_rand_f32() - 0.5) * 10;
1.118 + } else {
1.119 + ((float *)data)[i] = oil_rand_f32() * 10;
1.120 + }
1.121 + break;
1.122 + }
1.123 + }
1.124 + break;
1.125 + case OIL_TYPE_f64p:
1.126 + for(i=0;i<n;i++){
1.127 + ((double *)data)[i] = oil_rand_f64() * (max - min) + min;
1.128 + }
1.129 + break;
1.130 + default:
1.131 + break;
1.132 + }
1.133 +}
1.134 +
1.135 +
1.136 +#define CONVERT_DEFINE_NONE_REF(desttype,srctype) \
1.137 +static void convert_ ## desttype ## _ ## srctype ## _ref ( \
1.138 + oil_type_ ## desttype *dest, \
1.139 + oil_type_ ## srctype *src, \
1.140 + int n) \
1.141 +{ \
1.142 + int i; \
1.143 + oil_type_ ## srctype x; \
1.144 + for(i=0;i<n;i++){ \
1.145 + x = src[i]; \
1.146 + dest[i] = x; \
1.147 + } \
1.148 +} \
1.149 +OIL_DEFINE_CLASS(convert_ ## desttype ## _ ## srctype, \
1.150 + "oil_type_" #desttype " *dest, " \
1.151 + "oil_type_" #srctype " *src, " \
1.152 + "int n"); \
1.153 +OIL_DEFINE_IMPL_REF(convert_ ## desttype ## _ ## srctype ## _ref, \
1.154 + convert_ ## desttype ## _ ## srctype)
1.155 +
1.156 +#define CONVERT_DEFINE_BOTH_REF(desttype,srctype) \
1.157 +static void convert_ ## desttype ## _ ## srctype ## _ref ( \
1.158 + oil_type_ ## desttype *dest, \
1.159 + oil_type_ ## srctype *src, \
1.160 + int n) \
1.161 +{ \
1.162 + int i; \
1.163 + oil_type_ ## srctype x; \
1.164 + for(i=0;i<n;i++){ \
1.165 + x = src[i]; \
1.166 + if(x<oil_type_min_ ## desttype) x=oil_type_min_ ## desttype; \
1.167 + if(x>oil_type_max_ ## desttype) x=oil_type_max_ ## desttype; \
1.168 + dest[i] = x; \
1.169 + } \
1.170 +} \
1.171 +OIL_DEFINE_CLASS(convert_ ## desttype ## _ ## srctype, \
1.172 + "oil_type_" #desttype " *dest, " \
1.173 + "oil_type_" #srctype " *src, " \
1.174 + "int n"); \
1.175 +OIL_DEFINE_IMPL_REF(convert_ ## desttype ## _ ## srctype ## _ref, \
1.176 + convert_ ## desttype ## _ ## srctype)
1.177 +
1.178 +#define CONVERT_DEFINE_UPPER_REF(desttype,srctype) \
1.179 +static void convert_ ## desttype ## _ ## srctype ## _ref ( \
1.180 + oil_type_ ## desttype *dest, \
1.181 + oil_type_ ## srctype *src, \
1.182 + int n) \
1.183 +{ \
1.184 + int i; \
1.185 + oil_type_ ## srctype x; \
1.186 + for(i=0;i<n;i++){ \
1.187 + x = src[i]; \
1.188 + if(x>oil_type_max_ ## desttype) x=oil_type_max_ ## desttype; \
1.189 + dest[i] = x; \
1.190 + } \
1.191 +} \
1.192 +OIL_DEFINE_CLASS(convert_ ## desttype ## _ ## srctype, \
1.193 + "oil_type_" #desttype " *dest, " \
1.194 + "oil_type_" #srctype " *src, " \
1.195 + "int n"); \
1.196 +OIL_DEFINE_IMPL_REF(convert_ ## desttype ## _ ## srctype ## _ref, \
1.197 + convert_ ## desttype ## _ ## srctype)
1.198 +
1.199 +#define CONVERT_DEFINE_LOWER_REF(desttype,srctype) \
1.200 +static void convert_ ## desttype ## _ ## srctype ## _ref ( \
1.201 + oil_type_ ## desttype *dest, \
1.202 + oil_type_ ## srctype *src, \
1.203 + int n) \
1.204 +{ \
1.205 + int i; \
1.206 + oil_type_ ## srctype x; \
1.207 + for(i=0;i<n;i++){ \
1.208 + x = src[i]; \
1.209 + if(x<oil_type_min_ ## desttype) x=oil_type_min_ ## desttype; \
1.210 + dest[i] = x; \
1.211 + } \
1.212 +} \
1.213 +OIL_DEFINE_CLASS(convert_ ## desttype ## _ ## srctype, \
1.214 + "oil_type_" #desttype " *dest, " \
1.215 + "oil_type_" #srctype " *src, " \
1.216 + "int n"); \
1.217 +OIL_DEFINE_IMPL_REF(convert_ ## desttype ## _ ## srctype ## _ref, \
1.218 + convert_ ## desttype ## _ ## srctype)
1.219 +
1.220 +#define CONVERT_DEFINE_FLOAT_REF(desttype,srctype) \
1.221 +static void convert_ ## desttype ## _ ## srctype ## _ref ( \
1.222 + oil_type_ ## desttype *dest, \
1.223 + oil_type_ ## srctype *src, \
1.224 + int n) \
1.225 +{ \
1.226 + int i; \
1.227 + oil_type_ ## srctype x; \
1.228 + for(i=0;i<n;i++){ \
1.229 + x = src[i]; \
1.230 + if(x<oil_type_min_ ## desttype) x=oil_type_min_ ## desttype; \
1.231 + if(x>oil_type_max_ ## desttype) x=oil_type_max_ ## desttype; \
1.232 + dest[i] = x; \
1.233 + } \
1.234 +} \
1.235 +OIL_DEFINE_CLASS_FULL(convert_ ## desttype ## _ ## srctype, \
1.236 + "oil_type_" #desttype " *dest, " \
1.237 + "oil_type_" #srctype " *src, " \
1.238 + "int n", convert_float_test); \
1.239 +OIL_DEFINE_IMPL_REF(convert_ ## desttype ## _ ## srctype ## _ref, \
1.240 + convert_ ## desttype ## _ ## srctype)
1.241 +
1.242 +/* no clip */
1.243 +CONVERT_DEFINE_NONE_REF(s16,s8);
1.244 +#ifdef __SYMBIAN32__
1.245 +
1.246 +OilFunctionImpl* __oil_function_impl_convert_s16_s8_ref() {
1.247 + return &_oil_function_impl_convert_s16_s8_ref;
1.248 +}
1.249 +#endif
1.250 +
1.251 +CONVERT_DEFINE_NONE_REF(s16,u8);
1.252 +#ifdef __SYMBIAN32__
1.253 +
1.254 +OilFunctionImpl* __oil_function_impl_convert_s16_u8_ref() {
1.255 + return &_oil_function_impl_convert_s16_u8_ref;
1.256 +}
1.257 +#endif
1.258 +
1.259 +CONVERT_DEFINE_NONE_REF(s32,s8);
1.260 +#ifdef __SYMBIAN32__
1.261 +
1.262 +OilFunctionImpl* __oil_function_impl_convert_s32_s8_ref() {
1.263 + return &_oil_function_impl_convert_s32_s8_ref;
1.264 +}
1.265 +#endif
1.266 +
1.267 +CONVERT_DEFINE_NONE_REF(s32,u8);
1.268 +#ifdef __SYMBIAN32__
1.269 +
1.270 +OilFunctionImpl* __oil_function_impl_convert_s32_u8_ref() {
1.271 + return &_oil_function_impl_convert_s32_u8_ref;
1.272 +}
1.273 +#endif
1.274 +
1.275 +CONVERT_DEFINE_NONE_REF(s32,s16);
1.276 +#ifdef __SYMBIAN32__
1.277 +
1.278 +OilFunctionImpl* __oil_function_impl_convert_s32_s16_ref() {
1.279 + return &_oil_function_impl_convert_s32_s16_ref;
1.280 +}
1.281 +#endif
1.282 +
1.283 +CONVERT_DEFINE_NONE_REF(s32,u16);
1.284 +#ifdef __SYMBIAN32__
1.285 +
1.286 +OilFunctionImpl* __oil_function_impl_convert_s32_u16_ref() {
1.287 + return &_oil_function_impl_convert_s32_u16_ref;
1.288 +}
1.289 +#endif
1.290 +
1.291 +CONVERT_DEFINE_NONE_REF(u16,u8);
1.292 +#ifdef __SYMBIAN32__
1.293 +
1.294 +OilFunctionImpl* __oil_function_impl_convert_u16_u8_ref() {
1.295 + return &_oil_function_impl_convert_u16_u8_ref;
1.296 +}
1.297 +#endif
1.298 +
1.299 +CONVERT_DEFINE_NONE_REF(u32,u8);
1.300 +#ifdef __SYMBIAN32__
1.301 +
1.302 +OilFunctionImpl* __oil_function_impl_convert_u32_u8_ref() {
1.303 + return &_oil_function_impl_convert_u32_u8_ref;
1.304 +}
1.305 +#endif
1.306 +
1.307 +CONVERT_DEFINE_NONE_REF(u32,u16);
1.308 +#ifdef __SYMBIAN32__
1.309 +
1.310 +OilFunctionImpl* __oil_function_impl_convert_u32_u16_ref() {
1.311 + return &_oil_function_impl_convert_u32_u16_ref;
1.312 +}
1.313 +#endif
1.314 +
1.315 +/* clip upper */
1.316 +CONVERT_DEFINE_UPPER_REF(s8,u8);
1.317 +#ifdef __SYMBIAN32__
1.318 +
1.319 +OilFunctionImpl* __oil_function_impl_convert_s8_u8_ref() {
1.320 + return &_oil_function_impl_convert_s8_u8_ref;
1.321 +}
1.322 +#endif
1.323 +
1.324 +CONVERT_DEFINE_UPPER_REF(s8,u16);
1.325 +#ifdef __SYMBIAN32__
1.326 +
1.327 +OilFunctionImpl* __oil_function_impl_convert_s8_u16_ref() {
1.328 + return &_oil_function_impl_convert_s8_u16_ref;
1.329 +}
1.330 +#endif
1.331 +
1.332 +CONVERT_DEFINE_UPPER_REF(s8,u32);
1.333 +#ifdef __SYMBIAN32__
1.334 +
1.335 +OilFunctionImpl* __oil_function_impl_convert_s8_u32_ref() {
1.336 + return &_oil_function_impl_convert_s8_u32_ref;
1.337 +}
1.338 +#endif
1.339 +
1.340 +CONVERT_DEFINE_UPPER_REF(u8,u32);
1.341 +#ifdef __SYMBIAN32__
1.342 +
1.343 +OilFunctionImpl* __oil_function_impl_convert_u8_u32_ref() {
1.344 + return &_oil_function_impl_convert_u8_u32_ref;
1.345 +}
1.346 +#endif
1.347 +
1.348 +CONVERT_DEFINE_UPPER_REF(u8,u16);
1.349 +#ifdef __SYMBIAN32__
1.350 +
1.351 +OilFunctionImpl* __oil_function_impl_convert_u8_u16_ref() {
1.352 + return &_oil_function_impl_convert_u8_u16_ref;
1.353 +}
1.354 +#endif
1.355 +
1.356 +CONVERT_DEFINE_UPPER_REF(s16,u16);
1.357 +#ifdef __SYMBIAN32__
1.358 +
1.359 +OilFunctionImpl* __oil_function_impl_convert_s16_u16_ref() {
1.360 + return &_oil_function_impl_convert_s16_u16_ref;
1.361 +}
1.362 +#endif
1.363 +
1.364 +CONVERT_DEFINE_UPPER_REF(s16,u32);
1.365 +#ifdef __SYMBIAN32__
1.366 +
1.367 +OilFunctionImpl* __oil_function_impl_convert_s16_u32_ref() {
1.368 + return &_oil_function_impl_convert_s16_u32_ref;
1.369 +}
1.370 +#endif
1.371 +
1.372 +CONVERT_DEFINE_UPPER_REF(s32,u32);
1.373 +#ifdef __SYMBIAN32__
1.374 +
1.375 +OilFunctionImpl* __oil_function_impl_convert_s32_u32_ref() {
1.376 + return &_oil_function_impl_convert_s32_u32_ref;
1.377 +}
1.378 +#endif
1.379 +
1.380 +CONVERT_DEFINE_UPPER_REF(u16,u32);
1.381 +#ifdef __SYMBIAN32__
1.382 +
1.383 +OilFunctionImpl* __oil_function_impl_convert_u16_u32_ref() {
1.384 + return &_oil_function_impl_convert_u16_u32_ref;
1.385 +}
1.386 +#endif
1.387 +
1.388 +/* clip both */
1.389 +CONVERT_DEFINE_BOTH_REF(s8,s16);
1.390 +#ifdef __SYMBIAN32__
1.391 +
1.392 +OilFunctionImpl* __oil_function_impl_convert_s8_s16_ref() {
1.393 + return &_oil_function_impl_convert_s8_s16_ref;
1.394 +}
1.395 +#endif
1.396 +
1.397 +CONVERT_DEFINE_BOTH_REF(s8,s32);
1.398 +#ifdef __SYMBIAN32__
1.399 +
1.400 +OilFunctionImpl* __oil_function_impl_convert_s8_s32_ref() {
1.401 + return &_oil_function_impl_convert_s8_s32_ref;
1.402 +}
1.403 +#endif
1.404 +
1.405 +CONVERT_DEFINE_BOTH_REF(u8,s16);
1.406 +#ifdef __SYMBIAN32__
1.407 +
1.408 +OilFunctionImpl* __oil_function_impl_convert_u8_s16_ref() {
1.409 + return &_oil_function_impl_convert_u8_s16_ref;
1.410 +}
1.411 +#endif
1.412 +
1.413 +CONVERT_DEFINE_BOTH_REF(u8,s32);
1.414 +#ifdef __SYMBIAN32__
1.415 +
1.416 +OilFunctionImpl* __oil_function_impl_convert_u8_s32_ref() {
1.417 + return &_oil_function_impl_convert_u8_s32_ref;
1.418 +}
1.419 +#endif
1.420 +
1.421 +CONVERT_DEFINE_BOTH_REF(s16,s32);
1.422 +#ifdef __SYMBIAN32__
1.423 +
1.424 +OilFunctionImpl* __oil_function_impl_convert_s16_s32_ref() {
1.425 + return &_oil_function_impl_convert_s16_s32_ref;
1.426 +}
1.427 +#endif
1.428 +
1.429 +CONVERT_DEFINE_BOTH_REF(u16,s32);
1.430 +#ifdef __SYMBIAN32__
1.431 +
1.432 +OilFunctionImpl* __oil_function_impl_convert_u16_s32_ref() {
1.433 + return &_oil_function_impl_convert_u16_s32_ref;
1.434 +}
1.435 +#endif
1.436 +
1.437 +/* clip lower */
1.438 +CONVERT_DEFINE_LOWER_REF(u8,s8);
1.439 +#ifdef __SYMBIAN32__
1.440 +
1.441 +OilFunctionImpl* __oil_function_impl_convert_u8_s8_ref() {
1.442 + return &_oil_function_impl_convert_u8_s8_ref;
1.443 +}
1.444 +#endif
1.445 +
1.446 +CONVERT_DEFINE_LOWER_REF(u16,s16);
1.447 +#ifdef __SYMBIAN32__
1.448 +
1.449 +OilFunctionImpl* __oil_function_impl_convert_u16_s16_ref() {
1.450 + return &_oil_function_impl_convert_u16_s16_ref;
1.451 +}
1.452 +#endif
1.453 +
1.454 +CONVERT_DEFINE_LOWER_REF(u32,s32);
1.455 +#ifdef __SYMBIAN32__
1.456 +
1.457 +OilFunctionImpl* __oil_function_impl_convert_u32_s32_ref() {
1.458 + return &_oil_function_impl_convert_u32_s32_ref;
1.459 +}
1.460 +#endif
1.461 +
1.462 +/* clip both, float */
1.463 +CONVERT_DEFINE_FLOAT_REF(s8,f32);
1.464 +#ifdef __SYMBIAN32__
1.465 +
1.466 +OilFunctionImpl* __oil_function_impl_convert_s8_f32_ref() {
1.467 + return &_oil_function_impl_convert_s8_f32_ref;
1.468 +}
1.469 +#endif
1.470 +
1.471 +CONVERT_DEFINE_FLOAT_REF(s8,f64);
1.472 +#ifdef __SYMBIAN32__
1.473 +
1.474 +OilFunctionImpl* __oil_function_impl_convert_s8_f64_ref() {
1.475 + return &_oil_function_impl_convert_s8_f64_ref;
1.476 +}
1.477 +#endif
1.478 +
1.479 +CONVERT_DEFINE_FLOAT_REF(u8,f32);
1.480 +#ifdef __SYMBIAN32__
1.481 +
1.482 +OilFunctionImpl* __oil_function_impl_convert_u8_f32_ref() {
1.483 + return &_oil_function_impl_convert_u8_f32_ref;
1.484 +}
1.485 +#endif
1.486 +
1.487 +CONVERT_DEFINE_FLOAT_REF(u8,f64);
1.488 +#ifdef __SYMBIAN32__
1.489 +
1.490 +OilFunctionImpl* __oil_function_impl_convert_u8_f64_ref() {
1.491 + return &_oil_function_impl_convert_u8_f64_ref;
1.492 +}
1.493 +#endif
1.494 +
1.495 +CONVERT_DEFINE_FLOAT_REF(s16,f32);
1.496 +#ifdef __SYMBIAN32__
1.497 +
1.498 +OilFunctionImpl* __oil_function_impl_convert_s16_f32_ref() {
1.499 + return &_oil_function_impl_convert_s16_f32_ref;
1.500 +}
1.501 +#endif
1.502 +
1.503 +CONVERT_DEFINE_FLOAT_REF(s16,f64);
1.504 +#ifdef __SYMBIAN32__
1.505 +
1.506 +OilFunctionImpl* __oil_function_impl_convert_s16_f64_ref() {
1.507 + return &_oil_function_impl_convert_s16_f64_ref;
1.508 +}
1.509 +#endif
1.510 +
1.511 +CONVERT_DEFINE_FLOAT_REF(u16,f32);
1.512 +#ifdef __SYMBIAN32__
1.513 +
1.514 +OilFunctionImpl* __oil_function_impl_convert_u16_f32_ref() {
1.515 + return &_oil_function_impl_convert_u16_f32_ref;
1.516 +}
1.517 +#endif
1.518 +
1.519 +CONVERT_DEFINE_FLOAT_REF(u16,f64);
1.520 +#ifdef __SYMBIAN32__
1.521 +
1.522 +OilFunctionImpl* __oil_function_impl_convert_u16_f64_ref() {
1.523 + return &_oil_function_impl_convert_u16_f64_ref;
1.524 +}
1.525 +#endif
1.526 +
1.527 +CONVERT_DEFINE_FLOAT_REF(s32,f64);
1.528 +#ifdef __SYMBIAN32__
1.529 +
1.530 +OilFunctionImpl* __oil_function_impl_convert_s32_f64_ref() {
1.531 + return &_oil_function_impl_convert_s32_f64_ref;
1.532 +}
1.533 +#endif
1.534 +
1.535 +CONVERT_DEFINE_FLOAT_REF(u32,f64);
1.536 +#ifdef __SYMBIAN32__
1.537 +
1.538 +OilFunctionImpl* __oil_function_impl_convert_u32_f64_ref() {
1.539 + return &_oil_function_impl_convert_u32_f64_ref;
1.540 +}
1.541 +#endif
1.542 +
1.543 +
1.544 +
1.545 +/**
1.546 + * oil_convert_f32_f64:
1.547 + * @dest:
1.548 + * @src:
1.549 + * @n:
1.550 + *
1.551 + * Converts elements in from the source type
1.552 + * to the destination type and places the result in .
1.553 + * Values outside the destination range are undefined
1.554 + * and implementation dependent.
1.555 + * See the comments at the beginning of this section.
1.556 + */
1.557 +
1.558 +/**
1.559 + * oil_convert_f32_s16:
1.560 + * @dest:
1.561 + * @src:
1.562 + * @n:
1.563 + *
1.564 + * Converts elements in from the source type
1.565 + * to the destination type and places the result in .
1.566 + * Values outside the destination range are undefined
1.567 + * and implementation dependent.
1.568 + * See the comments at the beginning of this section.
1.569 + */
1.570 +
1.571 +/**
1.572 + * oil_convert_f32_s32:
1.573 + * @dest:
1.574 + * @src:
1.575 + * @n:
1.576 + *
1.577 + * Converts elements in from the source type
1.578 + * to the destination type and places the result in .
1.579 + * Values outside the destination range are undefined
1.580 + * and implementation dependent.
1.581 + * See the comments at the beginning of this section.
1.582 + */
1.583 +
1.584 +/**
1.585 + * oil_convert_f32_s8:
1.586 + * @dest:
1.587 + * @src:
1.588 + * @n:
1.589 + *
1.590 + * Converts elements in from the source type
1.591 + * to the destination type and places the result in .
1.592 + * Values outside the destination range are undefined
1.593 + * and implementation dependent.
1.594 + * See the comments at the beginning of this section.
1.595 + */
1.596 +
1.597 +/**
1.598 + * oil_convert_f32_u16:
1.599 + * @dest:
1.600 + * @src:
1.601 + * @n:
1.602 + *
1.603 + * Converts elements in from the source type
1.604 + * to the destination type and places the result in .
1.605 + * Values outside the destination range are undefined
1.606 + * and implementation dependent.
1.607 + * See the comments at the beginning of this section.
1.608 + */
1.609 +
1.610 +/**
1.611 + * oil_convert_f32_u32:
1.612 + * @dest:
1.613 + * @src:
1.614 + * @n:
1.615 + *
1.616 + * Converts elements in from the source type
1.617 + * to the destination type and places the result in .
1.618 + * Values outside the destination range are undefined
1.619 + * and implementation dependent.
1.620 + * See the comments at the beginning of this section.
1.621 + */
1.622 +
1.623 +/**
1.624 + * oil_convert_f32_u8:
1.625 + * @dest:
1.626 + * @src:
1.627 + * @n:
1.628 + *
1.629 + * Converts elements in from the source type
1.630 + * to the destination type and places the result in .
1.631 + * Values outside the destination range are undefined
1.632 + * and implementation dependent.
1.633 + * See the comments at the beginning of this section.
1.634 + */
1.635 +
1.636 +/**
1.637 + * oil_convert_f64_f32:
1.638 + * @dest:
1.639 + * @src:
1.640 + * @n:
1.641 + *
1.642 + * Converts elements in from the source type
1.643 + * to the destination type and places the result in .
1.644 + * Values outside the destination range are undefined
1.645 + * and implementation dependent.
1.646 + * See the comments at the beginning of this section.
1.647 + */
1.648 +
1.649 +/**
1.650 + * oil_convert_f64_s16:
1.651 + * @dest:
1.652 + * @src:
1.653 + * @n:
1.654 + *
1.655 + * Converts elements in from the source type
1.656 + * to the destination type and places the result in .
1.657 + * Values outside the destination range are undefined
1.658 + * and implementation dependent.
1.659 + * See the comments at the beginning of this section.
1.660 + */
1.661 +
1.662 +/**
1.663 + * oil_convert_f64_s32:
1.664 + * @dest:
1.665 + * @src:
1.666 + * @n:
1.667 + *
1.668 + * Converts elements in from the source type
1.669 + * to the destination type and places the result in .
1.670 + * Values outside the destination range are undefined
1.671 + * and implementation dependent.
1.672 + * See the comments at the beginning of this section.
1.673 + */
1.674 +
1.675 +/**
1.676 + * oil_convert_f64_s8:
1.677 + * @dest:
1.678 + * @src:
1.679 + * @n:
1.680 + *
1.681 + * Converts elements in from the source type
1.682 + * to the destination type and places the result in .
1.683 + * Values outside the destination range are undefined
1.684 + * and implementation dependent.
1.685 + * See the comments at the beginning of this section.
1.686 + */
1.687 +
1.688 +/**
1.689 + * oil_convert_f64_u16:
1.690 + * @dest:
1.691 + * @src:
1.692 + * @n:
1.693 + *
1.694 + * Converts elements in from the source type
1.695 + * to the destination type and places the result in .
1.696 + * Values outside the destination range are undefined
1.697 + * and implementation dependent.
1.698 + * See the comments at the beginning of this section.
1.699 + */
1.700 +
1.701 +/**
1.702 + * oil_convert_f64_u32:
1.703 + * @dest:
1.704 + * @src:
1.705 + * @n:
1.706 + *
1.707 + * Converts elements in from the source type
1.708 + * to the destination type and places the result in .
1.709 + * Values outside the destination range are undefined
1.710 + * and implementation dependent.
1.711 + * See the comments at the beginning of this section.
1.712 + */
1.713 +
1.714 +/**
1.715 + * oil_convert_f64_u8:
1.716 + * @dest:
1.717 + * @src:
1.718 + * @n:
1.719 + *
1.720 + * Converts elements in from the source type
1.721 + * to the destination type and places the result in .
1.722 + * Values outside the destination range are undefined
1.723 + * and implementation dependent.
1.724 + * See the comments at the beginning of this section.
1.725 + */
1.726 +
1.727 +/**
1.728 + * oil_convert_s16_f32:
1.729 + * @dest:
1.730 + * @src:
1.731 + * @n:
1.732 + *
1.733 + * Converts elements in from the source type
1.734 + * to the destination type and places the result in .
1.735 + * Values outside the destination range are undefined
1.736 + * and implementation dependent.
1.737 + * See the comments at the beginning of this section.
1.738 + */
1.739 +
1.740 +/**
1.741 + * oil_convert_s16_f64:
1.742 + * @dest:
1.743 + * @src:
1.744 + * @n:
1.745 + *
1.746 + * Converts elements in from the source type
1.747 + * to the destination type and places the result in .
1.748 + * Values outside the destination range are undefined
1.749 + * and implementation dependent.
1.750 + * See the comments at the beginning of this section.
1.751 + */
1.752 +
1.753 +/**
1.754 + * oil_convert_s16_s32:
1.755 + * @dest:
1.756 + * @src:
1.757 + * @n:
1.758 + *
1.759 + * Converts elements in from the source type
1.760 + * to the destination type and places the result in .
1.761 + * Values outside the destination range are undefined
1.762 + * and implementation dependent.
1.763 + * See the comments at the beginning of this section.
1.764 + */
1.765 +
1.766 +/**
1.767 + * oil_convert_s16_s8:
1.768 + * @dest:
1.769 + * @src:
1.770 + * @n:
1.771 + *
1.772 + * Converts elements in from the source type
1.773 + * to the destination type and places the result in .
1.774 + * Values outside the destination range are undefined
1.775 + * and implementation dependent.
1.776 + * See the comments at the beginning of this section.
1.777 + */
1.778 +
1.779 +/**
1.780 + * oil_convert_s16_u16:
1.781 + * @dest:
1.782 + * @src:
1.783 + * @n:
1.784 + *
1.785 + * Converts elements in from the source type
1.786 + * to the destination type and places the result in .
1.787 + * Values outside the destination range are undefined
1.788 + * and implementation dependent.
1.789 + * See the comments at the beginning of this section.
1.790 + */
1.791 +
1.792 +/**
1.793 + * oil_convert_s16_u32:
1.794 + * @dest:
1.795 + * @src:
1.796 + * @n:
1.797 + *
1.798 + * Converts elements in from the source type
1.799 + * to the destination type and places the result in .
1.800 + * Values outside the destination range are undefined
1.801 + * and implementation dependent.
1.802 + * See the comments at the beginning of this section.
1.803 + */
1.804 +
1.805 +/**
1.806 + * oil_convert_s16_u8:
1.807 + * @dest:
1.808 + * @src:
1.809 + * @n:
1.810 + *
1.811 + * Converts elements in from the source type
1.812 + * to the destination type and places the result in .
1.813 + * Values outside the destination range are undefined
1.814 + * and implementation dependent.
1.815 + * See the comments at the beginning of this section.
1.816 + */
1.817 +
1.818 +/**
1.819 + * oil_convert_s32_f32:
1.820 + * @dest:
1.821 + * @src:
1.822 + * @n:
1.823 + *
1.824 + * Converts elements in from the source type
1.825 + * to the destination type and places the result in .
1.826 + * Values outside the destination range are undefined
1.827 + * and implementation dependent.
1.828 + * See the comments at the beginning of this section.
1.829 + */
1.830 +
1.831 +/**
1.832 + * oil_convert_s32_f64:
1.833 + * @dest:
1.834 + * @src:
1.835 + * @n:
1.836 + *
1.837 + * Converts elements in from the source type
1.838 + * to the destination type and places the result in .
1.839 + * Values outside the destination range are undefined
1.840 + * and implementation dependent.
1.841 + * See the comments at the beginning of this section.
1.842 + */
1.843 +
1.844 +/**
1.845 + * oil_convert_s32_s16:
1.846 + * @dest:
1.847 + * @src:
1.848 + * @n:
1.849 + *
1.850 + * Converts elements in from the source type
1.851 + * to the destination type and places the result in .
1.852 + * Values outside the destination range are undefined
1.853 + * and implementation dependent.
1.854 + * See the comments at the beginning of this section.
1.855 + */
1.856 +
1.857 +/**
1.858 + * oil_convert_s32_s8:
1.859 + * @dest:
1.860 + * @src:
1.861 + * @n:
1.862 + *
1.863 + * Converts elements in from the source type
1.864 + * to the destination type and places the result in .
1.865 + * Values outside the destination range are undefined
1.866 + * and implementation dependent.
1.867 + * See the comments at the beginning of this section.
1.868 + */
1.869 +
1.870 +/**
1.871 + * oil_convert_s32_u16:
1.872 + * @dest:
1.873 + * @src:
1.874 + * @n:
1.875 + *
1.876 + * Converts elements in from the source type
1.877 + * to the destination type and places the result in .
1.878 + * Values outside the destination range are undefined
1.879 + * and implementation dependent.
1.880 + * See the comments at the beginning of this section.
1.881 + */
1.882 +
1.883 +/**
1.884 + * oil_convert_s32_u32:
1.885 + * @dest:
1.886 + * @src:
1.887 + * @n:
1.888 + *
1.889 + * Converts elements in from the source type
1.890 + * to the destination type and places the result in .
1.891 + * Values outside the destination range are undefined
1.892 + * and implementation dependent.
1.893 + * See the comments at the beginning of this section.
1.894 + */
1.895 +
1.896 +/**
1.897 + * oil_convert_s32_u8:
1.898 + * @dest:
1.899 + * @src:
1.900 + * @n:
1.901 + *
1.902 + * Converts elements in from the source type
1.903 + * to the destination type and places the result in .
1.904 + * Values outside the destination range are undefined
1.905 + * and implementation dependent.
1.906 + * See the comments at the beginning of this section.
1.907 + */
1.908 +
1.909 +/**
1.910 + * oil_convert_s8_f32:
1.911 + * @dest:
1.912 + * @src:
1.913 + * @n:
1.914 + *
1.915 + * Converts elements in from the source type
1.916 + * to the destination type and places the result in .
1.917 + * Values outside the destination range are undefined
1.918 + * and implementation dependent.
1.919 + * See the comments at the beginning of this section.
1.920 + */
1.921 +
1.922 +/**
1.923 + * oil_convert_s8_f64:
1.924 + * @dest:
1.925 + * @src:
1.926 + * @n:
1.927 + *
1.928 + * Converts elements in from the source type
1.929 + * to the destination type and places the result in .
1.930 + * Values outside the destination range are undefined
1.931 + * and implementation dependent.
1.932 + * See the comments at the beginning of this section.
1.933 + */
1.934 +
1.935 +/**
1.936 + * oil_convert_s8_s16:
1.937 + * @dest:
1.938 + * @src:
1.939 + * @n:
1.940 + *
1.941 + * Converts elements in from the source type
1.942 + * to the destination type and places the result in .
1.943 + * Values outside the destination range are undefined
1.944 + * and implementation dependent.
1.945 + * See the comments at the beginning of this section.
1.946 + */
1.947 +
1.948 +/**
1.949 + * oil_convert_s8_s32:
1.950 + * @dest:
1.951 + * @src:
1.952 + * @n:
1.953 + *
1.954 + * Converts elements in from the source type
1.955 + * to the destination type and places the result in .
1.956 + * Values outside the destination range are undefined
1.957 + * and implementation dependent.
1.958 + * See the comments at the beginning of this section.
1.959 + */
1.960 +
1.961 +/**
1.962 + * oil_convert_s8_u16:
1.963 + * @dest:
1.964 + * @src:
1.965 + * @n:
1.966 + *
1.967 + * Converts elements in from the source type
1.968 + * to the destination type and places the result in .
1.969 + * Values outside the destination range are undefined
1.970 + * and implementation dependent.
1.971 + * See the comments at the beginning of this section.
1.972 + */
1.973 +
1.974 +/**
1.975 + * oil_convert_s8_u32:
1.976 + * @dest:
1.977 + * @src:
1.978 + * @n:
1.979 + *
1.980 + * Converts elements in from the source type
1.981 + * to the destination type and places the result in .
1.982 + * Values outside the destination range are undefined
1.983 + * and implementation dependent.
1.984 + * See the comments at the beginning of this section.
1.985 + */
1.986 +
1.987 +/**
1.988 + * oil_convert_s8_u8:
1.989 + * @dest:
1.990 + * @src:
1.991 + * @n:
1.992 + *
1.993 + * Converts elements in from the source type
1.994 + * to the destination type and places the result in .
1.995 + * Values outside the destination range are undefined
1.996 + * and implementation dependent.
1.997 + * See the comments at the beginning of this section.
1.998 + */
1.999 +
1.1000 +/**
1.1001 + * oil_convert_u16_f32:
1.1002 + * @dest:
1.1003 + * @src:
1.1004 + * @n:
1.1005 + *
1.1006 + * Converts elements in from the source type
1.1007 + * to the destination type and places the result in .
1.1008 + * Values outside the destination range are undefined
1.1009 + * and implementation dependent.
1.1010 + * See the comments at the beginning of this section.
1.1011 + */
1.1012 +
1.1013 +/**
1.1014 + * oil_convert_u16_f64:
1.1015 + * @dest:
1.1016 + * @src:
1.1017 + * @n:
1.1018 + *
1.1019 + * Converts elements in from the source type
1.1020 + * to the destination type and places the result in .
1.1021 + * Values outside the destination range are undefined
1.1022 + * and implementation dependent.
1.1023 + * See the comments at the beginning of this section.
1.1024 + */
1.1025 +
1.1026 +/**
1.1027 + * oil_convert_u16_s16:
1.1028 + * @dest:
1.1029 + * @src:
1.1030 + * @n:
1.1031 + *
1.1032 + * Converts elements in from the source type
1.1033 + * to the destination type and places the result in .
1.1034 + * Values outside the destination range are undefined
1.1035 + * and implementation dependent.
1.1036 + * See the comments at the beginning of this section.
1.1037 + */
1.1038 +
1.1039 +/**
1.1040 + * oil_convert_u16_s32:
1.1041 + * @dest:
1.1042 + * @src:
1.1043 + * @n:
1.1044 + *
1.1045 + * Converts elements in from the source type
1.1046 + * to the destination type and places the result in .
1.1047 + * Values outside the destination range are undefined
1.1048 + * and implementation dependent.
1.1049 + * See the comments at the beginning of this section.
1.1050 + */
1.1051 +
1.1052 +/**
1.1053 + * oil_convert_u16_s8:
1.1054 + * @dest:
1.1055 + * @src:
1.1056 + * @n:
1.1057 + *
1.1058 + * Converts elements in from the source type
1.1059 + * to the destination type and places the result in .
1.1060 + * Values outside the destination range are undefined
1.1061 + * and implementation dependent.
1.1062 + * See the comments at the beginning of this section.
1.1063 + */
1.1064 +
1.1065 +/**
1.1066 + * oil_convert_u16_u32:
1.1067 + * @dest:
1.1068 + * @src:
1.1069 + * @n:
1.1070 + *
1.1071 + * Converts elements in from the source type
1.1072 + * to the destination type and places the result in .
1.1073 + * Values outside the destination range are undefined
1.1074 + * and implementation dependent.
1.1075 + * See the comments at the beginning of this section.
1.1076 + */
1.1077 +
1.1078 +/**
1.1079 + * oil_convert_u16_u8:
1.1080 + * @dest:
1.1081 + * @src:
1.1082 + * @n:
1.1083 + *
1.1084 + * Converts elements in from the source type
1.1085 + * to the destination type and places the result in .
1.1086 + * Values outside the destination range are undefined
1.1087 + * and implementation dependent.
1.1088 + * See the comments at the beginning of this section.
1.1089 + */
1.1090 +
1.1091 +/**
1.1092 + * oil_convert_u32_f32:
1.1093 + * @dest:
1.1094 + * @src:
1.1095 + * @n:
1.1096 + *
1.1097 + * Converts elements in from the source type
1.1098 + * to the destination type and places the result in .
1.1099 + * Values outside the destination range are undefined
1.1100 + * and implementation dependent.
1.1101 + * See the comments at the beginning of this section.
1.1102 + */
1.1103 +
1.1104 +/**
1.1105 + * oil_convert_u32_f64:
1.1106 + * @dest:
1.1107 + * @src:
1.1108 + * @n:
1.1109 + *
1.1110 + * Converts elements in from the source type
1.1111 + * to the destination type and places the result in .
1.1112 + * Values outside the destination range are undefined
1.1113 + * and implementation dependent.
1.1114 + * See the comments at the beginning of this section.
1.1115 + */
1.1116 +
1.1117 +/**
1.1118 + * oil_convert_u32_s16:
1.1119 + * @dest:
1.1120 + * @src:
1.1121 + * @n:
1.1122 + *
1.1123 + * Converts elements in from the source type
1.1124 + * to the destination type and places the result in .
1.1125 + * Values outside the destination range are undefined
1.1126 + * and implementation dependent.
1.1127 + * See the comments at the beginning of this section.
1.1128 + */
1.1129 +
1.1130 +/**
1.1131 + * oil_convert_u32_s32:
1.1132 + * @dest:
1.1133 + * @src:
1.1134 + * @n:
1.1135 + *
1.1136 + * Converts elements in from the source type
1.1137 + * to the destination type and places the result in .
1.1138 + * Values outside the destination range are undefined
1.1139 + * and implementation dependent.
1.1140 + * See the comments at the beginning of this section.
1.1141 + */
1.1142 +
1.1143 +/**
1.1144 + * oil_convert_u32_s8:
1.1145 + * @dest:
1.1146 + * @src:
1.1147 + * @n:
1.1148 + *
1.1149 + * Converts elements in from the source type
1.1150 + * to the destination type and places the result in .
1.1151 + * Values outside the destination range are undefined
1.1152 + * and implementation dependent.
1.1153 + * See the comments at the beginning of this section.
1.1154 + */
1.1155 +
1.1156 +/**
1.1157 + * oil_convert_u32_u16:
1.1158 + * @dest:
1.1159 + * @src:
1.1160 + * @n:
1.1161 + *
1.1162 + * Converts elements in from the source type
1.1163 + * to the destination type and places the result in .
1.1164 + * Values outside the destination range are undefined
1.1165 + * and implementation dependent.
1.1166 + * See the comments at the beginning of this section.
1.1167 + */
1.1168 +
1.1169 +/**
1.1170 + * oil_convert_u32_u8:
1.1171 + * @dest:
1.1172 + * @src:
1.1173 + * @n:
1.1174 + *
1.1175 + * Converts elements in from the source type
1.1176 + * to the destination type and places the result in .
1.1177 + * Values outside the destination range are undefined
1.1178 + * and implementation dependent.
1.1179 + * See the comments at the beginning of this section.
1.1180 + */
1.1181 +
1.1182 +/**
1.1183 + * oil_convert_u8_f32:
1.1184 + * @dest:
1.1185 + * @src:
1.1186 + * @n:
1.1187 + *
1.1188 + * Converts elements in from the source type
1.1189 + * to the destination type and places the result in .
1.1190 + * Values outside the destination range are undefined
1.1191 + * and implementation dependent.
1.1192 + * See the comments at the beginning of this section.
1.1193 + */
1.1194 +
1.1195 +/**
1.1196 + * oil_convert_u8_f64:
1.1197 + * @dest:
1.1198 + * @src:
1.1199 + * @n:
1.1200 + *
1.1201 + * Converts elements in from the source type
1.1202 + * to the destination type and places the result in .
1.1203 + * Values outside the destination range are undefined
1.1204 + * and implementation dependent.
1.1205 + * See the comments at the beginning of this section.
1.1206 + */
1.1207 +
1.1208 +/**
1.1209 + * oil_convert_u8_s16:
1.1210 + * @dest:
1.1211 + * @src:
1.1212 + * @n:
1.1213 + *
1.1214 + * Converts elements in from the source type
1.1215 + * to the destination type and places the result in .
1.1216 + * Values outside the destination range are undefined
1.1217 + * and implementation dependent.
1.1218 + * See the comments at the beginning of this section.
1.1219 + */
1.1220 +
1.1221 +/**
1.1222 + * oil_convert_u8_s32:
1.1223 + * @dest:
1.1224 + * @src:
1.1225 + * @n:
1.1226 + *
1.1227 + * Converts elements in from the source type
1.1228 + * to the destination type and places the result in .
1.1229 + * Values outside the destination range are undefined
1.1230 + * and implementation dependent.
1.1231 + * See the comments at the beginning of this section.
1.1232 + */
1.1233 +
1.1234 +/**
1.1235 + * oil_convert_u8_s8:
1.1236 + * @dest:
1.1237 + * @src:
1.1238 + * @n:
1.1239 + *
1.1240 + * Converts elements in from the source type
1.1241 + * to the destination type and places the result in .
1.1242 + * Values outside the destination range are undefined
1.1243 + * and implementation dependent.
1.1244 + * See the comments at the beginning of this section.
1.1245 + */
1.1246 +
1.1247 +/**
1.1248 + * oil_convert_u8_u16:
1.1249 + * @dest:
1.1250 + * @src:
1.1251 + * @n:
1.1252 + *
1.1253 + * Converts elements in from the source type
1.1254 + * to the destination type and places the result in .
1.1255 + * Values outside the destination range are undefined
1.1256 + * and implementation dependent.
1.1257 + * See the comments at the beginning of this section.
1.1258 + */
1.1259 +
1.1260 +/**
1.1261 + * oil_convert_u8_u32:
1.1262 + * @dest:
1.1263 + * @src:
1.1264 + * @n:
1.1265 + *
1.1266 + * Converts elements in from the source type
1.1267 + * to the destination type and places the result in .
1.1268 + * Values outside the destination range are undefined
1.1269 + * and implementation dependent.
1.1270 + * See the comments at the beginning of this section.
1.1271 + */
1.1272 +
1.1273 +
1.1274 +
1.1275 +#ifdef __SYMBIAN32__
1.1276 +
1.1277 +OilFunctionClass* __oil_function_class_convert_s16_s8() {
1.1278 + return &_oil_function_class_convert_s16_s8;
1.1279 +}
1.1280 +#endif
1.1281 +
1.1282 +#ifdef __SYMBIAN32__
1.1283 +
1.1284 +OilFunctionClass* __oil_function_class_convert_s16_u8() {
1.1285 + return &_oil_function_class_convert_s16_u8;
1.1286 +}
1.1287 +#endif
1.1288 +
1.1289 +#ifdef __SYMBIAN32__
1.1290 +
1.1291 +OilFunctionClass* __oil_function_class_convert_s32_s8() {
1.1292 + return &_oil_function_class_convert_s32_s8;
1.1293 +}
1.1294 +#endif
1.1295 +
1.1296 +#ifdef __SYMBIAN32__
1.1297 +
1.1298 +OilFunctionClass* __oil_function_class_convert_s32_u8() {
1.1299 + return &_oil_function_class_convert_s32_u8;
1.1300 +}
1.1301 +#endif
1.1302 +
1.1303 +#ifdef __SYMBIAN32__
1.1304 +
1.1305 +OilFunctionClass* __oil_function_class_convert_s32_s16() {
1.1306 + return &_oil_function_class_convert_s32_s16;
1.1307 +}
1.1308 +#endif
1.1309 +
1.1310 +#ifdef __SYMBIAN32__
1.1311 +
1.1312 +OilFunctionClass* __oil_function_class_convert_s32_u16() {
1.1313 + return &_oil_function_class_convert_s32_u16;
1.1314 +}
1.1315 +#endif
1.1316 +
1.1317 +#ifdef __SYMBIAN32__
1.1318 +
1.1319 +OilFunctionClass* __oil_function_class_convert_u16_u8() {
1.1320 + return &_oil_function_class_convert_u16_u8;
1.1321 +}
1.1322 +#endif
1.1323 +
1.1324 +#ifdef __SYMBIAN32__
1.1325 +
1.1326 +OilFunctionClass* __oil_function_class_convert_u32_u8() {
1.1327 + return &_oil_function_class_convert_u32_u8;
1.1328 +}
1.1329 +#endif
1.1330 +
1.1331 +#ifdef __SYMBIAN32__
1.1332 +
1.1333 +OilFunctionClass* __oil_function_class_convert_u32_u16() {
1.1334 + return &_oil_function_class_convert_u32_u16;
1.1335 +}
1.1336 +#endif
1.1337 +
1.1338 +#ifdef __SYMBIAN32__
1.1339 +
1.1340 +OilFunctionClass* __oil_function_class_convert_s8_u8() {
1.1341 + return &_oil_function_class_convert_s8_u8;
1.1342 +}
1.1343 +#endif
1.1344 +
1.1345 +#ifdef __SYMBIAN32__
1.1346 +
1.1347 +OilFunctionClass* __oil_function_class_convert_s8_u16() {
1.1348 + return &_oil_function_class_convert_s8_u16;
1.1349 +}
1.1350 +#endif
1.1351 +
1.1352 +#ifdef __SYMBIAN32__
1.1353 +
1.1354 +OilFunctionClass* __oil_function_class_convert_s8_u32() {
1.1355 + return &_oil_function_class_convert_s8_u32;
1.1356 +}
1.1357 +#endif
1.1358 +
1.1359 +#ifdef __SYMBIAN32__
1.1360 +
1.1361 +OilFunctionClass* __oil_function_class_convert_u8_u32() {
1.1362 + return &_oil_function_class_convert_u8_u32;
1.1363 +}
1.1364 +#endif
1.1365 +
1.1366 +#ifdef __SYMBIAN32__
1.1367 +
1.1368 +OilFunctionClass* __oil_function_class_convert_u8_u16() {
1.1369 + return &_oil_function_class_convert_u8_u16;
1.1370 +}
1.1371 +#endif
1.1372 +
1.1373 +#ifdef __SYMBIAN32__
1.1374 +
1.1375 +OilFunctionClass* __oil_function_class_convert_s16_u16() {
1.1376 + return &_oil_function_class_convert_s16_u16;
1.1377 +}
1.1378 +#endif
1.1379 +
1.1380 +#ifdef __SYMBIAN32__
1.1381 +
1.1382 +OilFunctionClass* __oil_function_class_convert_s16_u32() {
1.1383 + return &_oil_function_class_convert_s16_u32;
1.1384 +}
1.1385 +#endif
1.1386 +
1.1387 +#ifdef __SYMBIAN32__
1.1388 +
1.1389 +OilFunctionClass* __oil_function_class_convert_s32_u32() {
1.1390 + return &_oil_function_class_convert_s32_u32;
1.1391 +}
1.1392 +#endif
1.1393 +
1.1394 +#ifdef __SYMBIAN32__
1.1395 +
1.1396 +OilFunctionClass* __oil_function_class_convert_u16_u32() {
1.1397 + return &_oil_function_class_convert_u16_u32;
1.1398 +}
1.1399 +#endif
1.1400 +
1.1401 +#ifdef __SYMBIAN32__
1.1402 +
1.1403 +OilFunctionClass* __oil_function_class_convert_s8_s16() {
1.1404 + return &_oil_function_class_convert_s8_s16;
1.1405 +}
1.1406 +#endif
1.1407 +
1.1408 +#ifdef __SYMBIAN32__
1.1409 +
1.1410 +OilFunctionClass* __oil_function_class_convert_s8_s32() {
1.1411 + return &_oil_function_class_convert_s8_s32;
1.1412 +}
1.1413 +#endif
1.1414 +
1.1415 +#ifdef __SYMBIAN32__
1.1416 +
1.1417 +OilFunctionClass* __oil_function_class_convert_u8_s16() {
1.1418 + return &_oil_function_class_convert_u8_s16;
1.1419 +}
1.1420 +#endif
1.1421 +
1.1422 +#ifdef __SYMBIAN32__
1.1423 +
1.1424 +OilFunctionClass* __oil_function_class_convert_u8_s32() {
1.1425 + return &_oil_function_class_convert_u8_s32;
1.1426 +}
1.1427 +#endif
1.1428 +
1.1429 +#ifdef __SYMBIAN32__
1.1430 +
1.1431 +OilFunctionClass* __oil_function_class_convert_s16_s32() {
1.1432 + return &_oil_function_class_convert_s16_s32;
1.1433 +}
1.1434 +#endif
1.1435 +
1.1436 +#ifdef __SYMBIAN32__
1.1437 +
1.1438 +OilFunctionClass* __oil_function_class_convert_u16_s32() {
1.1439 + return &_oil_function_class_convert_u16_s32;
1.1440 +}
1.1441 +#endif
1.1442 +
1.1443 +#ifdef __SYMBIAN32__
1.1444 +
1.1445 +OilFunctionClass* __oil_function_class_convert_u8_s8() {
1.1446 + return &_oil_function_class_convert_u8_s8;
1.1447 +}
1.1448 +#endif
1.1449 +
1.1450 +#ifdef __SYMBIAN32__
1.1451 +
1.1452 +OilFunctionClass* __oil_function_class_convert_u16_s16() {
1.1453 + return &_oil_function_class_convert_u16_s16;
1.1454 +}
1.1455 +#endif
1.1456 +
1.1457 +#ifdef __SYMBIAN32__
1.1458 +
1.1459 +OilFunctionClass* __oil_function_class_convert_u32_s32() {
1.1460 + return &_oil_function_class_convert_u32_s32;
1.1461 +}
1.1462 +#endif
1.1463 +
1.1464 +#ifdef __SYMBIAN32__
1.1465 +
1.1466 +OilFunctionClass* __oil_function_class_convert_s8_f32() {
1.1467 + return &_oil_function_class_convert_s8_f32;
1.1468 +}
1.1469 +#endif
1.1470 +
1.1471 +#ifdef __SYMBIAN32__
1.1472 +
1.1473 +OilFunctionClass* __oil_function_class_convert_s8_f64() {
1.1474 + return &_oil_function_class_convert_s8_f64;
1.1475 +}
1.1476 +#endif
1.1477 +
1.1478 +#ifdef __SYMBIAN32__
1.1479 +
1.1480 +OilFunctionClass* __oil_function_class_convert_u8_f32() {
1.1481 + return &_oil_function_class_convert_u8_f32;
1.1482 +}
1.1483 +#endif
1.1484 +
1.1485 +#ifdef __SYMBIAN32__
1.1486 +
1.1487 +OilFunctionClass* __oil_function_class_convert_u8_f64() {
1.1488 + return &_oil_function_class_convert_u8_f64;
1.1489 +}
1.1490 +#endif
1.1491 +
1.1492 +#ifdef __SYMBIAN32__
1.1493 +
1.1494 +OilFunctionClass* __oil_function_class_convert_s16_f32() {
1.1495 + return &_oil_function_class_convert_s16_f32;
1.1496 +}
1.1497 +#endif
1.1498 +
1.1499 +#ifdef __SYMBIAN32__
1.1500 +
1.1501 +OilFunctionClass* __oil_function_class_convert_s16_f64() {
1.1502 + return &_oil_function_class_convert_s16_f64;
1.1503 +}
1.1504 +#endif
1.1505 +
1.1506 +#ifdef __SYMBIAN32__
1.1507 +
1.1508 +OilFunctionClass* __oil_function_class_convert_u16_f32() {
1.1509 + return &_oil_function_class_convert_u16_f32;
1.1510 +}
1.1511 +#endif
1.1512 +
1.1513 +#ifdef __SYMBIAN32__
1.1514 +
1.1515 +OilFunctionClass* __oil_function_class_convert_u16_f64() {
1.1516 + return &_oil_function_class_convert_u16_f64;
1.1517 +}
1.1518 +#endif
1.1519 +
1.1520 +#ifdef __SYMBIAN32__
1.1521 +
1.1522 +OilFunctionClass* __oil_function_class_convert_s32_f64() {
1.1523 + return &_oil_function_class_convert_s32_f64;
1.1524 +}
1.1525 +#endif
1.1526 +
1.1527 +#ifdef __SYMBIAN32__
1.1528 +
1.1529 +OilFunctionClass* __oil_function_class_convert_u32_f64() {
1.1530 + return &_oil_function_class_convert_u32_f64;
1.1531 +}
1.1532 +#endif
1.1533 +
1.1534 +
1.1535 +
1.1536 +#ifdef __SYMBIAN32__
1.1537 +
1.1538 +EXPORT_C void** _oil_function_class_ptr_convert_s16_s8 () {
1.1539 + oil_function_class_ptr_convert_s16_s8 = __oil_function_class_convert_s16_s8();
1.1540 + return &oil_function_class_ptr_convert_s16_s8->func;
1.1541 + }
1.1542 +#endif
1.1543 +
1.1544 +#ifdef __SYMBIAN32__
1.1545 +
1.1546 +EXPORT_C void** _oil_function_class_ptr_convert_s16_u8 () {
1.1547 + oil_function_class_ptr_convert_s16_u8 = __oil_function_class_convert_s16_u8();
1.1548 + return &oil_function_class_ptr_convert_s16_u8->func;
1.1549 + }
1.1550 +#endif
1.1551 +
1.1552 +#ifdef __SYMBIAN32__
1.1553 +
1.1554 +EXPORT_C void** _oil_function_class_ptr_convert_s32_s8 () {
1.1555 + oil_function_class_ptr_convert_s32_s8 = __oil_function_class_convert_s32_s8();
1.1556 + return &oil_function_class_ptr_convert_s32_s8->func;
1.1557 + }
1.1558 +#endif
1.1559 +
1.1560 +#ifdef __SYMBIAN32__
1.1561 +
1.1562 +EXPORT_C void** _oil_function_class_ptr_convert_s32_u8 () {
1.1563 + oil_function_class_ptr_convert_s32_u8 = __oil_function_class_convert_s32_u8();
1.1564 + return &oil_function_class_ptr_convert_s32_u8->func;
1.1565 + }
1.1566 +#endif
1.1567 +
1.1568 +#ifdef __SYMBIAN32__
1.1569 +
1.1570 +EXPORT_C void** _oil_function_class_ptr_convert_s32_s16 () {
1.1571 + oil_function_class_ptr_convert_s32_s16 = __oil_function_class_convert_s32_s16();
1.1572 + return &oil_function_class_ptr_convert_s32_s16->func;
1.1573 + }
1.1574 +#endif
1.1575 +
1.1576 +#ifdef __SYMBIAN32__
1.1577 +
1.1578 +EXPORT_C void** _oil_function_class_ptr_convert_s32_u16 () {
1.1579 + oil_function_class_ptr_convert_s32_u16 = __oil_function_class_convert_s32_u16();
1.1580 + return &oil_function_class_ptr_convert_s32_u16->func;
1.1581 + }
1.1582 +#endif
1.1583 +
1.1584 +#ifdef __SYMBIAN32__
1.1585 +
1.1586 +EXPORT_C void** _oil_function_class_ptr_convert_u16_u8 () {
1.1587 + oil_function_class_ptr_convert_u16_u8 = __oil_function_class_convert_u16_u8();
1.1588 + return &oil_function_class_ptr_convert_u16_u8->func;
1.1589 + }
1.1590 +#endif
1.1591 +
1.1592 +#ifdef __SYMBIAN32__
1.1593 +
1.1594 +EXPORT_C void** _oil_function_class_ptr_convert_u32_u8 () {
1.1595 + oil_function_class_ptr_convert_u32_u8 = __oil_function_class_convert_u32_u8();
1.1596 + return &oil_function_class_ptr_convert_u32_u8->func;
1.1597 + }
1.1598 +#endif
1.1599 +
1.1600 +#ifdef __SYMBIAN32__
1.1601 +
1.1602 +EXPORT_C void** _oil_function_class_ptr_convert_u32_u16 () {
1.1603 + oil_function_class_ptr_convert_u32_u16 = __oil_function_class_convert_u32_u16();
1.1604 + return &oil_function_class_ptr_convert_u32_u16->func;
1.1605 + }
1.1606 +#endif
1.1607 +
1.1608 +#ifdef __SYMBIAN32__
1.1609 +
1.1610 +EXPORT_C void** _oil_function_class_ptr_convert_s8_u8 () {
1.1611 + oil_function_class_ptr_convert_s8_u8 = __oil_function_class_convert_s8_u8();
1.1612 + return &oil_function_class_ptr_convert_s8_u8->func;
1.1613 + }
1.1614 +#endif
1.1615 +
1.1616 +#ifdef __SYMBIAN32__
1.1617 +
1.1618 +EXPORT_C void** _oil_function_class_ptr_convert_s8_u16 () {
1.1619 + oil_function_class_ptr_convert_s8_u16 = __oil_function_class_convert_s8_u16();
1.1620 + return &oil_function_class_ptr_convert_s8_u16->func;
1.1621 + }
1.1622 +#endif
1.1623 +
1.1624 +#ifdef __SYMBIAN32__
1.1625 +
1.1626 +EXPORT_C void** _oil_function_class_ptr_convert_s8_u32 () {
1.1627 + oil_function_class_ptr_convert_s8_u32 = __oil_function_class_convert_s8_u32();
1.1628 + return &oil_function_class_ptr_convert_s8_u32->func;
1.1629 + }
1.1630 +#endif
1.1631 +
1.1632 +#ifdef __SYMBIAN32__
1.1633 +
1.1634 +EXPORT_C void** _oil_function_class_ptr_convert_u8_u32 () {
1.1635 + oil_function_class_ptr_convert_u8_u32 = __oil_function_class_convert_u8_u32();
1.1636 + return &oil_function_class_ptr_convert_u8_u32->func;
1.1637 + }
1.1638 +#endif
1.1639 +
1.1640 +#ifdef __SYMBIAN32__
1.1641 +
1.1642 +EXPORT_C void** _oil_function_class_ptr_convert_u8_u16 () {
1.1643 + oil_function_class_ptr_convert_u8_u16 = __oil_function_class_convert_u8_u16();
1.1644 + return &oil_function_class_ptr_convert_u8_u16->func;
1.1645 + }
1.1646 +#endif
1.1647 +
1.1648 +#ifdef __SYMBIAN32__
1.1649 +
1.1650 +EXPORT_C void** _oil_function_class_ptr_convert_s16_u16 () {
1.1651 + oil_function_class_ptr_convert_s16_u16 = __oil_function_class_convert_s16_u16();
1.1652 + return &oil_function_class_ptr_convert_s16_u16->func;
1.1653 + }
1.1654 +#endif
1.1655 +
1.1656 +#ifdef __SYMBIAN32__
1.1657 +
1.1658 +EXPORT_C void** _oil_function_class_ptr_convert_s16_u32 () {
1.1659 + oil_function_class_ptr_convert_s16_u32 = __oil_function_class_convert_s16_u32();
1.1660 + return &oil_function_class_ptr_convert_s16_u32->func;
1.1661 + }
1.1662 +#endif
1.1663 +
1.1664 +#ifdef __SYMBIAN32__
1.1665 +
1.1666 +EXPORT_C void** _oil_function_class_ptr_convert_s32_u32 () {
1.1667 + oil_function_class_ptr_convert_s32_u32 = __oil_function_class_convert_s32_u32();
1.1668 + return &oil_function_class_ptr_convert_s32_u32->func;
1.1669 + }
1.1670 +#endif
1.1671 +
1.1672 +#ifdef __SYMBIAN32__
1.1673 +
1.1674 +EXPORT_C void** _oil_function_class_ptr_convert_u16_u32 () {
1.1675 + oil_function_class_ptr_convert_u16_u32 = __oil_function_class_convert_u16_u32();
1.1676 + return &oil_function_class_ptr_convert_u16_u32->func;
1.1677 + }
1.1678 +#endif
1.1679 +
1.1680 +#ifdef __SYMBIAN32__
1.1681 +
1.1682 +EXPORT_C void** _oil_function_class_ptr_convert_s8_s16 () {
1.1683 + oil_function_class_ptr_convert_s8_s16 = __oil_function_class_convert_s8_s16();
1.1684 + return &oil_function_class_ptr_convert_s8_s16->func;
1.1685 + }
1.1686 +#endif
1.1687 +
1.1688 +#ifdef __SYMBIAN32__
1.1689 +
1.1690 +EXPORT_C void** _oil_function_class_ptr_convert_s8_s32 () {
1.1691 + oil_function_class_ptr_convert_s8_s32 = __oil_function_class_convert_s8_s32();
1.1692 + return &oil_function_class_ptr_convert_s8_s32->func;
1.1693 + }
1.1694 +#endif
1.1695 +
1.1696 +#ifdef __SYMBIAN32__
1.1697 +
1.1698 +EXPORT_C void** _oil_function_class_ptr_convert_u8_s16 () {
1.1699 + oil_function_class_ptr_convert_u8_s16 = __oil_function_class_convert_u8_s16();
1.1700 + return &oil_function_class_ptr_convert_u8_s16->func;
1.1701 + }
1.1702 +#endif
1.1703 +
1.1704 +#ifdef __SYMBIAN32__
1.1705 +
1.1706 +EXPORT_C void** _oil_function_class_ptr_convert_u8_s32 () {
1.1707 + oil_function_class_ptr_convert_u8_s32 = __oil_function_class_convert_u8_s32();
1.1708 + return &oil_function_class_ptr_convert_u8_s32->func;
1.1709 + }
1.1710 +#endif
1.1711 +
1.1712 +#ifdef __SYMBIAN32__
1.1713 +
1.1714 +EXPORT_C void** _oil_function_class_ptr_convert_s16_s32 () {
1.1715 + oil_function_class_ptr_convert_s16_s32 = __oil_function_class_convert_s16_s32();
1.1716 + return &oil_function_class_ptr_convert_s16_s32->func;
1.1717 + }
1.1718 +#endif
1.1719 +
1.1720 +#ifdef __SYMBIAN32__
1.1721 +
1.1722 +EXPORT_C void** _oil_function_class_ptr_convert_u16_s32 () {
1.1723 + oil_function_class_ptr_convert_u16_s32 = __oil_function_class_convert_u16_s32();
1.1724 + return &oil_function_class_ptr_convert_u16_s32->func;
1.1725 + }
1.1726 +#endif
1.1727 +
1.1728 +#ifdef __SYMBIAN32__
1.1729 +
1.1730 +EXPORT_C void** _oil_function_class_ptr_convert_u8_s8 () {
1.1731 + oil_function_class_ptr_convert_u8_s8 = __oil_function_class_convert_u8_s8();
1.1732 + return &oil_function_class_ptr_convert_u8_s8->func;
1.1733 + }
1.1734 +#endif
1.1735 +
1.1736 +#ifdef __SYMBIAN32__
1.1737 +
1.1738 +EXPORT_C void** _oil_function_class_ptr_convert_u16_s16 () {
1.1739 + oil_function_class_ptr_convert_u16_s16 = __oil_function_class_convert_u16_s16();
1.1740 + return &oil_function_class_ptr_convert_u16_s16->func;
1.1741 + }
1.1742 +#endif
1.1743 +
1.1744 +#ifdef __SYMBIAN32__
1.1745 +
1.1746 +EXPORT_C void** _oil_function_class_ptr_convert_u32_s32 () {
1.1747 + oil_function_class_ptr_convert_u32_s32 = __oil_function_class_convert_u32_s32();
1.1748 + return &oil_function_class_ptr_convert_u32_s32->func;
1.1749 + }
1.1750 +#endif
1.1751 +
1.1752 +#ifdef __SYMBIAN32__
1.1753 +
1.1754 +EXPORT_C void** _oil_function_class_ptr_convert_s8_f32 () {
1.1755 + oil_function_class_ptr_convert_s8_f32 = __oil_function_class_convert_s8_f32();
1.1756 + return &oil_function_class_ptr_convert_s8_f32->func;
1.1757 + }
1.1758 +#endif
1.1759 +
1.1760 +#ifdef __SYMBIAN32__
1.1761 +
1.1762 +EXPORT_C void** _oil_function_class_ptr_convert_s8_f64 () {
1.1763 + oil_function_class_ptr_convert_s8_f64 = __oil_function_class_convert_s8_f64();
1.1764 + return &oil_function_class_ptr_convert_s8_f64->func;
1.1765 + }
1.1766 +#endif
1.1767 +
1.1768 +#ifdef __SYMBIAN32__
1.1769 +
1.1770 +EXPORT_C void** _oil_function_class_ptr_convert_u8_f32 () {
1.1771 + oil_function_class_ptr_convert_u8_f32 = __oil_function_class_convert_u8_f32();
1.1772 + return &oil_function_class_ptr_convert_u8_f32->func;
1.1773 + }
1.1774 +#endif
1.1775 +
1.1776 +#ifdef __SYMBIAN32__
1.1777 +
1.1778 +EXPORT_C void** _oil_function_class_ptr_convert_u8_f64 () {
1.1779 + oil_function_class_ptr_convert_u8_f64 = __oil_function_class_convert_u8_f64();
1.1780 + return &oil_function_class_ptr_convert_u8_f64->func;
1.1781 + }
1.1782 +#endif
1.1783 +
1.1784 +#ifdef __SYMBIAN32__
1.1785 +
1.1786 +EXPORT_C void** _oil_function_class_ptr_convert_s16_f32 () {
1.1787 + oil_function_class_ptr_convert_s16_f32 = __oil_function_class_convert_s16_f32();
1.1788 + return &oil_function_class_ptr_convert_s16_f32->func;
1.1789 + }
1.1790 +#endif
1.1791 +
1.1792 +#ifdef __SYMBIAN32__
1.1793 +
1.1794 +EXPORT_C void** _oil_function_class_ptr_convert_s16_f64 () {
1.1795 + oil_function_class_ptr_convert_s16_f64 = __oil_function_class_convert_s16_f64();
1.1796 + return &oil_function_class_ptr_convert_s16_f64->func;
1.1797 + }
1.1798 +#endif
1.1799 +
1.1800 +#ifdef __SYMBIAN32__
1.1801 +
1.1802 +EXPORT_C void** _oil_function_class_ptr_convert_u16_f32 () {
1.1803 + oil_function_class_ptr_convert_u16_f32 = __oil_function_class_convert_u16_f32();
1.1804 + return &oil_function_class_ptr_convert_u16_f32->func;
1.1805 + }
1.1806 +#endif
1.1807 +
1.1808 +#ifdef __SYMBIAN32__
1.1809 +
1.1810 +EXPORT_C void** _oil_function_class_ptr_convert_u16_f64 () {
1.1811 + oil_function_class_ptr_convert_u16_f64 = __oil_function_class_convert_u16_f64();
1.1812 + return &oil_function_class_ptr_convert_u16_f64->func;
1.1813 + }
1.1814 +#endif
1.1815 +
1.1816 +#ifdef __SYMBIAN32__
1.1817 +
1.1818 +EXPORT_C void** _oil_function_class_ptr_convert_s32_f64 () {
1.1819 + oil_function_class_ptr_convert_s32_f64 = __oil_function_class_convert_s32_f64();
1.1820 + return &oil_function_class_ptr_convert_s32_f64->func;
1.1821 + }
1.1822 +#endif
1.1823 +
1.1824 +#ifdef __SYMBIAN32__
1.1825 +
1.1826 +EXPORT_C void** _oil_function_class_ptr_convert_u32_f64 () {
1.1827 + oil_function_class_ptr_convert_u32_f64 = __oil_function_class_convert_u32_f64();
1.1828 + return &oil_function_class_ptr_convert_u32_f64->func;
1.1829 + }
1.1830 +#endif
1.1831 +