os/ossrv/genericopenlibs/liboil/src/conv/conv_c.c
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/genericopenlibs/liboil/src/conv/conv_c.c	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,2172 @@
     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 <liboil/liboilfunction.h>
    1.36 +#include "liboil/conv/conv.h"
    1.37 +
    1.38 +#include <math.h>
    1.39 +
    1.40 +#ifdef __SYMBIAN32__
    1.41 +#ifdef __WINSCW__
    1.42 +#pragma warn_emptydecl off
    1.43 +#endif//__WINSCW__
    1.44 +#endif//__SYMBIAN32__
    1.45 +
    1.46 +#define CONV_DEFINE_CAST(desttype,srctype) \
    1.47 +static void conv_ ## desttype ## _ ## srctype ## _c ( \
    1.48 +    oil_type_ ## desttype *dest,    \
    1.49 +    int dest_stride,        \
    1.50 +    const oil_type_ ## srctype *src, \
    1.51 +    int src_stride, int n)      \
    1.52 +{                   \
    1.53 +    int i;              \
    1.54 +    for(i=0;i<n;i++){       \
    1.55 +        *dest = *src;       \
    1.56 +        dest = OIL_OFFSET(dest, dest_stride);   \
    1.57 +        src = OIL_OFFSET(src, src_stride);  \
    1.58 +    }               \
    1.59 +}                   \
    1.60 +OIL_DEFINE_IMPL(conv_ ## desttype ## _ ## srctype ## _c,    \
    1.61 +    conv_ ## desttype ## _ ## srctype);
    1.62 +
    1.63 +#ifdef HAVE_RINT
    1.64 +#define CONV_DEFINE_FLOAT(desttype,srctype) \
    1.65 +static void conv_ ## desttype ## _ ## srctype ## _c ( \
    1.66 +    oil_type_ ## desttype *dest,    \
    1.67 +    int dest_stride,        \
    1.68 +    const oil_type_ ## srctype *src, \
    1.69 +    int src_stride, int n)      \
    1.70 +{                   \
    1.71 +    int i;              \
    1.72 +    for(i=0;i<n;i++){       \
    1.73 +        *dest = rint(*src); \
    1.74 +        dest = OIL_OFFSET(dest, dest_stride);   \
    1.75 +        src = OIL_OFFSET(src, src_stride);  \
    1.76 +    }               \
    1.77 +}                   \
    1.78 +OIL_DEFINE_IMPL(conv_ ## desttype ## _ ## srctype ## _c,    \
    1.79 +    conv_ ## desttype ## _ ## srctype);
    1.80 +#else
    1.81 +#define CONV_DEFINE_FLOAT(desttype,srctype)
    1.82 +#endif
    1.83 +
    1.84 +CONV_DEFINE_CAST(s8,u8);
    1.85 +#ifdef	__SYMBIAN32__
    1.86 + 
    1.87 +OilFunctionImpl* __oil_function_impl_conv_s8_u8_c() {
    1.88 +        return &_oil_function_impl_conv_s8_u8_c;
    1.89 +}
    1.90 +#endif
    1.91 +
    1.92 +CONV_DEFINE_CAST(s8,s16);
    1.93 +#ifdef	__SYMBIAN32__
    1.94 + 
    1.95 +OilFunctionImpl* __oil_function_impl_conv_s8_s16_c() {
    1.96 +        return &_oil_function_impl_conv_s8_s16_c;
    1.97 +}
    1.98 +#endif
    1.99 +
   1.100 +CONV_DEFINE_CAST(s8,u16);
   1.101 +#ifdef	__SYMBIAN32__
   1.102 + 
   1.103 +OilFunctionImpl* __oil_function_impl_conv_s8_u16_c() {
   1.104 +        return &_oil_function_impl_conv_s8_u16_c;
   1.105 +}
   1.106 +#endif
   1.107 +
   1.108 +CONV_DEFINE_CAST(s8,s32);
   1.109 +#ifdef	__SYMBIAN32__
   1.110 + 
   1.111 +OilFunctionImpl* __oil_function_impl_conv_s8_s32_c() {
   1.112 +        return &_oil_function_impl_conv_s8_s32_c;
   1.113 +}
   1.114 +#endif
   1.115 +
   1.116 +CONV_DEFINE_CAST(s8,u32);
   1.117 +#ifdef	__SYMBIAN32__
   1.118 + 
   1.119 +OilFunctionImpl* __oil_function_impl_conv_s8_u32_c() {
   1.120 +        return &_oil_function_impl_conv_s8_u32_c;
   1.121 +}
   1.122 +#endif
   1.123 +
   1.124 +CONV_DEFINE_FLOAT(s8,f32);
   1.125 +#ifdef	__SYMBIAN32__
   1.126 + 
   1.127 +OilFunctionImpl* __oil_function_impl_conv_s8_f32_c() {
   1.128 +        return &_oil_function_impl_conv_s8_f32_c;
   1.129 +}
   1.130 +#endif
   1.131 +
   1.132 +CONV_DEFINE_FLOAT(s8,f64);
   1.133 +#ifdef	__SYMBIAN32__
   1.134 + 
   1.135 +OilFunctionImpl* __oil_function_impl_conv_s8_f64_c() {
   1.136 +        return &_oil_function_impl_conv_s8_f64_c;
   1.137 +}
   1.138 +#endif
   1.139 +
   1.140 +CONV_DEFINE_CAST(u8,s8);
   1.141 +#ifdef	__SYMBIAN32__
   1.142 + 
   1.143 +OilFunctionImpl* __oil_function_impl_conv_u8_s8_c() {
   1.144 +        return &_oil_function_impl_conv_u8_s8_c;
   1.145 +}
   1.146 +#endif
   1.147 +
   1.148 +CONV_DEFINE_CAST(u8,s16);
   1.149 +#ifdef	__SYMBIAN32__
   1.150 + 
   1.151 +OilFunctionImpl* __oil_function_impl_conv_u8_s16_c() {
   1.152 +        return &_oil_function_impl_conv_u8_s16_c;
   1.153 +}
   1.154 +#endif
   1.155 +
   1.156 +CONV_DEFINE_CAST(u8,u16);
   1.157 +#ifdef	__SYMBIAN32__
   1.158 + 
   1.159 +OilFunctionImpl* __oil_function_impl_conv_u8_u16_c() {
   1.160 +        return &_oil_function_impl_conv_u8_u16_c;
   1.161 +}
   1.162 +#endif
   1.163 +
   1.164 +CONV_DEFINE_CAST(u8,s32);
   1.165 +#ifdef	__SYMBIAN32__
   1.166 + 
   1.167 +OilFunctionImpl* __oil_function_impl_conv_u8_s32_c() {
   1.168 +        return &_oil_function_impl_conv_u8_s32_c;
   1.169 +}
   1.170 +#endif
   1.171 +
   1.172 +CONV_DEFINE_CAST(u8,u32);
   1.173 +#ifdef	__SYMBIAN32__
   1.174 + 
   1.175 +OilFunctionImpl* __oil_function_impl_conv_u8_u32_c() {
   1.176 +        return &_oil_function_impl_conv_u8_u32_c;
   1.177 +}
   1.178 +#endif
   1.179 +
   1.180 +CONV_DEFINE_FLOAT(u8,f32);
   1.181 +#ifdef	__SYMBIAN32__
   1.182 + 
   1.183 +OilFunctionImpl* __oil_function_impl_conv_u8_f32_c() {
   1.184 +        return &_oil_function_impl_conv_u8_f32_c;
   1.185 +}
   1.186 +#endif
   1.187 +
   1.188 +CONV_DEFINE_FLOAT(u8,f64);
   1.189 +#ifdef	__SYMBIAN32__
   1.190 + 
   1.191 +OilFunctionImpl* __oil_function_impl_conv_u8_f64_c() {
   1.192 +        return &_oil_function_impl_conv_u8_f64_c;
   1.193 +}
   1.194 +#endif
   1.195 +
   1.196 +CONV_DEFINE_CAST(s16,s8)
   1.197 +#ifdef	__SYMBIAN32__
   1.198 + 
   1.199 +OilFunctionImpl* __oil_function_impl_conv_s16_s8_c() {
   1.200 +        return &_oil_function_impl_conv_s16_s8_c;
   1.201 +}
   1.202 +#endif
   1.203 +
   1.204 +CONV_DEFINE_CAST(s16,u8)
   1.205 +#ifdef	__SYMBIAN32__
   1.206 + 
   1.207 +OilFunctionImpl* __oil_function_impl_conv_s16_u8_c() {
   1.208 +        return &_oil_function_impl_conv_s16_u8_c;
   1.209 +}
   1.210 +#endif
   1.211 +
   1.212 +CONV_DEFINE_CAST(s16,u16);
   1.213 +#ifdef	__SYMBIAN32__
   1.214 + 
   1.215 +OilFunctionImpl* __oil_function_impl_conv_s16_u16_c() {
   1.216 +        return &_oil_function_impl_conv_s16_u16_c;
   1.217 +}
   1.218 +#endif
   1.219 +
   1.220 +CONV_DEFINE_CAST(s16,s32);
   1.221 +#ifdef	__SYMBIAN32__
   1.222 + 
   1.223 +OilFunctionImpl* __oil_function_impl_conv_s16_s32_c() {
   1.224 +        return &_oil_function_impl_conv_s16_s32_c;
   1.225 +}
   1.226 +#endif
   1.227 +
   1.228 +CONV_DEFINE_CAST(s16,u32);
   1.229 +#ifdef	__SYMBIAN32__
   1.230 + 
   1.231 +OilFunctionImpl* __oil_function_impl_conv_s16_u32_c() {
   1.232 +        return &_oil_function_impl_conv_s16_u32_c;
   1.233 +}
   1.234 +#endif
   1.235 +
   1.236 +CONV_DEFINE_FLOAT(s16,f32);
   1.237 +#ifdef	__SYMBIAN32__
   1.238 + 
   1.239 +OilFunctionImpl* __oil_function_impl_conv_s16_f32_c() {
   1.240 +        return &_oil_function_impl_conv_s16_f32_c;
   1.241 +}
   1.242 +#endif
   1.243 +
   1.244 +CONV_DEFINE_FLOAT(s16,f64);
   1.245 +#ifdef	__SYMBIAN32__
   1.246 + 
   1.247 +OilFunctionImpl* __oil_function_impl_conv_s16_f64_c() {
   1.248 +        return &_oil_function_impl_conv_s16_f64_c;
   1.249 +}
   1.250 +#endif
   1.251 +
   1.252 +CONV_DEFINE_CAST(u16,s8)
   1.253 +#ifdef	__SYMBIAN32__
   1.254 + 
   1.255 +OilFunctionImpl* __oil_function_impl_conv_u16_s8_c() {
   1.256 +        return &_oil_function_impl_conv_u16_s8_c;
   1.257 +}
   1.258 +#endif
   1.259 +
   1.260 +CONV_DEFINE_CAST(u16,u8)
   1.261 +#ifdef	__SYMBIAN32__
   1.262 + 
   1.263 +OilFunctionImpl* __oil_function_impl_conv_u16_u8_c() {
   1.264 +        return &_oil_function_impl_conv_u16_u8_c;
   1.265 +}
   1.266 +#endif
   1.267 +
   1.268 +CONV_DEFINE_CAST(u16,s16);
   1.269 +#ifdef	__SYMBIAN32__
   1.270 + 
   1.271 +OilFunctionImpl* __oil_function_impl_conv_u16_s16_c() {
   1.272 +        return &_oil_function_impl_conv_u16_s16_c;
   1.273 +}
   1.274 +#endif
   1.275 +
   1.276 +CONV_DEFINE_CAST(u16,s32);
   1.277 +#ifdef	__SYMBIAN32__
   1.278 + 
   1.279 +OilFunctionImpl* __oil_function_impl_conv_u16_s32_c() {
   1.280 +        return &_oil_function_impl_conv_u16_s32_c;
   1.281 +}
   1.282 +#endif
   1.283 +
   1.284 +CONV_DEFINE_CAST(u16,u32);
   1.285 +#ifdef	__SYMBIAN32__
   1.286 + 
   1.287 +OilFunctionImpl* __oil_function_impl_conv_u16_u32_c() {
   1.288 +        return &_oil_function_impl_conv_u16_u32_c;
   1.289 +}
   1.290 +#endif
   1.291 +
   1.292 +CONV_DEFINE_FLOAT(u16,f32);
   1.293 +#ifdef	__SYMBIAN32__
   1.294 + 
   1.295 +OilFunctionImpl* __oil_function_impl_conv_u16_f32_c() {
   1.296 +        return &_oil_function_impl_conv_u16_f32_c;
   1.297 +}
   1.298 +#endif
   1.299 +
   1.300 +CONV_DEFINE_FLOAT(u16,f64);
   1.301 +#ifdef	__SYMBIAN32__
   1.302 + 
   1.303 +OilFunctionImpl* __oil_function_impl_conv_u16_f64_c() {
   1.304 +        return &_oil_function_impl_conv_u16_f64_c;
   1.305 +}
   1.306 +#endif
   1.307 +
   1.308 +
   1.309 +CONV_DEFINE_CAST(s32,s8)
   1.310 +#ifdef	__SYMBIAN32__
   1.311 + 
   1.312 +OilFunctionImpl* __oil_function_impl_conv_s32_s8_c() {
   1.313 +        return &_oil_function_impl_conv_s32_s8_c;
   1.314 +}
   1.315 +#endif
   1.316 +
   1.317 +CONV_DEFINE_CAST(s32,s16)
   1.318 +#ifdef	__SYMBIAN32__
   1.319 + 
   1.320 +OilFunctionImpl* __oil_function_impl_conv_s32_s16_c() {
   1.321 +        return &_oil_function_impl_conv_s32_s16_c;
   1.322 +}
   1.323 +#endif
   1.324 +
   1.325 +CONV_DEFINE_CAST(s32,u8)
   1.326 +#ifdef	__SYMBIAN32__
   1.327 + 
   1.328 +OilFunctionImpl* __oil_function_impl_conv_s32_u8_c() {
   1.329 +        return &_oil_function_impl_conv_s32_u8_c;
   1.330 +}
   1.331 +#endif
   1.332 +
   1.333 +CONV_DEFINE_CAST(s32,u16)
   1.334 +#ifdef	__SYMBIAN32__
   1.335 + 
   1.336 +OilFunctionImpl* __oil_function_impl_conv_s32_u16_c() {
   1.337 +        return &_oil_function_impl_conv_s32_u16_c;
   1.338 +}
   1.339 +#endif
   1.340 +
   1.341 +CONV_DEFINE_CAST(s32,u32);
   1.342 +#ifdef	__SYMBIAN32__
   1.343 + 
   1.344 +OilFunctionImpl* __oil_function_impl_conv_s32_u32_c() {
   1.345 +        return &_oil_function_impl_conv_s32_u32_c;
   1.346 +}
   1.347 +#endif
   1.348 +
   1.349 +CONV_DEFINE_FLOAT(s32,f32);
   1.350 +#ifdef	__SYMBIAN32__
   1.351 + 
   1.352 +OilFunctionImpl* __oil_function_impl_conv_s32_f32_c() {
   1.353 +        return &_oil_function_impl_conv_s32_f32_c;
   1.354 +}
   1.355 +#endif
   1.356 +
   1.357 +CONV_DEFINE_FLOAT(s32,f64);
   1.358 +#ifdef	__SYMBIAN32__
   1.359 + 
   1.360 +OilFunctionImpl* __oil_function_impl_conv_s32_f64_c() {
   1.361 +        return &_oil_function_impl_conv_s32_f64_c;
   1.362 +}
   1.363 +#endif
   1.364 +
   1.365 +CONV_DEFINE_CAST(u32,s8)
   1.366 +#ifdef	__SYMBIAN32__
   1.367 + 
   1.368 +OilFunctionImpl* __oil_function_impl_conv_u32_s8_c() {
   1.369 +        return &_oil_function_impl_conv_u32_s8_c;
   1.370 +}
   1.371 +#endif
   1.372 +
   1.373 +CONV_DEFINE_CAST(u32,s16)
   1.374 +#ifdef	__SYMBIAN32__
   1.375 + 
   1.376 +OilFunctionImpl* __oil_function_impl_conv_u32_s16_c() {
   1.377 +        return &_oil_function_impl_conv_u32_s16_c;
   1.378 +}
   1.379 +#endif
   1.380 +
   1.381 +CONV_DEFINE_CAST(u32,u8)
   1.382 +#ifdef	__SYMBIAN32__
   1.383 + 
   1.384 +OilFunctionImpl* __oil_function_impl_conv_u32_u8_c() {
   1.385 +        return &_oil_function_impl_conv_u32_u8_c;
   1.386 +}
   1.387 +#endif
   1.388 +
   1.389 +CONV_DEFINE_CAST(u32,u16)
   1.390 +#ifdef	__SYMBIAN32__
   1.391 + 
   1.392 +OilFunctionImpl* __oil_function_impl_conv_u32_u16_c() {
   1.393 +        return &_oil_function_impl_conv_u32_u16_c;
   1.394 +}
   1.395 +#endif
   1.396 +
   1.397 +CONV_DEFINE_CAST(u32,s32);
   1.398 +#ifdef	__SYMBIAN32__
   1.399 + 
   1.400 +OilFunctionImpl* __oil_function_impl_conv_u32_s32_c() {
   1.401 +        return &_oil_function_impl_conv_u32_s32_c;
   1.402 +}
   1.403 +#endif
   1.404 +
   1.405 +CONV_DEFINE_FLOAT(u32,f32);
   1.406 +#ifdef	__SYMBIAN32__
   1.407 + 
   1.408 +OilFunctionImpl* __oil_function_impl_conv_u32_f32_c() {
   1.409 +        return &_oil_function_impl_conv_u32_f32_c;
   1.410 +}
   1.411 +#endif
   1.412 +
   1.413 +CONV_DEFINE_FLOAT(u32,f64);
   1.414 +#ifdef	__SYMBIAN32__
   1.415 + 
   1.416 +OilFunctionImpl* __oil_function_impl_conv_u32_f64_c() {
   1.417 +        return &_oil_function_impl_conv_u32_f64_c;
   1.418 +}
   1.419 +#endif
   1.420 +
   1.421 +CONV_DEFINE_CAST(f32,s8)
   1.422 +#ifdef	__SYMBIAN32__
   1.423 + 
   1.424 +OilFunctionImpl* __oil_function_impl_conv_f32_s8_c() {
   1.425 +        return &_oil_function_impl_conv_f32_s8_c;
   1.426 +}
   1.427 +#endif
   1.428 +
   1.429 +CONV_DEFINE_CAST(f32,s16)
   1.430 +#ifdef	__SYMBIAN32__
   1.431 + 
   1.432 +OilFunctionImpl* __oil_function_impl_conv_f32_s16_c() {
   1.433 +        return &_oil_function_impl_conv_f32_s16_c;
   1.434 +}
   1.435 +#endif
   1.436 +
   1.437 +CONV_DEFINE_CAST(f32,u8)
   1.438 +#ifdef	__SYMBIAN32__
   1.439 + 
   1.440 +OilFunctionImpl* __oil_function_impl_conv_f32_u8_c() {
   1.441 +        return &_oil_function_impl_conv_f32_u8_c;
   1.442 +}
   1.443 +#endif
   1.444 +
   1.445 +CONV_DEFINE_CAST(f32,u16)
   1.446 +#ifdef	__SYMBIAN32__
   1.447 + 
   1.448 +OilFunctionImpl* __oil_function_impl_conv_f32_u16_c() {
   1.449 +        return &_oil_function_impl_conv_f32_u16_c;
   1.450 +}
   1.451 +#endif
   1.452 +
   1.453 +CONV_DEFINE_CAST(f32,s32);
   1.454 +#ifdef	__SYMBIAN32__
   1.455 + 
   1.456 +OilFunctionImpl* __oil_function_impl_conv_f32_s32_c() {
   1.457 +        return &_oil_function_impl_conv_f32_s32_c;
   1.458 +}
   1.459 +#endif
   1.460 +
   1.461 +CONV_DEFINE_CAST(f32,u32);
   1.462 +#ifdef	__SYMBIAN32__
   1.463 + 
   1.464 +OilFunctionImpl* __oil_function_impl_conv_f32_u32_c() {
   1.465 +        return &_oil_function_impl_conv_f32_u32_c;
   1.466 +}
   1.467 +#endif
   1.468 +
   1.469 +CONV_DEFINE_CAST(f32,f64);
   1.470 +#ifdef	__SYMBIAN32__
   1.471 + 
   1.472 +OilFunctionImpl* __oil_function_impl_conv_f32_f64_c() {
   1.473 +        return &_oil_function_impl_conv_f32_f64_c;
   1.474 +}
   1.475 +#endif
   1.476 +
   1.477 +CONV_DEFINE_CAST(f64,s8)
   1.478 +#ifdef	__SYMBIAN32__
   1.479 + 
   1.480 +OilFunctionImpl* __oil_function_impl_conv_f64_s8_c() {
   1.481 +        return &_oil_function_impl_conv_f64_s8_c;
   1.482 +}
   1.483 +#endif
   1.484 +
   1.485 +CONV_DEFINE_CAST(f64,u8)
   1.486 +#ifdef	__SYMBIAN32__
   1.487 + 
   1.488 +OilFunctionImpl* __oil_function_impl_conv_f64_u8_c() {
   1.489 +        return &_oil_function_impl_conv_f64_u8_c;
   1.490 +}
   1.491 +#endif
   1.492 +
   1.493 +CONV_DEFINE_CAST(f64,s16)
   1.494 +#ifdef	__SYMBIAN32__
   1.495 + 
   1.496 +OilFunctionImpl* __oil_function_impl_conv_f64_s16_c() {
   1.497 +        return &_oil_function_impl_conv_f64_s16_c;
   1.498 +}
   1.499 +#endif
   1.500 +
   1.501 +CONV_DEFINE_CAST(f64,u16)
   1.502 +#ifdef	__SYMBIAN32__
   1.503 + 
   1.504 +OilFunctionImpl* __oil_function_impl_conv_f64_u16_c() {
   1.505 +        return &_oil_function_impl_conv_f64_u16_c;
   1.506 +}
   1.507 +#endif
   1.508 +
   1.509 +CONV_DEFINE_CAST(f64,s32)
   1.510 +#ifdef	__SYMBIAN32__
   1.511 + 
   1.512 +OilFunctionImpl* __oil_function_impl_conv_f64_s32_c() {
   1.513 +        return &_oil_function_impl_conv_f64_s32_c;
   1.514 +}
   1.515 +#endif
   1.516 +
   1.517 +CONV_DEFINE_CAST(f64,u32)
   1.518 +#ifdef	__SYMBIAN32__
   1.519 + 
   1.520 +OilFunctionImpl* __oil_function_impl_conv_f64_u32_c() {
   1.521 +        return &_oil_function_impl_conv_f64_u32_c;
   1.522 +}
   1.523 +#endif
   1.524 +
   1.525 +CONV_DEFINE_CAST(f64,f32)
   1.526 +#ifdef	__SYMBIAN32__
   1.527 + 
   1.528 +OilFunctionImpl* __oil_function_impl_conv_f64_f32_c() {
   1.529 +        return &_oil_function_impl_conv_f64_f32_c;
   1.530 +}
   1.531 +#endif
   1.532 +
   1.533 +
   1.534 +
   1.535 +
   1.536 +#define CLIPCONV_DEFINE_BOTH(desttype,srctype) \
   1.537 +static void clipconv_ ## desttype ## _ ## srctype ## _c ( \
   1.538 +    oil_type_ ## desttype *dest,    \
   1.539 +    int dest_stride,        \
   1.540 +    const oil_type_ ## srctype *src,    \
   1.541 +    int src_stride, int n)      \
   1.542 +{                   \
   1.543 +    int i;              \
   1.544 +    oil_type_ ## srctype x;     \
   1.545 +    for(i=0;i<n;i++){       \
   1.546 +        x = *src;       \
   1.547 +        if(x<oil_type_min_ ## desttype) x=oil_type_min_ ## desttype;    \
   1.548 +        if(x>oil_type_max_ ## desttype) x=oil_type_max_ ## desttype;    \
   1.549 +        *dest = x;      \
   1.550 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.551 +        src = OIL_OFFSET(src, src_stride);  \
   1.552 +    }               \
   1.553 +}                   \
   1.554 +OIL_DEFINE_IMPL(clipconv_ ## desttype ## _ ## srctype ## _c,    \
   1.555 +    clipconv_ ## desttype ## _ ## srctype);
   1.556 +
   1.557 +#define CLIPCONV_DEFINE_UPPER(desttype,srctype) \
   1.558 +static void clipconv_ ## desttype ## _ ## srctype ## _c ( \
   1.559 +    oil_type_ ## desttype *dest,    \
   1.560 +    int dest_stride,        \
   1.561 +    const oil_type_ ## srctype *src,    \
   1.562 +    int src_stride, int n)      \
   1.563 +{                   \
   1.564 +    int i;              \
   1.565 +    oil_type_ ## srctype x;     \
   1.566 +    for(i=0;i<n;i++){       \
   1.567 +        x = *src;       \
   1.568 +        if(x>oil_type_max_ ## desttype) x=oil_type_max_ ## desttype;    \
   1.569 +        *dest = x;      \
   1.570 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.571 +        src = OIL_OFFSET(src, src_stride);  \
   1.572 +    }               \
   1.573 +}                   \
   1.574 +OIL_DEFINE_IMPL(clipconv_ ## desttype ## _ ## srctype ## _c,    \
   1.575 +    clipconv_ ## desttype ## _ ## srctype);
   1.576 +
   1.577 +#define CLIPCONV_DEFINE_LOWER(desttype,srctype) \
   1.578 +static void clipconv_ ## desttype ## _ ## srctype ## _c ( \
   1.579 +    oil_type_ ## desttype *dest,    \
   1.580 +    int dest_stride,        \
   1.581 +    const oil_type_ ## srctype *src,    \
   1.582 +    int src_stride, int n)      \
   1.583 +{                   \
   1.584 +    int i;              \
   1.585 +    oil_type_ ## srctype x;     \
   1.586 +    for(i=0;i<n;i++){       \
   1.587 +        x = *src;       \
   1.588 +        if(x<oil_type_min_ ## desttype) x=oil_type_min_ ## desttype;    \
   1.589 +        *dest = x;      \
   1.590 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.591 +        src = OIL_OFFSET(src, src_stride);  \
   1.592 +    }               \
   1.593 +}                   \
   1.594 +OIL_DEFINE_IMPL(clipconv_ ## desttype ## _ ## srctype ## _c,    \
   1.595 +    clipconv_ ## desttype ## _ ## srctype);
   1.596 +
   1.597 +#ifdef HAVE_RINT
   1.598 +#define CLIPCONV_DEFINE_FLOAT(desttype,srctype) \
   1.599 +static void clipconv_ ## desttype ## _ ## srctype ## _c ( \
   1.600 +    oil_type_ ## desttype *dest,    \
   1.601 +    int dest_stride,        \
   1.602 +    const oil_type_ ## srctype *src,    \
   1.603 +    int src_stride, int n)      \
   1.604 +{                   \
   1.605 +    int i;              \
   1.606 +    oil_type_ ## srctype x;     \
   1.607 +    for(i=0;i<n;i++){       \
   1.608 +        x = *src;       \
   1.609 +        if(x<oil_type_min_ ## desttype) x=oil_type_min_ ## desttype;    \
   1.610 +        if(x>oil_type_max_ ## desttype) x=oil_type_max_ ## desttype;    \
   1.611 +        *dest = rint(x);    \
   1.612 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.613 +        src = OIL_OFFSET(src, src_stride);  \
   1.614 +    }               \
   1.615 +}                   \
   1.616 +OIL_DEFINE_IMPL(clipconv_ ## desttype ## _ ## srctype ## _c,    \
   1.617 +    clipconv_ ## desttype ## _ ## srctype);
   1.618 +#else
   1.619 +#define CLIPCONV_DEFINE_FLOAT(desttype,srctype)
   1.620 +#endif
   1.621 +
   1.622 +/* clip upper */
   1.623 +CLIPCONV_DEFINE_UPPER(s8,u8);
   1.624 +CLIPCONV_DEFINE_UPPER(s8,u16);
   1.625 +CLIPCONV_DEFINE_UPPER(s8,u32);
   1.626 +CLIPCONV_DEFINE_UPPER(u8,u32);
   1.627 +CLIPCONV_DEFINE_UPPER(u8,u16);
   1.628 +CLIPCONV_DEFINE_UPPER(s16,u16);
   1.629 +CLIPCONV_DEFINE_UPPER(s16,u32);
   1.630 +CLIPCONV_DEFINE_UPPER(s32,u32);
   1.631 +CLIPCONV_DEFINE_UPPER(u16,u32);
   1.632 +
   1.633 +/* clip both */
   1.634 +CLIPCONV_DEFINE_BOTH(s8,s16);
   1.635 +CLIPCONV_DEFINE_BOTH(s8,s32);
   1.636 +CLIPCONV_DEFINE_BOTH(u8,s16);
   1.637 +CLIPCONV_DEFINE_BOTH(u8,s32);
   1.638 +CLIPCONV_DEFINE_BOTH(s16,s32);
   1.639 +CLIPCONV_DEFINE_BOTH(u16,s32);
   1.640 +
   1.641 +/* clip lower */
   1.642 +CLIPCONV_DEFINE_LOWER(u8,s8);
   1.643 +CLIPCONV_DEFINE_LOWER(u16,s16);
   1.644 +CLIPCONV_DEFINE_LOWER(u32,s32);
   1.645 +
   1.646 +/* clip both, float */
   1.647 +CLIPCONV_DEFINE_FLOAT(s8,f32);
   1.648 +CLIPCONV_DEFINE_FLOAT(s8,f64);
   1.649 +CLIPCONV_DEFINE_FLOAT(u8,f32);
   1.650 +CLIPCONV_DEFINE_FLOAT(u8,f64);
   1.651 +CLIPCONV_DEFINE_FLOAT(s16,f32);
   1.652 +CLIPCONV_DEFINE_FLOAT(s16,f64);
   1.653 +CLIPCONV_DEFINE_FLOAT(u16,f32);
   1.654 +CLIPCONV_DEFINE_FLOAT(u16,f64);
   1.655 +CLIPCONV_DEFINE_FLOAT(s32,f32);
   1.656 +CLIPCONV_DEFINE_FLOAT(s32,f64);
   1.657 +CLIPCONV_DEFINE_FLOAT(u32,f32);
   1.658 +CLIPCONV_DEFINE_FLOAT(u32,f64);
   1.659 +
   1.660 +
   1.661 +
   1.662 +
   1.663 +#define CONV_DEFINE_CAST_UNROLL2(desttype,srctype) \
   1.664 +static void conv_ ## desttype ## _ ## srctype ## _unroll2 ( \
   1.665 +    oil_type_ ## desttype *dest,    \
   1.666 +    int dest_stride,        \
   1.667 +    const oil_type_ ## srctype *src,        \
   1.668 +    int src_stride, int n)      \
   1.669 +{                   \
   1.670 +    int i;              \
   1.671 +    if(n&1){            \
   1.672 +        *dest = *src;               \
   1.673 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.674 +        src = OIL_OFFSET(src, src_stride);  \
   1.675 +    }               \
   1.676 +    n>>=1;              \
   1.677 +    for(i=0;i<n;i++){       \
   1.678 +        *dest = *src;               \
   1.679 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.680 +        src = OIL_OFFSET(src, src_stride);  \
   1.681 +        *dest = *src;               \
   1.682 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.683 +        src = OIL_OFFSET(src, src_stride);  \
   1.684 +    }               \
   1.685 +}                   \
   1.686 +OIL_DEFINE_IMPL(conv_ ## desttype ## _ ## srctype ## _unroll2,  \
   1.687 +    conv_ ## desttype ## _ ## srctype);
   1.688 +
   1.689 +#ifdef HAVE_RINT
   1.690 +#define CONV_DEFINE_FLOAT_UNROLL2(desttype,srctype) \
   1.691 +static void conv_ ## desttype ## _ ## srctype ## _unroll2 ( \
   1.692 +    oil_type_ ## desttype *dest,    \
   1.693 +    int dest_stride,        \
   1.694 +    const oil_type_ ## srctype *src,        \
   1.695 +    int src_stride, int n)      \
   1.696 +{                   \
   1.697 +    int i;              \
   1.698 +    if(n&1){            \
   1.699 +        *dest = rint(*src);         \
   1.700 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.701 +        src = OIL_OFFSET(src, src_stride);  \
   1.702 +    }               \
   1.703 +    n>>=1;              \
   1.704 +    for(i=0;i<n;i++){       \
   1.705 +        *dest = rint(*src);         \
   1.706 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.707 +        src = OIL_OFFSET(src, src_stride);  \
   1.708 +        *dest = rint(*src);         \
   1.709 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.710 +        src = OIL_OFFSET(src, src_stride);  \
   1.711 +    }               \
   1.712 +}                   \
   1.713 +OIL_DEFINE_IMPL(conv_ ## desttype ## _ ## srctype ## _unroll2,  \
   1.714 +    conv_ ## desttype ## _ ## srctype);
   1.715 +#else
   1.716 +#define CONV_DEFINE_FLOAT_UNROLL2(desttype,srctype)
   1.717 +#endif
   1.718 +
   1.719 +CONV_DEFINE_CAST_UNROLL2(s8,u8);
   1.720 +CONV_DEFINE_CAST_UNROLL2(s8,s16);
   1.721 +CONV_DEFINE_CAST_UNROLL2(s8,u16);
   1.722 +CONV_DEFINE_CAST_UNROLL2(s8,s32);
   1.723 +CONV_DEFINE_CAST_UNROLL2(s8,u32);
   1.724 +CONV_DEFINE_FLOAT_UNROLL2(s8,f32);
   1.725 +CONV_DEFINE_FLOAT_UNROLL2(s8,f64);
   1.726 +
   1.727 +CONV_DEFINE_CAST_UNROLL2(u8,s8);
   1.728 +CONV_DEFINE_CAST_UNROLL2(u8,s16);
   1.729 +CONV_DEFINE_CAST_UNROLL2(u8,u16);
   1.730 +CONV_DEFINE_CAST_UNROLL2(u8,s32);
   1.731 +CONV_DEFINE_CAST_UNROLL2(u8,u32);
   1.732 +CONV_DEFINE_FLOAT_UNROLL2(u8,f32);
   1.733 +CONV_DEFINE_FLOAT_UNROLL2(u8,f64);
   1.734 +
   1.735 +CONV_DEFINE_CAST_UNROLL2(s16,s8)
   1.736 +CONV_DEFINE_CAST_UNROLL2(s16,u8)
   1.737 +CONV_DEFINE_CAST_UNROLL2(s16,u16);
   1.738 +CONV_DEFINE_CAST_UNROLL2(s16,s32);
   1.739 +CONV_DEFINE_CAST_UNROLL2(s16,u32);
   1.740 +CONV_DEFINE_FLOAT_UNROLL2(s16,f32);
   1.741 +CONV_DEFINE_FLOAT_UNROLL2(s16,f64);
   1.742 +
   1.743 +CONV_DEFINE_CAST_UNROLL2(u16,s8)
   1.744 +CONV_DEFINE_CAST_UNROLL2(u16,u8)
   1.745 +CONV_DEFINE_CAST_UNROLL2(u16,s16);
   1.746 +CONV_DEFINE_CAST_UNROLL2(u16,s32);
   1.747 +CONV_DEFINE_CAST_UNROLL2(u16,u32);
   1.748 +CONV_DEFINE_FLOAT_UNROLL2(u16,f32);
   1.749 +CONV_DEFINE_FLOAT_UNROLL2(u16,f64);
   1.750 +
   1.751 +CONV_DEFINE_CAST_UNROLL2(s32,s8)
   1.752 +CONV_DEFINE_CAST_UNROLL2(s32,s16)
   1.753 +CONV_DEFINE_CAST_UNROLL2(s32,u8)
   1.754 +CONV_DEFINE_CAST_UNROLL2(s32,u16)
   1.755 +CONV_DEFINE_CAST_UNROLL2(s32,u32);
   1.756 +CONV_DEFINE_FLOAT_UNROLL2(s32,f32);
   1.757 +CONV_DEFINE_FLOAT_UNROLL2(s32,f64);
   1.758 +
   1.759 +CONV_DEFINE_CAST_UNROLL2(u32,s8)
   1.760 +CONV_DEFINE_CAST_UNROLL2(u32,s16)
   1.761 +CONV_DEFINE_CAST_UNROLL2(u32,u8)
   1.762 +CONV_DEFINE_CAST_UNROLL2(u32,u16)
   1.763 +CONV_DEFINE_CAST_UNROLL2(u32,s32);
   1.764 +CONV_DEFINE_FLOAT_UNROLL2(u32,f32);
   1.765 +CONV_DEFINE_FLOAT_UNROLL2(u32,f64);
   1.766 +
   1.767 +CONV_DEFINE_CAST_UNROLL2(f32,s8)
   1.768 +CONV_DEFINE_CAST_UNROLL2(f32,s16)
   1.769 +CONV_DEFINE_CAST_UNROLL2(f32,u8)
   1.770 +CONV_DEFINE_CAST_UNROLL2(f32,u16)
   1.771 +CONV_DEFINE_CAST_UNROLL2(f32,s32);
   1.772 +CONV_DEFINE_CAST_UNROLL2(f32,u32);
   1.773 +CONV_DEFINE_CAST_UNROLL2(f32,f64);
   1.774 +
   1.775 +CONV_DEFINE_CAST_UNROLL2(f64,s8)
   1.776 +CONV_DEFINE_CAST_UNROLL2(f64,u8)
   1.777 +CONV_DEFINE_CAST_UNROLL2(f64,s16)
   1.778 +CONV_DEFINE_CAST_UNROLL2(f64,u16)
   1.779 +CONV_DEFINE_CAST_UNROLL2(f64,s32)
   1.780 +CONV_DEFINE_CAST_UNROLL2(f64,u32)
   1.781 +CONV_DEFINE_CAST_UNROLL2(f64,f32)
   1.782 +
   1.783 +
   1.784 +
   1.785 +#define CONV_DEFINE_CAST_UNROLL4(desttype,srctype) \
   1.786 +static void conv_ ## desttype ## _ ## srctype ## _unroll4 ( \
   1.787 +    oil_type_ ## desttype *dest,    \
   1.788 +    int dest_stride,        \
   1.789 +    const oil_type_ ## srctype *src,        \
   1.790 +    int src_stride, int n)      \
   1.791 +{                   \
   1.792 +    int i;              \
   1.793 +    if(n&1){            \
   1.794 +        *dest = *src;               \
   1.795 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.796 +        src = OIL_OFFSET(src, src_stride);  \
   1.797 +    }               \
   1.798 +    if(n&2){            \
   1.799 +        *dest = *src;               \
   1.800 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.801 +        src = OIL_OFFSET(src, src_stride);  \
   1.802 +        *dest = *src;               \
   1.803 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.804 +        src = OIL_OFFSET(src, src_stride);  \
   1.805 +    }               \
   1.806 +    n>>=2;              \
   1.807 +    for(i=0;i<n;i++){       \
   1.808 +        *dest = *src;               \
   1.809 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.810 +        src = OIL_OFFSET(src, src_stride);  \
   1.811 +        *dest = *src;               \
   1.812 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.813 +        src = OIL_OFFSET(src, src_stride);  \
   1.814 +        *dest = *src;               \
   1.815 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.816 +        src = OIL_OFFSET(src, src_stride);  \
   1.817 +        *dest = *src;               \
   1.818 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.819 +        src = OIL_OFFSET(src, src_stride);  \
   1.820 +    }               \
   1.821 +}                   \
   1.822 +OIL_DEFINE_IMPL(conv_ ## desttype ## _ ## srctype ## _unroll4,  \
   1.823 +    conv_ ## desttype ## _ ## srctype);
   1.824 +
   1.825 +#ifdef HAVE_RINT
   1.826 +#define CONV_DEFINE_FLOAT_UNROLL4(desttype,srctype) \
   1.827 +static void conv_ ## desttype ## _ ## srctype ## _unroll4 ( \
   1.828 +    oil_type_ ## desttype *dest,    \
   1.829 +    int dest_stride,        \
   1.830 +    const oil_type_ ## srctype *src,        \
   1.831 +    int src_stride, int n)      \
   1.832 +{                   \
   1.833 +    int i;              \
   1.834 +    if(n&1){            \
   1.835 +        *dest = rint(*src);         \
   1.836 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.837 +        src = OIL_OFFSET(src, src_stride);  \
   1.838 +    }               \
   1.839 +    if(n&2){            \
   1.840 +        *dest = rint(*src);         \
   1.841 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.842 +        src = OIL_OFFSET(src, src_stride);  \
   1.843 +        *dest = rint(*src);         \
   1.844 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.845 +        src = OIL_OFFSET(src, src_stride);  \
   1.846 +    }               \
   1.847 +    n>>=2;              \
   1.848 +    for(i=0;i<n;i++){       \
   1.849 +        *dest = rint(*src);         \
   1.850 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.851 +        src = OIL_OFFSET(src, src_stride);  \
   1.852 +        *dest = rint(*src);         \
   1.853 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.854 +        src = OIL_OFFSET(src, src_stride);  \
   1.855 +        *dest = rint(*src);         \
   1.856 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.857 +        src = OIL_OFFSET(src, src_stride);  \
   1.858 +        *dest = rint(*src);         \
   1.859 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.860 +        src = OIL_OFFSET(src, src_stride);  \
   1.861 +    }               \
   1.862 +}                   \
   1.863 +OIL_DEFINE_IMPL(conv_ ## desttype ## _ ## srctype ## _unroll4,  \
   1.864 +    conv_ ## desttype ## _ ## srctype);
   1.865 +#else
   1.866 +#define CONV_DEFINE_FLOAT_UNROLL4(desttype,srctype)
   1.867 +#endif
   1.868 +
   1.869 +CONV_DEFINE_CAST_UNROLL4(s8,u8);
   1.870 +CONV_DEFINE_CAST_UNROLL4(s8,s16);
   1.871 +CONV_DEFINE_CAST_UNROLL4(s8,u16);
   1.872 +CONV_DEFINE_CAST_UNROLL4(s8,s32);
   1.873 +CONV_DEFINE_CAST_UNROLL4(s8,u32);
   1.874 +CONV_DEFINE_FLOAT_UNROLL4(s8,f32);
   1.875 +CONV_DEFINE_FLOAT_UNROLL4(s8,f64);
   1.876 +
   1.877 +CONV_DEFINE_CAST_UNROLL4(u8,s8);
   1.878 +CONV_DEFINE_CAST_UNROLL4(u8,s16);
   1.879 +CONV_DEFINE_CAST_UNROLL4(u8,u16);
   1.880 +CONV_DEFINE_CAST_UNROLL4(u8,s32);
   1.881 +CONV_DEFINE_CAST_UNROLL4(u8,u32);
   1.882 +CONV_DEFINE_FLOAT_UNROLL4(u8,f32);
   1.883 +CONV_DEFINE_FLOAT_UNROLL4(u8,f64);
   1.884 +
   1.885 +CONV_DEFINE_CAST_UNROLL4(s16,s8)
   1.886 +CONV_DEFINE_CAST_UNROLL4(s16,u8)
   1.887 +CONV_DEFINE_CAST_UNROLL4(s16,u16);
   1.888 +CONV_DEFINE_CAST_UNROLL4(s16,s32);
   1.889 +CONV_DEFINE_CAST_UNROLL4(s16,u32);
   1.890 +CONV_DEFINE_FLOAT_UNROLL4(s16,f32);
   1.891 +CONV_DEFINE_FLOAT_UNROLL4(s16,f64);
   1.892 +
   1.893 +CONV_DEFINE_CAST_UNROLL4(u16,s8)
   1.894 +CONV_DEFINE_CAST_UNROLL4(u16,u8)
   1.895 +CONV_DEFINE_CAST_UNROLL4(u16,s16);
   1.896 +CONV_DEFINE_CAST_UNROLL4(u16,s32);
   1.897 +CONV_DEFINE_CAST_UNROLL4(u16,u32);
   1.898 +CONV_DEFINE_FLOAT_UNROLL4(u16,f32);
   1.899 +CONV_DEFINE_FLOAT_UNROLL4(u16,f64);
   1.900 +
   1.901 +CONV_DEFINE_CAST_UNROLL4(s32,s8)
   1.902 +CONV_DEFINE_CAST_UNROLL4(s32,s16)
   1.903 +CONV_DEFINE_CAST_UNROLL4(s32,u8)
   1.904 +CONV_DEFINE_CAST_UNROLL4(s32,u16)
   1.905 +CONV_DEFINE_CAST_UNROLL4(s32,u32);
   1.906 +CONV_DEFINE_FLOAT_UNROLL4(s32,f32);
   1.907 +CONV_DEFINE_FLOAT_UNROLL4(s32,f64);
   1.908 +
   1.909 +CONV_DEFINE_CAST_UNROLL4(u32,s8)
   1.910 +CONV_DEFINE_CAST_UNROLL4(u32,s16)
   1.911 +CONV_DEFINE_CAST_UNROLL4(u32,u8)
   1.912 +CONV_DEFINE_CAST_UNROLL4(u32,u16)
   1.913 +CONV_DEFINE_CAST_UNROLL4(u32,s32);
   1.914 +CONV_DEFINE_FLOAT_UNROLL4(u32,f32);
   1.915 +CONV_DEFINE_FLOAT_UNROLL4(u32,f64);
   1.916 +
   1.917 +CONV_DEFINE_CAST_UNROLL4(f32,s8)
   1.918 +CONV_DEFINE_CAST_UNROLL4(f32,s16)
   1.919 +CONV_DEFINE_CAST_UNROLL4(f32,u8)
   1.920 +CONV_DEFINE_CAST_UNROLL4(f32,u16)
   1.921 +CONV_DEFINE_CAST_UNROLL4(f32,s32);
   1.922 +CONV_DEFINE_CAST_UNROLL4(f32,u32);
   1.923 +CONV_DEFINE_CAST_UNROLL4(f32,f64);
   1.924 +
   1.925 +CONV_DEFINE_CAST_UNROLL4(f64,s8)
   1.926 +CONV_DEFINE_CAST_UNROLL4(f64,u8)
   1.927 +CONV_DEFINE_CAST_UNROLL4(f64,s16)
   1.928 +CONV_DEFINE_CAST_UNROLL4(f64,u16)
   1.929 +CONV_DEFINE_CAST_UNROLL4(f64,s32)
   1.930 +CONV_DEFINE_CAST_UNROLL4(f64,u32)
   1.931 +CONV_DEFINE_CAST_UNROLL4(f64,f32)
   1.932 +
   1.933 +
   1.934 +#ifdef HAVE_RINTF
   1.935 +
   1.936 +#define CONV_DEFINE_FLOAT_RINTF(desttype,srctype) \
   1.937 +static void conv_ ## desttype ## _ ## srctype ## _rintf ( \
   1.938 +    oil_type_ ## desttype *dest,    \
   1.939 +    int dest_stride,        \
   1.940 +    const oil_type_ ## srctype *src,        \
   1.941 +    int src_stride, int n)      \
   1.942 +{                   \
   1.943 +    int i;              \
   1.944 +    for(i=0;i<n;i++){       \
   1.945 +        *dest = rintf(*src);\
   1.946 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.947 +        src = OIL_OFFSET(src, src_stride);  \
   1.948 +    }               \
   1.949 +}                   \
   1.950 +OIL_DEFINE_IMPL(conv_ ## desttype ## _ ## srctype ## _rintf,    \
   1.951 +    conv_ ## desttype ## _ ## srctype);
   1.952 +
   1.953 +CONV_DEFINE_FLOAT_RINTF(s8,f32);
   1.954 +CONV_DEFINE_FLOAT_RINTF(u8,f32);
   1.955 +CONV_DEFINE_FLOAT_RINTF(s16,f32);
   1.956 +CONV_DEFINE_FLOAT_RINTF(u16,f32);
   1.957 +CONV_DEFINE_FLOAT_RINTF(s32,f32);
   1.958 +CONV_DEFINE_FLOAT_RINTF(u32,f32);
   1.959 +
   1.960 +#endif
   1.961 +
   1.962 +#ifdef HAVE_LRINT
   1.963 +
   1.964 +#define CONV_DEFINE_FLOAT_LRINT(desttype,srctype) \
   1.965 +static void conv_ ## desttype ## _ ## srctype ## _lrint ( \
   1.966 +    oil_type_ ## desttype *dest,    \
   1.967 +    int dest_stride,        \
   1.968 +    const oil_type_ ## srctype *src,        \
   1.969 +    int src_stride, int n)      \
   1.970 +{                   \
   1.971 +    int i;              \
   1.972 +    for(i=0;i<n;i++){       \
   1.973 +        *dest = lrint(*src);    \
   1.974 +        dest = OIL_OFFSET(dest, dest_stride);   \
   1.975 +        src = OIL_OFFSET(src, src_stride);  \
   1.976 +    }               \
   1.977 +}                   \
   1.978 +OIL_DEFINE_IMPL(conv_ ## desttype ## _ ## srctype ## _lrint,    \
   1.979 +    conv_ ## desttype ## _ ## srctype);
   1.980 +
   1.981 +CONV_DEFINE_FLOAT_LRINT(s8,f32);
   1.982 +CONV_DEFINE_FLOAT_LRINT(s8,f64);
   1.983 +
   1.984 +CONV_DEFINE_FLOAT_LRINT(u8,f32);
   1.985 +CONV_DEFINE_FLOAT_LRINT(u8,f64);
   1.986 +
   1.987 +CONV_DEFINE_FLOAT_LRINT(s16,f32);
   1.988 +CONV_DEFINE_FLOAT_LRINT(s16,f64);
   1.989 +
   1.990 +CONV_DEFINE_FLOAT_LRINT(u16,f32);
   1.991 +CONV_DEFINE_FLOAT_LRINT(u16,f64);
   1.992 +
   1.993 +CONV_DEFINE_FLOAT_LRINT(s32,f32);
   1.994 +CONV_DEFINE_FLOAT_LRINT(s32,f64);
   1.995 +
   1.996 +//CONV_DEFINE_FLOAT_LRINT(u32,f32);
   1.997 +//CONV_DEFINE_FLOAT_LRINT(u32,f64);
   1.998 +
   1.999 +#endif
  1.1000 +
  1.1001 +#ifdef HAVE_LRINTF
  1.1002 +
  1.1003 +#define CONV_DEFINE_FLOAT_LRINTF(desttype,srctype) \
  1.1004 +static void conv_ ## desttype ## _ ## srctype ## _lrintf ( \
  1.1005 +    oil_type_ ## desttype *dest,    \
  1.1006 +    int dest_stride,        \
  1.1007 +    const oil_type_ ## srctype *src,        \
  1.1008 +    int src_stride, int n)      \
  1.1009 +{                   \
  1.1010 +    int i;              \
  1.1011 +    for(i=0;i<n;i++){       \
  1.1012 +        *dest = lrintf(*src);   \
  1.1013 +        dest = OIL_OFFSET(dest, dest_stride);   \
  1.1014 +        src = OIL_OFFSET(src, src_stride);  \
  1.1015 +    }               \
  1.1016 +}                   \
  1.1017 +OIL_DEFINE_IMPL(conv_ ## desttype ## _ ## srctype ## _lrintf,   \
  1.1018 +    conv_ ## desttype ## _ ## srctype);
  1.1019 +
  1.1020 +CONV_DEFINE_FLOAT_LRINTF(s8,f32);
  1.1021 +CONV_DEFINE_FLOAT_LRINTF(u8,f32);
  1.1022 +CONV_DEFINE_FLOAT_LRINTF(s16,f32);
  1.1023 +CONV_DEFINE_FLOAT_LRINTF(u16,f32);
  1.1024 +CONV_DEFINE_FLOAT_LRINTF(s32,f32);
  1.1025 +//CONV_DEFINE_FLOAT_LRINTF(u32,f32);
  1.1026 +
  1.1027 +#endif
  1.1028 +
  1.1029 +
  1.1030 +
  1.1031 +#ifdef	__SYMBIAN32__
  1.1032 + 
  1.1033 +OilFunctionImpl* __oil_function_impl_conv_s8_u8_unroll4() {
  1.1034 +        return &_oil_function_impl_conv_s8_u8_unroll4;
  1.1035 +}
  1.1036 +#endif
  1.1037 +
  1.1038 +#ifdef	__SYMBIAN32__
  1.1039 + 
  1.1040 +OilFunctionImpl* __oil_function_impl_conv_s8_s16_unroll4() {
  1.1041 +        return &_oil_function_impl_conv_s8_s16_unroll4;
  1.1042 +}
  1.1043 +#endif
  1.1044 +
  1.1045 +#ifdef	__SYMBIAN32__
  1.1046 + 
  1.1047 +OilFunctionImpl* __oil_function_impl_conv_s8_u16_unroll4() {
  1.1048 +        return &_oil_function_impl_conv_s8_u16_unroll4;
  1.1049 +}
  1.1050 +#endif
  1.1051 +
  1.1052 +#ifdef	__SYMBIAN32__
  1.1053 + 
  1.1054 +OilFunctionImpl* __oil_function_impl_conv_s8_s32_unroll4() {
  1.1055 +        return &_oil_function_impl_conv_s8_s32_unroll4;
  1.1056 +}
  1.1057 +#endif
  1.1058 +
  1.1059 +#ifdef	__SYMBIAN32__
  1.1060 + 
  1.1061 +OilFunctionImpl* __oil_function_impl_conv_s8_u32_unroll4() {
  1.1062 +        return &_oil_function_impl_conv_s8_u32_unroll4;
  1.1063 +}
  1.1064 +#endif
  1.1065 +
  1.1066 +#ifdef	__SYMBIAN32__
  1.1067 + 
  1.1068 +OilFunctionImpl* __oil_function_impl_conv_s8_f32_unroll4() {
  1.1069 +        return &_oil_function_impl_conv_s8_f32_unroll4;
  1.1070 +}
  1.1071 +#endif
  1.1072 +
  1.1073 +#ifdef	__SYMBIAN32__
  1.1074 + 
  1.1075 +OilFunctionImpl* __oil_function_impl_conv_s8_f64_unroll4() {
  1.1076 +        return &_oil_function_impl_conv_s8_f64_unroll4;
  1.1077 +}
  1.1078 +#endif
  1.1079 +
  1.1080 +#ifdef	__SYMBIAN32__
  1.1081 + 
  1.1082 +OilFunctionImpl* __oil_function_impl_conv_u8_s8_unroll4() {
  1.1083 +        return &_oil_function_impl_conv_u8_s8_unroll4;
  1.1084 +}
  1.1085 +#endif
  1.1086 +
  1.1087 +#ifdef	__SYMBIAN32__
  1.1088 + 
  1.1089 +OilFunctionImpl* __oil_function_impl_conv_u8_s16_unroll4() {
  1.1090 +        return &_oil_function_impl_conv_u8_s16_unroll4;
  1.1091 +}
  1.1092 +#endif
  1.1093 +
  1.1094 +#ifdef	__SYMBIAN32__
  1.1095 + 
  1.1096 +OilFunctionImpl* __oil_function_impl_conv_u8_u16_unroll4() {
  1.1097 +        return &_oil_function_impl_conv_u8_u16_unroll4;
  1.1098 +}
  1.1099 +#endif
  1.1100 +
  1.1101 +#ifdef	__SYMBIAN32__
  1.1102 + 
  1.1103 +OilFunctionImpl* __oil_function_impl_conv_u8_s32_unroll4() {
  1.1104 +        return &_oil_function_impl_conv_u8_s32_unroll4;
  1.1105 +}
  1.1106 +#endif
  1.1107 +
  1.1108 +#ifdef	__SYMBIAN32__
  1.1109 + 
  1.1110 +OilFunctionImpl* __oil_function_impl_conv_u8_u32_unroll4() {
  1.1111 +        return &_oil_function_impl_conv_u8_u32_unroll4;
  1.1112 +}
  1.1113 +#endif
  1.1114 +
  1.1115 +#ifdef	__SYMBIAN32__
  1.1116 + 
  1.1117 +OilFunctionImpl* __oil_function_impl_conv_u8_f32_unroll4() {
  1.1118 +        return &_oil_function_impl_conv_u8_f32_unroll4;
  1.1119 +}
  1.1120 +#endif
  1.1121 +
  1.1122 +#ifdef	__SYMBIAN32__
  1.1123 + 
  1.1124 +OilFunctionImpl* __oil_function_impl_conv_u8_f64_unroll4() {
  1.1125 +        return &_oil_function_impl_conv_u8_f64_unroll4;
  1.1126 +}
  1.1127 +#endif
  1.1128 +
  1.1129 +#ifdef	__SYMBIAN32__
  1.1130 + 
  1.1131 +OilFunctionImpl* __oil_function_impl_conv_s16_s8_unroll4() {
  1.1132 +        return &_oil_function_impl_conv_s16_s8_unroll4;
  1.1133 +}
  1.1134 +#endif
  1.1135 +
  1.1136 +#ifdef	__SYMBIAN32__
  1.1137 + 
  1.1138 +OilFunctionImpl* __oil_function_impl_conv_s16_u8_unroll4() {
  1.1139 +        return &_oil_function_impl_conv_s16_u8_unroll4;
  1.1140 +}
  1.1141 +#endif
  1.1142 +
  1.1143 +#ifdef	__SYMBIAN32__
  1.1144 + 
  1.1145 +OilFunctionImpl* __oil_function_impl_conv_s16_u16_unroll4() {
  1.1146 +        return &_oil_function_impl_conv_s16_u16_unroll4;
  1.1147 +}
  1.1148 +#endif
  1.1149 +
  1.1150 +#ifdef	__SYMBIAN32__
  1.1151 + 
  1.1152 +OilFunctionImpl* __oil_function_impl_conv_s16_s32_unroll4() {
  1.1153 +        return &_oil_function_impl_conv_s16_s32_unroll4;
  1.1154 +}
  1.1155 +#endif
  1.1156 +
  1.1157 +#ifdef	__SYMBIAN32__
  1.1158 + 
  1.1159 +OilFunctionImpl* __oil_function_impl_conv_s16_u32_unroll4() {
  1.1160 +        return &_oil_function_impl_conv_s16_u32_unroll4;
  1.1161 +}
  1.1162 +#endif
  1.1163 +
  1.1164 +#ifdef	__SYMBIAN32__
  1.1165 + 
  1.1166 +OilFunctionImpl* __oil_function_impl_conv_s16_f32_unroll4() {
  1.1167 +        return &_oil_function_impl_conv_s16_f32_unroll4;
  1.1168 +}
  1.1169 +#endif
  1.1170 +
  1.1171 +#ifdef	__SYMBIAN32__
  1.1172 + 
  1.1173 +OilFunctionImpl* __oil_function_impl_conv_s16_f64_unroll4() {
  1.1174 +        return &_oil_function_impl_conv_s16_f64_unroll4;
  1.1175 +}
  1.1176 +#endif
  1.1177 +
  1.1178 +#ifdef	__SYMBIAN32__
  1.1179 + 
  1.1180 +OilFunctionImpl* __oil_function_impl_conv_u16_s8_unroll4() {
  1.1181 +        return &_oil_function_impl_conv_u16_s8_unroll4;
  1.1182 +}
  1.1183 +#endif
  1.1184 +
  1.1185 +#ifdef	__SYMBIAN32__
  1.1186 + 
  1.1187 +OilFunctionImpl* __oil_function_impl_conv_u16_u8_unroll4() {
  1.1188 +        return &_oil_function_impl_conv_u16_u8_unroll4;
  1.1189 +}
  1.1190 +#endif
  1.1191 +
  1.1192 +#ifdef	__SYMBIAN32__
  1.1193 + 
  1.1194 +OilFunctionImpl* __oil_function_impl_conv_u16_s16_unroll4() {
  1.1195 +        return &_oil_function_impl_conv_u16_s16_unroll4;
  1.1196 +}
  1.1197 +#endif
  1.1198 +
  1.1199 +#ifdef	__SYMBIAN32__
  1.1200 + 
  1.1201 +OilFunctionImpl* __oil_function_impl_conv_u16_s32_unroll4() {
  1.1202 +        return &_oil_function_impl_conv_u16_s32_unroll4;
  1.1203 +}
  1.1204 +#endif
  1.1205 +
  1.1206 +#ifdef	__SYMBIAN32__
  1.1207 + 
  1.1208 +OilFunctionImpl* __oil_function_impl_conv_u16_u32_unroll4() {
  1.1209 +        return &_oil_function_impl_conv_u16_u32_unroll4;
  1.1210 +}
  1.1211 +#endif
  1.1212 +
  1.1213 +#ifdef	__SYMBIAN32__
  1.1214 + 
  1.1215 +OilFunctionImpl* __oil_function_impl_conv_u16_f32_unroll4() {
  1.1216 +        return &_oil_function_impl_conv_u16_f32_unroll4;
  1.1217 +}
  1.1218 +#endif
  1.1219 +
  1.1220 +#ifdef	__SYMBIAN32__
  1.1221 + 
  1.1222 +OilFunctionImpl* __oil_function_impl_conv_u16_f64_unroll4() {
  1.1223 +        return &_oil_function_impl_conv_u16_f64_unroll4;
  1.1224 +}
  1.1225 +#endif
  1.1226 +
  1.1227 +#ifdef	__SYMBIAN32__
  1.1228 + 
  1.1229 +OilFunctionImpl* __oil_function_impl_conv_s32_s8_unroll4() {
  1.1230 +        return &_oil_function_impl_conv_s32_s8_unroll4;
  1.1231 +}
  1.1232 +#endif
  1.1233 +
  1.1234 +#ifdef	__SYMBIAN32__
  1.1235 + 
  1.1236 +OilFunctionImpl* __oil_function_impl_conv_s32_s16_unroll4() {
  1.1237 +        return &_oil_function_impl_conv_s32_s16_unroll4;
  1.1238 +}
  1.1239 +#endif
  1.1240 +
  1.1241 +#ifdef	__SYMBIAN32__
  1.1242 + 
  1.1243 +OilFunctionImpl* __oil_function_impl_conv_s32_u8_unroll4() {
  1.1244 +        return &_oil_function_impl_conv_s32_u8_unroll4;
  1.1245 +}
  1.1246 +#endif
  1.1247 +
  1.1248 +#ifdef	__SYMBIAN32__
  1.1249 + 
  1.1250 +OilFunctionImpl* __oil_function_impl_conv_s32_u16_unroll4() {
  1.1251 +        return &_oil_function_impl_conv_s32_u16_unroll4;
  1.1252 +}
  1.1253 +#endif
  1.1254 +
  1.1255 +#ifdef	__SYMBIAN32__
  1.1256 + 
  1.1257 +OilFunctionImpl* __oil_function_impl_conv_s32_u32_unroll4() {
  1.1258 +        return &_oil_function_impl_conv_s32_u32_unroll4;
  1.1259 +}
  1.1260 +#endif
  1.1261 +
  1.1262 +#ifdef	__SYMBIAN32__
  1.1263 + 
  1.1264 +OilFunctionImpl* __oil_function_impl_conv_s32_f32_unroll4() {
  1.1265 +        return &_oil_function_impl_conv_s32_f32_unroll4;
  1.1266 +}
  1.1267 +#endif
  1.1268 +
  1.1269 +#ifdef	__SYMBIAN32__
  1.1270 + 
  1.1271 +OilFunctionImpl* __oil_function_impl_conv_s32_f64_unroll4() {
  1.1272 +        return &_oil_function_impl_conv_s32_f64_unroll4;
  1.1273 +}
  1.1274 +#endif
  1.1275 +
  1.1276 +#ifdef	__SYMBIAN32__
  1.1277 + 
  1.1278 +OilFunctionImpl* __oil_function_impl_conv_u32_s8_unroll4() {
  1.1279 +        return &_oil_function_impl_conv_u32_s8_unroll4;
  1.1280 +}
  1.1281 +#endif
  1.1282 +
  1.1283 +#ifdef	__SYMBIAN32__
  1.1284 + 
  1.1285 +OilFunctionImpl* __oil_function_impl_conv_u32_s16_unroll4() {
  1.1286 +        return &_oil_function_impl_conv_u32_s16_unroll4;
  1.1287 +}
  1.1288 +#endif
  1.1289 +
  1.1290 +#ifdef	__SYMBIAN32__
  1.1291 + 
  1.1292 +OilFunctionImpl* __oil_function_impl_conv_u32_u8_unroll4() {
  1.1293 +        return &_oil_function_impl_conv_u32_u8_unroll4;
  1.1294 +}
  1.1295 +#endif
  1.1296 +
  1.1297 +#ifdef	__SYMBIAN32__
  1.1298 + 
  1.1299 +OilFunctionImpl* __oil_function_impl_conv_u32_u16_unroll4() {
  1.1300 +        return &_oil_function_impl_conv_u32_u16_unroll4;
  1.1301 +}
  1.1302 +#endif
  1.1303 +
  1.1304 +#ifdef	__SYMBIAN32__
  1.1305 + 
  1.1306 +OilFunctionImpl* __oil_function_impl_conv_u32_s32_unroll4() {
  1.1307 +        return &_oil_function_impl_conv_u32_s32_unroll4;
  1.1308 +}
  1.1309 +#endif
  1.1310 +
  1.1311 +#ifdef	__SYMBIAN32__
  1.1312 + 
  1.1313 +OilFunctionImpl* __oil_function_impl_conv_u32_f32_unroll4() {
  1.1314 +        return &_oil_function_impl_conv_u32_f32_unroll4;
  1.1315 +}
  1.1316 +#endif
  1.1317 +
  1.1318 +#ifdef	__SYMBIAN32__
  1.1319 + 
  1.1320 +OilFunctionImpl* __oil_function_impl_conv_u32_f64_unroll4() {
  1.1321 +        return &_oil_function_impl_conv_u32_f64_unroll4;
  1.1322 +}
  1.1323 +#endif
  1.1324 +
  1.1325 +#ifdef	__SYMBIAN32__
  1.1326 + 
  1.1327 +OilFunctionImpl* __oil_function_impl_conv_f32_s8_unroll4() {
  1.1328 +        return &_oil_function_impl_conv_f32_s8_unroll4;
  1.1329 +}
  1.1330 +#endif
  1.1331 +
  1.1332 +#ifdef	__SYMBIAN32__
  1.1333 + 
  1.1334 +OilFunctionImpl* __oil_function_impl_conv_f32_s16_unroll4() {
  1.1335 +        return &_oil_function_impl_conv_f32_s16_unroll4;
  1.1336 +}
  1.1337 +#endif
  1.1338 +
  1.1339 +#ifdef	__SYMBIAN32__
  1.1340 + 
  1.1341 +OilFunctionImpl* __oil_function_impl_conv_f32_u8_unroll4() {
  1.1342 +        return &_oil_function_impl_conv_f32_u8_unroll4;
  1.1343 +}
  1.1344 +#endif
  1.1345 +
  1.1346 +#ifdef	__SYMBIAN32__
  1.1347 + 
  1.1348 +OilFunctionImpl* __oil_function_impl_conv_f32_u16_unroll4() {
  1.1349 +        return &_oil_function_impl_conv_f32_u16_unroll4;
  1.1350 +}
  1.1351 +#endif
  1.1352 +
  1.1353 +#ifdef	__SYMBIAN32__
  1.1354 + 
  1.1355 +OilFunctionImpl* __oil_function_impl_conv_f32_s32_unroll4() {
  1.1356 +        return &_oil_function_impl_conv_f32_s32_unroll4;
  1.1357 +}
  1.1358 +#endif
  1.1359 +
  1.1360 +#ifdef	__SYMBIAN32__
  1.1361 + 
  1.1362 +OilFunctionImpl* __oil_function_impl_conv_f32_u32_unroll4() {
  1.1363 +        return &_oil_function_impl_conv_f32_u32_unroll4;
  1.1364 +}
  1.1365 +#endif
  1.1366 +
  1.1367 +#ifdef	__SYMBIAN32__
  1.1368 + 
  1.1369 +OilFunctionImpl* __oil_function_impl_conv_f32_f64_unroll4() {
  1.1370 +        return &_oil_function_impl_conv_f32_f64_unroll4;
  1.1371 +}
  1.1372 +#endif
  1.1373 +
  1.1374 +#ifdef	__SYMBIAN32__
  1.1375 + 
  1.1376 +OilFunctionImpl* __oil_function_impl_conv_f64_s8_unroll4() {
  1.1377 +        return &_oil_function_impl_conv_f64_s8_unroll4;
  1.1378 +}
  1.1379 +#endif
  1.1380 +
  1.1381 +#ifdef	__SYMBIAN32__
  1.1382 + 
  1.1383 +OilFunctionImpl* __oil_function_impl_conv_f64_u8_unroll4() {
  1.1384 +        return &_oil_function_impl_conv_f64_u8_unroll4;
  1.1385 +}
  1.1386 +#endif
  1.1387 +
  1.1388 +#ifdef	__SYMBIAN32__
  1.1389 + 
  1.1390 +OilFunctionImpl* __oil_function_impl_conv_f64_s16_unroll4() {
  1.1391 +        return &_oil_function_impl_conv_f64_s16_unroll4;
  1.1392 +}
  1.1393 +#endif
  1.1394 +
  1.1395 +#ifdef	__SYMBIAN32__
  1.1396 + 
  1.1397 +OilFunctionImpl* __oil_function_impl_conv_f64_u16_unroll4() {
  1.1398 +        return &_oil_function_impl_conv_f64_u16_unroll4;
  1.1399 +}
  1.1400 +#endif
  1.1401 +
  1.1402 +#ifdef	__SYMBIAN32__
  1.1403 + 
  1.1404 +OilFunctionImpl* __oil_function_impl_conv_f64_s32_unroll4() {
  1.1405 +        return &_oil_function_impl_conv_f64_s32_unroll4;
  1.1406 +}
  1.1407 +#endif
  1.1408 +
  1.1409 +#ifdef	__SYMBIAN32__
  1.1410 + 
  1.1411 +OilFunctionImpl* __oil_function_impl_conv_f64_u32_unroll4() {
  1.1412 +        return &_oil_function_impl_conv_f64_u32_unroll4;
  1.1413 +}
  1.1414 +#endif
  1.1415 +
  1.1416 +#ifdef	__SYMBIAN32__
  1.1417 + 
  1.1418 +OilFunctionImpl* __oil_function_impl_conv_f64_f32_unroll4() {
  1.1419 +        return &_oil_function_impl_conv_f64_f32_unroll4;
  1.1420 +}
  1.1421 +#endif
  1.1422 +
  1.1423 +#ifdef	__SYMBIAN32__
  1.1424 + 
  1.1425 +OilFunctionImpl* __oil_function_impl_clipconv_s8_u8_c() {
  1.1426 +        return &_oil_function_impl_clipconv_s8_u8_c;
  1.1427 +}
  1.1428 +#endif
  1.1429 +
  1.1430 +#ifdef	__SYMBIAN32__
  1.1431 + 
  1.1432 +OilFunctionImpl* __oil_function_impl_clipconv_s8_u16_c() {
  1.1433 +        return &_oil_function_impl_clipconv_s8_u16_c;
  1.1434 +}
  1.1435 +#endif
  1.1436 +
  1.1437 +#ifdef	__SYMBIAN32__
  1.1438 + 
  1.1439 +OilFunctionImpl* __oil_function_impl_clipconv_s8_u32_c() {
  1.1440 +        return &_oil_function_impl_clipconv_s8_u32_c;
  1.1441 +}
  1.1442 +#endif
  1.1443 +
  1.1444 +#ifdef	__SYMBIAN32__
  1.1445 + 
  1.1446 +OilFunctionImpl* __oil_function_impl_clipconv_u8_u32_c() {
  1.1447 +        return &_oil_function_impl_clipconv_u8_u32_c;
  1.1448 +}
  1.1449 +#endif
  1.1450 +
  1.1451 +#ifdef	__SYMBIAN32__
  1.1452 + 
  1.1453 +OilFunctionImpl* __oil_function_impl_clipconv_u8_u16_c() {
  1.1454 +        return &_oil_function_impl_clipconv_u8_u16_c;
  1.1455 +}
  1.1456 +#endif
  1.1457 +
  1.1458 +#ifdef	__SYMBIAN32__
  1.1459 + 
  1.1460 +OilFunctionImpl* __oil_function_impl_clipconv_s16_u16_c() {
  1.1461 +        return &_oil_function_impl_clipconv_s16_u16_c;
  1.1462 +}
  1.1463 +#endif
  1.1464 +
  1.1465 +#ifdef	__SYMBIAN32__
  1.1466 + 
  1.1467 +OilFunctionImpl* __oil_function_impl_clipconv_s16_u32_c() {
  1.1468 +        return &_oil_function_impl_clipconv_s16_u32_c;
  1.1469 +}
  1.1470 +#endif
  1.1471 +
  1.1472 +#ifdef	__SYMBIAN32__
  1.1473 + 
  1.1474 +OilFunctionImpl* __oil_function_impl_clipconv_s32_u32_c() {
  1.1475 +        return &_oil_function_impl_clipconv_s32_u32_c;
  1.1476 +}
  1.1477 +#endif
  1.1478 +
  1.1479 +#ifdef	__SYMBIAN32__
  1.1480 + 
  1.1481 +OilFunctionImpl* __oil_function_impl_clipconv_u16_u32_c() {
  1.1482 +        return &_oil_function_impl_clipconv_u16_u32_c;
  1.1483 +}
  1.1484 +#endif
  1.1485 +
  1.1486 +#ifdef	__SYMBIAN32__
  1.1487 + 
  1.1488 +OilFunctionImpl* __oil_function_impl_clipconv_s8_s16_c() {
  1.1489 +        return &_oil_function_impl_clipconv_s8_s16_c;
  1.1490 +}
  1.1491 +#endif
  1.1492 +
  1.1493 +#ifdef	__SYMBIAN32__
  1.1494 + 
  1.1495 +OilFunctionImpl* __oil_function_impl_clipconv_s8_s32_c() {
  1.1496 +        return &_oil_function_impl_clipconv_s8_s32_c;
  1.1497 +}
  1.1498 +#endif
  1.1499 +
  1.1500 +#ifdef	__SYMBIAN32__
  1.1501 + 
  1.1502 +OilFunctionImpl* __oil_function_impl_clipconv_u8_s16_c() {
  1.1503 +        return &_oil_function_impl_clipconv_u8_s16_c;
  1.1504 +}
  1.1505 +#endif
  1.1506 +
  1.1507 +#ifdef	__SYMBIAN32__
  1.1508 + 
  1.1509 +OilFunctionImpl* __oil_function_impl_clipconv_u8_s32_c() {
  1.1510 +        return &_oil_function_impl_clipconv_u8_s32_c;
  1.1511 +}
  1.1512 +#endif
  1.1513 +
  1.1514 +#ifdef	__SYMBIAN32__
  1.1515 + 
  1.1516 +OilFunctionImpl* __oil_function_impl_clipconv_s16_s32_c() {
  1.1517 +        return &_oil_function_impl_clipconv_s16_s32_c;
  1.1518 +}
  1.1519 +#endif
  1.1520 +
  1.1521 +#ifdef	__SYMBIAN32__
  1.1522 + 
  1.1523 +OilFunctionImpl* __oil_function_impl_clipconv_u16_s32_c() {
  1.1524 +        return &_oil_function_impl_clipconv_u16_s32_c;
  1.1525 +}
  1.1526 +#endif
  1.1527 +
  1.1528 +#ifdef	__SYMBIAN32__
  1.1529 + 
  1.1530 +OilFunctionImpl* __oil_function_impl_clipconv_u8_s8_c() {
  1.1531 +        return &_oil_function_impl_clipconv_u8_s8_c;
  1.1532 +}
  1.1533 +#endif
  1.1534 +
  1.1535 +#ifdef	__SYMBIAN32__
  1.1536 + 
  1.1537 +OilFunctionImpl* __oil_function_impl_clipconv_u16_s16_c() {
  1.1538 +        return &_oil_function_impl_clipconv_u16_s16_c;
  1.1539 +}
  1.1540 +#endif
  1.1541 +
  1.1542 +#ifdef	__SYMBIAN32__
  1.1543 + 
  1.1544 +OilFunctionImpl* __oil_function_impl_clipconv_u32_s32_c() {
  1.1545 +        return &_oil_function_impl_clipconv_u32_s32_c;
  1.1546 +}
  1.1547 +#endif
  1.1548 +
  1.1549 +#ifdef	__SYMBIAN32__
  1.1550 + 
  1.1551 +OilFunctionImpl* __oil_function_impl_clipconv_s8_f32_c() {
  1.1552 +        return &_oil_function_impl_clipconv_s8_f32_c;
  1.1553 +}
  1.1554 +#endif
  1.1555 +
  1.1556 +#ifdef	__SYMBIAN32__
  1.1557 + 
  1.1558 +OilFunctionImpl* __oil_function_impl_clipconv_s8_f64_c() {
  1.1559 +        return &_oil_function_impl_clipconv_s8_f64_c;
  1.1560 +}
  1.1561 +#endif
  1.1562 +
  1.1563 +#ifdef	__SYMBIAN32__
  1.1564 + 
  1.1565 +OilFunctionImpl* __oil_function_impl_clipconv_u8_f32_c() {
  1.1566 +        return &_oil_function_impl_clipconv_u8_f32_c;
  1.1567 +}
  1.1568 +#endif
  1.1569 +
  1.1570 +#ifdef	__SYMBIAN32__
  1.1571 + 
  1.1572 +OilFunctionImpl* __oil_function_impl_clipconv_u8_f64_c() {
  1.1573 +        return &_oil_function_impl_clipconv_u8_f64_c;
  1.1574 +}
  1.1575 +#endif
  1.1576 +
  1.1577 +#ifdef	__SYMBIAN32__
  1.1578 + 
  1.1579 +OilFunctionImpl* __oil_function_impl_clipconv_s16_f32_c() {
  1.1580 +        return &_oil_function_impl_clipconv_s16_f32_c;
  1.1581 +}
  1.1582 +#endif
  1.1583 +
  1.1584 +#ifdef	__SYMBIAN32__
  1.1585 + 
  1.1586 +OilFunctionImpl* __oil_function_impl_clipconv_s16_f64_c() {
  1.1587 +        return &_oil_function_impl_clipconv_s16_f64_c;
  1.1588 +}
  1.1589 +#endif
  1.1590 +
  1.1591 +#ifdef	__SYMBIAN32__
  1.1592 + 
  1.1593 +OilFunctionImpl* __oil_function_impl_clipconv_u16_f32_c() {
  1.1594 +        return &_oil_function_impl_clipconv_u16_f32_c;
  1.1595 +}
  1.1596 +#endif
  1.1597 +
  1.1598 +#ifdef	__SYMBIAN32__
  1.1599 + 
  1.1600 +OilFunctionImpl* __oil_function_impl_clipconv_u16_f64_c() {
  1.1601 +        return &_oil_function_impl_clipconv_u16_f64_c;
  1.1602 +}
  1.1603 +#endif
  1.1604 +
  1.1605 +#ifdef	__SYMBIAN32__
  1.1606 + 
  1.1607 +OilFunctionImpl* __oil_function_impl_clipconv_s32_f32_c() {
  1.1608 +        return &_oil_function_impl_clipconv_s32_f32_c;
  1.1609 +}
  1.1610 +#endif
  1.1611 +
  1.1612 +#ifdef	__SYMBIAN32__
  1.1613 + 
  1.1614 +OilFunctionImpl* __oil_function_impl_clipconv_s32_f64_c() {
  1.1615 +        return &_oil_function_impl_clipconv_s32_f64_c;
  1.1616 +}
  1.1617 +#endif
  1.1618 +
  1.1619 +#ifdef	__SYMBIAN32__
  1.1620 + 
  1.1621 +OilFunctionImpl* __oil_function_impl_clipconv_u32_f32_c() {
  1.1622 +        return &_oil_function_impl_clipconv_u32_f32_c;
  1.1623 +}
  1.1624 +#endif
  1.1625 +
  1.1626 +#ifdef	__SYMBIAN32__
  1.1627 + 
  1.1628 +OilFunctionImpl* __oil_function_impl_clipconv_u32_f64_c() {
  1.1629 +        return &_oil_function_impl_clipconv_u32_f64_c;
  1.1630 +}
  1.1631 +#endif
  1.1632 +
  1.1633 +#ifdef	__SYMBIAN32__
  1.1634 + 
  1.1635 +OilFunctionImpl* __oil_function_impl_conv_s8_u8_unroll2() {
  1.1636 +        return &_oil_function_impl_conv_s8_u8_unroll2;
  1.1637 +}
  1.1638 +#endif
  1.1639 +#ifdef	__SYMBIAN32__
  1.1640 + 
  1.1641 +OilFunctionImpl* __oil_function_impl_conv_s8_s16_unroll2() {
  1.1642 +        return &_oil_function_impl_conv_s8_s16_unroll2;
  1.1643 +}
  1.1644 +#endif
  1.1645 +
  1.1646 +#ifdef	__SYMBIAN32__
  1.1647 + 
  1.1648 +OilFunctionImpl* __oil_function_impl_conv_s8_u16_unroll2() {
  1.1649 +        return &_oil_function_impl_conv_s8_u16_unroll2;
  1.1650 +}
  1.1651 +#endif
  1.1652 +
  1.1653 +#ifdef	__SYMBIAN32__
  1.1654 + 
  1.1655 +OilFunctionImpl* __oil_function_impl_conv_s8_s32_unroll2() {
  1.1656 +        return &_oil_function_impl_conv_s8_s32_unroll2;
  1.1657 +}
  1.1658 +#endif
  1.1659 +
  1.1660 +#ifdef	__SYMBIAN32__
  1.1661 + 
  1.1662 +OilFunctionImpl* __oil_function_impl_conv_s8_u32_unroll2() {
  1.1663 +        return &_oil_function_impl_conv_s8_u32_unroll2;
  1.1664 +}
  1.1665 +#endif
  1.1666 +
  1.1667 +#ifdef	__SYMBIAN32__
  1.1668 + 
  1.1669 +OilFunctionImpl* __oil_function_impl_conv_s8_f32_unroll2() {
  1.1670 +        return &_oil_function_impl_conv_s8_f32_unroll2;
  1.1671 +}
  1.1672 +#endif
  1.1673 +
  1.1674 +#ifdef	__SYMBIAN32__
  1.1675 + 
  1.1676 +OilFunctionImpl* __oil_function_impl_conv_s8_f64_unroll2() {
  1.1677 +        return &_oil_function_impl_conv_s8_f64_unroll2;
  1.1678 +}
  1.1679 +#endif
  1.1680 +
  1.1681 +#ifdef	__SYMBIAN32__
  1.1682 + 
  1.1683 +OilFunctionImpl* __oil_function_impl_conv_u8_s8_unroll2() {
  1.1684 +        return &_oil_function_impl_conv_u8_s8_unroll2;
  1.1685 +}
  1.1686 +#endif
  1.1687 +
  1.1688 +#ifdef	__SYMBIAN32__
  1.1689 + 
  1.1690 +OilFunctionImpl* __oil_function_impl_conv_u8_s16_unroll2() {
  1.1691 +        return &_oil_function_impl_conv_u8_s16_unroll2;
  1.1692 +}
  1.1693 +#endif
  1.1694 +
  1.1695 +#ifdef	__SYMBIAN32__
  1.1696 + 
  1.1697 +OilFunctionImpl* __oil_function_impl_conv_u8_u16_unroll2() {
  1.1698 +        return &_oil_function_impl_conv_u8_u16_unroll2;
  1.1699 +}
  1.1700 +#endif
  1.1701 +
  1.1702 +#ifdef	__SYMBIAN32__
  1.1703 + 
  1.1704 +OilFunctionImpl* __oil_function_impl_conv_u8_s32_unroll2() {
  1.1705 +        return &_oil_function_impl_conv_u8_s32_unroll2;
  1.1706 +}
  1.1707 +#endif
  1.1708 +
  1.1709 +#ifdef	__SYMBIAN32__
  1.1710 + 
  1.1711 +OilFunctionImpl* __oil_function_impl_conv_u8_u32_unroll2() {
  1.1712 +        return &_oil_function_impl_conv_u8_u32_unroll2;
  1.1713 +}
  1.1714 +#endif
  1.1715 +
  1.1716 +#ifdef	__SYMBIAN32__
  1.1717 + 
  1.1718 +OilFunctionImpl* __oil_function_impl_conv_u8_f32_unroll2() {
  1.1719 +        return &_oil_function_impl_conv_u8_f32_unroll2;
  1.1720 +}
  1.1721 +#endif
  1.1722 +
  1.1723 +#ifdef	__SYMBIAN32__
  1.1724 + 
  1.1725 +OilFunctionImpl* __oil_function_impl_conv_u8_f64_unroll2() {
  1.1726 +        return &_oil_function_impl_conv_u8_f64_unroll2;
  1.1727 +}
  1.1728 +#endif
  1.1729 +
  1.1730 +#ifdef	__SYMBIAN32__
  1.1731 + 
  1.1732 +OilFunctionImpl* __oil_function_impl_conv_s16_s8_unroll2() {
  1.1733 +        return &_oil_function_impl_conv_s16_s8_unroll2;
  1.1734 +}
  1.1735 +#endif
  1.1736 +
  1.1737 +#ifdef	__SYMBIAN32__
  1.1738 + 
  1.1739 +OilFunctionImpl* __oil_function_impl_conv_s16_u8_unroll2() {
  1.1740 +        return &_oil_function_impl_conv_s16_u8_unroll2;
  1.1741 +}
  1.1742 +#endif
  1.1743 +
  1.1744 +#ifdef	__SYMBIAN32__
  1.1745 + 
  1.1746 +OilFunctionImpl* __oil_function_impl_conv_s16_u16_unroll2() {
  1.1747 +        return &_oil_function_impl_conv_s16_u16_unroll2;
  1.1748 +}
  1.1749 +#endif
  1.1750 +
  1.1751 +#ifdef	__SYMBIAN32__
  1.1752 + 
  1.1753 +OilFunctionImpl* __oil_function_impl_conv_s16_s32_unroll2() {
  1.1754 +        return &_oil_function_impl_conv_s16_s32_unroll2;
  1.1755 +}
  1.1756 +#endif
  1.1757 +
  1.1758 +#ifdef	__SYMBIAN32__
  1.1759 + 
  1.1760 +OilFunctionImpl* __oil_function_impl_conv_s16_u32_unroll2() {
  1.1761 +        return &_oil_function_impl_conv_s16_u32_unroll2;
  1.1762 +}
  1.1763 +#endif
  1.1764 +
  1.1765 +#ifdef	__SYMBIAN32__
  1.1766 + 
  1.1767 +OilFunctionImpl* __oil_function_impl_conv_s16_f32_unroll2() {
  1.1768 +        return &_oil_function_impl_conv_s16_f32_unroll2;
  1.1769 +}
  1.1770 +#endif
  1.1771 +
  1.1772 +#ifdef	__SYMBIAN32__
  1.1773 + 
  1.1774 +OilFunctionImpl* __oil_function_impl_conv_s16_f64_unroll2() {
  1.1775 +        return &_oil_function_impl_conv_s16_f64_unroll2;
  1.1776 +}
  1.1777 +#endif
  1.1778 +
  1.1779 +#ifdef	__SYMBIAN32__
  1.1780 + 
  1.1781 +OilFunctionImpl* __oil_function_impl_conv_u16_s8_unroll2() {
  1.1782 +        return &_oil_function_impl_conv_u16_s8_unroll2;
  1.1783 +}
  1.1784 +#endif
  1.1785 +
  1.1786 +#ifdef	__SYMBIAN32__
  1.1787 + 
  1.1788 +OilFunctionImpl* __oil_function_impl_conv_u16_u8_unroll2() {
  1.1789 +        return &_oil_function_impl_conv_u16_u8_unroll2;
  1.1790 +}
  1.1791 +#endif
  1.1792 +
  1.1793 +#ifdef	__SYMBIAN32__
  1.1794 + 
  1.1795 +OilFunctionImpl* __oil_function_impl_conv_u16_s16_unroll2() {
  1.1796 +        return &_oil_function_impl_conv_u16_s16_unroll2;
  1.1797 +}
  1.1798 +#endif
  1.1799 +
  1.1800 +#ifdef	__SYMBIAN32__
  1.1801 + 
  1.1802 +OilFunctionImpl* __oil_function_impl_conv_u16_s32_unroll2() {
  1.1803 +        return &_oil_function_impl_conv_u16_s32_unroll2;
  1.1804 +}
  1.1805 +#endif
  1.1806 +
  1.1807 +#ifdef	__SYMBIAN32__
  1.1808 + 
  1.1809 +OilFunctionImpl* __oil_function_impl_conv_u16_u32_unroll2() {
  1.1810 +        return &_oil_function_impl_conv_u16_u32_unroll2;
  1.1811 +}
  1.1812 +#endif
  1.1813 +
  1.1814 +#ifdef	__SYMBIAN32__
  1.1815 + 
  1.1816 +OilFunctionImpl* __oil_function_impl_conv_u16_f32_unroll2() {
  1.1817 +        return &_oil_function_impl_conv_u16_f32_unroll2;
  1.1818 +}
  1.1819 +#endif
  1.1820 +
  1.1821 +#ifdef	__SYMBIAN32__
  1.1822 + 
  1.1823 +OilFunctionImpl* __oil_function_impl_conv_u16_f64_unroll2() {
  1.1824 +        return &_oil_function_impl_conv_u16_f64_unroll2;
  1.1825 +}
  1.1826 +#endif
  1.1827 +
  1.1828 +#ifdef	__SYMBIAN32__
  1.1829 + 
  1.1830 +OilFunctionImpl* __oil_function_impl_conv_s32_s8_unroll2() {
  1.1831 +        return &_oil_function_impl_conv_s32_s8_unroll2;
  1.1832 +}
  1.1833 +#endif
  1.1834 +
  1.1835 +#ifdef	__SYMBIAN32__
  1.1836 + 
  1.1837 +OilFunctionImpl* __oil_function_impl_conv_s32_s16_unroll2() {
  1.1838 +        return &_oil_function_impl_conv_s32_s16_unroll2;
  1.1839 +}
  1.1840 +#endif
  1.1841 +
  1.1842 +#ifdef	__SYMBIAN32__
  1.1843 + 
  1.1844 +OilFunctionImpl* __oil_function_impl_conv_s32_u8_unroll2() {
  1.1845 +        return &_oil_function_impl_conv_s32_u8_unroll2;
  1.1846 +}
  1.1847 +#endif
  1.1848 +
  1.1849 +#ifdef	__SYMBIAN32__
  1.1850 + 
  1.1851 +OilFunctionImpl* __oil_function_impl_conv_s32_u16_unroll2() {
  1.1852 +        return &_oil_function_impl_conv_s32_u16_unroll2;
  1.1853 +}
  1.1854 +#endif
  1.1855 +
  1.1856 +#ifdef	__SYMBIAN32__
  1.1857 + 
  1.1858 +OilFunctionImpl* __oil_function_impl_conv_s32_u32_unroll2() {
  1.1859 +        return &_oil_function_impl_conv_s32_u32_unroll2;
  1.1860 +}
  1.1861 +#endif
  1.1862 +
  1.1863 +#ifdef	__SYMBIAN32__
  1.1864 + 
  1.1865 +OilFunctionImpl* __oil_function_impl_conv_s32_f32_unroll2() {
  1.1866 +        return &_oil_function_impl_conv_s32_f32_unroll2;
  1.1867 +}
  1.1868 +#endif
  1.1869 +
  1.1870 +#ifdef	__SYMBIAN32__
  1.1871 + 
  1.1872 +OilFunctionImpl* __oil_function_impl_conv_s32_f64_unroll2() {
  1.1873 +        return &_oil_function_impl_conv_s32_f64_unroll2;
  1.1874 +}
  1.1875 +#endif
  1.1876 +
  1.1877 +#ifdef	__SYMBIAN32__
  1.1878 + 
  1.1879 +OilFunctionImpl* __oil_function_impl_conv_u32_s8_unroll2() {
  1.1880 +        return &_oil_function_impl_conv_u32_s8_unroll2;
  1.1881 +}
  1.1882 +#endif
  1.1883 +
  1.1884 +#ifdef	__SYMBIAN32__
  1.1885 + 
  1.1886 +OilFunctionImpl* __oil_function_impl_conv_u32_s16_unroll2() {
  1.1887 +        return &_oil_function_impl_conv_u32_s16_unroll2;
  1.1888 +}
  1.1889 +#endif
  1.1890 +
  1.1891 +#ifdef	__SYMBIAN32__
  1.1892 + 
  1.1893 +OilFunctionImpl* __oil_function_impl_conv_u32_u8_unroll2() {
  1.1894 +        return &_oil_function_impl_conv_u32_u8_unroll2;
  1.1895 +}
  1.1896 +#endif
  1.1897 +
  1.1898 +#ifdef	__SYMBIAN32__
  1.1899 + 
  1.1900 +OilFunctionImpl* __oil_function_impl_conv_u32_u16_unroll2() {
  1.1901 +        return &_oil_function_impl_conv_u32_u16_unroll2;
  1.1902 +}
  1.1903 +#endif
  1.1904 +
  1.1905 +#ifdef	__SYMBIAN32__
  1.1906 + 
  1.1907 +OilFunctionImpl* __oil_function_impl_conv_u32_s32_unroll2() {
  1.1908 +        return &_oil_function_impl_conv_u32_s32_unroll2;
  1.1909 +}
  1.1910 +#endif
  1.1911 +
  1.1912 +#ifdef	__SYMBIAN32__
  1.1913 + 
  1.1914 +OilFunctionImpl* __oil_function_impl_conv_u32_f32_unroll2() {
  1.1915 +        return &_oil_function_impl_conv_u32_f32_unroll2;
  1.1916 +}
  1.1917 +#endif
  1.1918 +
  1.1919 +#ifdef	__SYMBIAN32__
  1.1920 + 
  1.1921 +OilFunctionImpl* __oil_function_impl_conv_u32_f64_unroll2() {
  1.1922 +        return &_oil_function_impl_conv_u32_f64_unroll2;
  1.1923 +}
  1.1924 +#endif
  1.1925 +
  1.1926 +#ifdef	__SYMBIAN32__
  1.1927 + 
  1.1928 +OilFunctionImpl* __oil_function_impl_conv_f32_s8_unroll2() {
  1.1929 +        return &_oil_function_impl_conv_f32_s8_unroll2;
  1.1930 +}
  1.1931 +#endif
  1.1932 +
  1.1933 +#ifdef	__SYMBIAN32__
  1.1934 + 
  1.1935 +OilFunctionImpl* __oil_function_impl_conv_f32_s16_unroll2() {
  1.1936 +        return &_oil_function_impl_conv_f32_s16_unroll2;
  1.1937 +}
  1.1938 +#endif
  1.1939 +
  1.1940 +#ifdef	__SYMBIAN32__
  1.1941 + 
  1.1942 +OilFunctionImpl* __oil_function_impl_conv_f32_u8_unroll2() {
  1.1943 +        return &_oil_function_impl_conv_f32_u8_unroll2;
  1.1944 +}
  1.1945 +#endif
  1.1946 +
  1.1947 +#ifdef	__SYMBIAN32__
  1.1948 + 
  1.1949 +OilFunctionImpl* __oil_function_impl_conv_f32_u16_unroll2() {
  1.1950 +        return &_oil_function_impl_conv_f32_u16_unroll2;
  1.1951 +}
  1.1952 +#endif
  1.1953 +
  1.1954 +#ifdef	__SYMBIAN32__
  1.1955 + 
  1.1956 +OilFunctionImpl* __oil_function_impl_conv_f32_s32_unroll2() {
  1.1957 +        return &_oil_function_impl_conv_f32_s32_unroll2;
  1.1958 +}
  1.1959 +#endif
  1.1960 +
  1.1961 +#ifdef	__SYMBIAN32__
  1.1962 + 
  1.1963 +OilFunctionImpl* __oil_function_impl_conv_f32_u32_unroll2() {
  1.1964 +        return &_oil_function_impl_conv_f32_u32_unroll2;
  1.1965 +}
  1.1966 +#endif
  1.1967 +
  1.1968 +#ifdef	__SYMBIAN32__
  1.1969 + 
  1.1970 +OilFunctionImpl* __oil_function_impl_conv_f32_f64_unroll2() {
  1.1971 +        return &_oil_function_impl_conv_f32_f64_unroll2;
  1.1972 +}
  1.1973 +#endif
  1.1974 +
  1.1975 +#ifdef	__SYMBIAN32__
  1.1976 + 
  1.1977 +OilFunctionImpl* __oil_function_impl_conv_f64_s8_unroll2() {
  1.1978 +        return &_oil_function_impl_conv_f64_s8_unroll2;
  1.1979 +}
  1.1980 +#endif
  1.1981 +
  1.1982 +#ifdef	__SYMBIAN32__
  1.1983 + 
  1.1984 +OilFunctionImpl* __oil_function_impl_conv_f64_u8_unroll2() {
  1.1985 +        return &_oil_function_impl_conv_f64_u8_unroll2;
  1.1986 +}
  1.1987 +#endif
  1.1988 +
  1.1989 +#ifdef	__SYMBIAN32__
  1.1990 + 
  1.1991 +OilFunctionImpl* __oil_function_impl_conv_f64_s16_unroll2() {
  1.1992 +        return &_oil_function_impl_conv_f64_s16_unroll2;
  1.1993 +}
  1.1994 +#endif
  1.1995 +
  1.1996 +#ifdef	__SYMBIAN32__
  1.1997 + 
  1.1998 +OilFunctionImpl* __oil_function_impl_conv_f64_u16_unroll2() {
  1.1999 +        return &_oil_function_impl_conv_f64_u16_unroll2;
  1.2000 +}
  1.2001 +#endif
  1.2002 +
  1.2003 +#ifdef	__SYMBIAN32__
  1.2004 + 
  1.2005 +OilFunctionImpl* __oil_function_impl_conv_f64_s32_unroll2() {
  1.2006 +        return &_oil_function_impl_conv_f64_s32_unroll2;
  1.2007 +}
  1.2008 +#endif
  1.2009 +
  1.2010 +#ifdef	__SYMBIAN32__
  1.2011 + 
  1.2012 +OilFunctionImpl* __oil_function_impl_conv_f64_u32_unroll2() {
  1.2013 +        return &_oil_function_impl_conv_f64_u32_unroll2;
  1.2014 +}
  1.2015 +#endif
  1.2016 +
  1.2017 +#ifdef	__SYMBIAN32__
  1.2018 + 
  1.2019 +OilFunctionImpl* __oil_function_impl_conv_f64_f32_unroll2() {
  1.2020 +        return &_oil_function_impl_conv_f64_f32_unroll2;
  1.2021 +}
  1.2022 +#endif
  1.2023 +
  1.2024 +#ifdef	__SYMBIAN32__
  1.2025 + 
  1.2026 +OilFunctionImpl* __oil_function_impl_conv_s8_f32_rintf() {
  1.2027 +        return &_oil_function_impl_conv_s8_f32_rintf;
  1.2028 +}
  1.2029 +#endif
  1.2030 +
  1.2031 +#ifdef	__SYMBIAN32__
  1.2032 + 
  1.2033 +OilFunctionImpl* __oil_function_impl_conv_u8_f32_rintf() {
  1.2034 +        return &_oil_function_impl_conv_u8_f32_rintf;
  1.2035 +}
  1.2036 +#endif
  1.2037 +
  1.2038 +#ifdef	__SYMBIAN32__
  1.2039 + 
  1.2040 +OilFunctionImpl* __oil_function_impl_conv_s16_f32_rintf() {
  1.2041 +        return &_oil_function_impl_conv_s16_f32_rintf;
  1.2042 +}
  1.2043 +#endif
  1.2044 +
  1.2045 +#ifdef	__SYMBIAN32__
  1.2046 + 
  1.2047 +OilFunctionImpl* __oil_function_impl_conv_u16_f32_rintf() {
  1.2048 +        return &_oil_function_impl_conv_u16_f32_rintf;
  1.2049 +}
  1.2050 +#endif
  1.2051 +
  1.2052 +#ifdef	__SYMBIAN32__
  1.2053 + 
  1.2054 +OilFunctionImpl* __oil_function_impl_conv_s32_f32_rintf() {
  1.2055 +        return &_oil_function_impl_conv_s32_f32_rintf;
  1.2056 +}
  1.2057 +#endif
  1.2058 +
  1.2059 +#ifdef	__SYMBIAN32__
  1.2060 + 
  1.2061 +OilFunctionImpl* __oil_function_impl_conv_u32_f32_rintf() {
  1.2062 +        return &_oil_function_impl_conv_u32_f32_rintf;
  1.2063 +}
  1.2064 +#endif
  1.2065 +
  1.2066 +#ifdef	__SYMBIAN32__
  1.2067 + 
  1.2068 +OilFunctionImpl* __oil_function_impl_conv_s8_f32_lrint() {
  1.2069 +        return &_oil_function_impl_conv_s8_f32_lrint;
  1.2070 +}
  1.2071 +#endif
  1.2072 +
  1.2073 +#ifdef	__SYMBIAN32__
  1.2074 + 
  1.2075 +OilFunctionImpl* __oil_function_impl_conv_s8_f64_lrint() {
  1.2076 +        return &_oil_function_impl_conv_s8_f64_lrint;
  1.2077 +}
  1.2078 +#endif
  1.2079 +
  1.2080 +
  1.2081 +#ifdef	__SYMBIAN32__
  1.2082 + 
  1.2083 +OilFunctionImpl* __oil_function_impl_conv_u8_f32_lrint() {
  1.2084 +        return &_oil_function_impl_conv_u8_f32_lrint;
  1.2085 +}
  1.2086 +#endif
  1.2087 +
  1.2088 +#ifdef	__SYMBIAN32__
  1.2089 + 
  1.2090 +OilFunctionImpl* __oil_function_impl_conv_u8_f64_lrint() {
  1.2091 +        return &_oil_function_impl_conv_u8_f64_lrint;
  1.2092 +}
  1.2093 +#endif
  1.2094 +
  1.2095 +#ifdef	__SYMBIAN32__
  1.2096 + 
  1.2097 +OilFunctionImpl* __oil_function_impl_conv_s16_f32_lrint() {
  1.2098 +        return &_oil_function_impl_conv_s16_f32_lrint;
  1.2099 +}
  1.2100 +#endif
  1.2101 +
  1.2102 +#ifdef	__SYMBIAN32__
  1.2103 + 
  1.2104 +OilFunctionImpl* __oil_function_impl_conv_s16_f64_lrint() {
  1.2105 +        return &_oil_function_impl_conv_s16_f64_lrint;
  1.2106 +}
  1.2107 +#endif
  1.2108 +
  1.2109 +
  1.2110 +#ifdef	__SYMBIAN32__
  1.2111 + 
  1.2112 +OilFunctionImpl* __oil_function_impl_conv_u16_f32_lrint() {
  1.2113 +        return &_oil_function_impl_conv_u16_f32_lrint;
  1.2114 +}
  1.2115 +#endif
  1.2116 +
  1.2117 +#ifdef	__SYMBIAN32__
  1.2118 + 
  1.2119 +OilFunctionImpl* __oil_function_impl_conv_u16_f64_lrint() {
  1.2120 +        return &_oil_function_impl_conv_u16_f64_lrint;
  1.2121 +}
  1.2122 +#endif
  1.2123 +
  1.2124 +#ifdef	__SYMBIAN32__
  1.2125 + 
  1.2126 +OilFunctionImpl* __oil_function_impl_conv_s32_f32_lrint() {
  1.2127 +        return &_oil_function_impl_conv_s32_f32_lrint;
  1.2128 +}
  1.2129 +#endif
  1.2130 +
  1.2131 +#ifdef	__SYMBIAN32__
  1.2132 + 
  1.2133 +OilFunctionImpl* __oil_function_impl_conv_s32_f64_lrint() {
  1.2134 +        return &_oil_function_impl_conv_s32_f64_lrint;
  1.2135 +}
  1.2136 +#endif
  1.2137 +
  1.2138 +#ifdef	__SYMBIAN32__
  1.2139 + 
  1.2140 +OilFunctionImpl* __oil_function_impl_conv_s8_f32_lrintf() {
  1.2141 +        return &_oil_function_impl_conv_s8_f32_lrintf;
  1.2142 +}
  1.2143 +#endif
  1.2144 +
  1.2145 +#ifdef	__SYMBIAN32__
  1.2146 + 
  1.2147 +OilFunctionImpl* __oil_function_impl_conv_u8_f32_lrintf() {
  1.2148 +        return &_oil_function_impl_conv_u8_f32_lrintf;
  1.2149 +}
  1.2150 +#endif
  1.2151 +
  1.2152 +#ifdef	__SYMBIAN32__
  1.2153 + 
  1.2154 +OilFunctionImpl* __oil_function_impl_conv_s16_f32_lrintf() {
  1.2155 +        return &_oil_function_impl_conv_s16_f32_lrintf;
  1.2156 +}
  1.2157 +#endif
  1.2158 +
  1.2159 +#ifdef	__SYMBIAN32__
  1.2160 + 
  1.2161 +OilFunctionImpl* __oil_function_impl_conv_u16_f32_lrintf() {
  1.2162 +        return &_oil_function_impl_conv_u16_f32_lrintf;
  1.2163 +}
  1.2164 +#endif
  1.2165 +
  1.2166 +#ifdef	__SYMBIAN32__
  1.2167 + 
  1.2168 +OilFunctionImpl* __oil_function_impl_conv_s32_f32_lrintf() {
  1.2169 +        return &_oil_function_impl_conv_s32_f32_lrintf;
  1.2170 +}
  1.2171 +#endif
  1.2172 +
  1.2173 +
  1.2174 +
  1.2175 +