Type Conversion

## Type Conversion Type Conversion — Type conversion |

## Synopsis

    void                oil_clipconv8x8_u8_s16              (uint8_t *d_8x8,
                                                             int dstr,
                                                             const int16_t *s_8x8,
                                                             int sstr);
    void                oil_clipconv_s16_f32                (int16_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_s16_f64                (int16_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_s16_s32                (int16_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_s16_u16                (int16_t *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_s16_u32                (int16_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_s32_f32                (int32_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_s32_f64                (int32_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_s32_u32                (int32_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_s8_f32                 (int8_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_s8_f64                 (int8_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_s8_s16                 (int8_t *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_s8_s32                 (int8_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_s8_u16                 (int8_t *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_s8_u32                 (int8_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_s8_u8                  (int8_t *dest,
                                                             int dstr,
                                                             const uint8_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_u16_f32                (uint16_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_u16_f64                (uint16_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_u16_s16                (uint16_t *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_u16_s32                (uint16_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_u16_u32                (uint16_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_u32_f32                (uint32_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_u32_f64                (uint32_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_u32_s32                (uint32_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_u8_f32                 (uint8_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_u8_f64                 (uint8_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_u8_s16                 (uint8_t *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_u8_s32                 (uint8_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_u8_s8                  (uint8_t *dest,
                                                             int dstr,
                                                             const int8_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_u8_u16                 (uint8_t *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_clipconv_u8_u32                 (uint8_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv8x8_f64_s16                 (double *d_8x8,
                                                             int dstr,
                                                             const int16_t *s_8x8,
                                                             int sstr);
    void                oil_conv8x8_s16_f64                 (int16_t *d_8x8,
                                                             int dstr,
                                                             const double *s_8x8,
                                                             int sstr);
    void                oil_conv_f32_f64                    (float *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_f32_s16                    (float *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_f32_s32                    (float *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_f32_s8                     (float *dest,
                                                             int dstr,
                                                             const int8_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_f32_u16                    (float *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_f32_u32                    (float *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_f32_u8                     (float *dest,
                                                             int dstr,
                                                             const uint8_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_f64_f32                    (double *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_f64_s16                    (double *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_f64_s32                    (double *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_f64_s8                     (double *dest,
                                                             int dstr,
                                                             const int8_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_f64_u16                    (double *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_f64_u32                    (double *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_f64_u8                     (double *dest,
                                                             int dstr,
                                                             const uint8_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s16_f32                    (int16_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s16_f64                    (int16_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s16_s32                    (int16_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s16_s8                     (int16_t *dest,
                                                             int dstr,
                                                             const int8_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s16_u16                    (int16_t *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s16_u32                    (int16_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s16_u8                     (int16_t *dest,
                                                             int dstr,
                                                             const uint8_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s32_f32                    (int32_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s32_f64                    (int32_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s32_s16                    (int32_t *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s32_s8                     (int32_t *dest,
                                                             int dstr,
                                                             const int8_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s32_u16                    (int32_t *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s32_u32                    (int32_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s32_u8                     (int32_t *dest,
                                                             int dstr,
                                                             const uint8_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s8_f32                     (int8_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s8_f64                     (int8_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s8_s16                     (int8_t *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s8_s32                     (int8_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s8_u16                     (int8_t *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s8_u32                     (int8_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_s8_u8                      (int8_t *dest,
                                                             int dstr,
                                                             const uint8_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u16_f32                    (uint16_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u16_f64                    (uint16_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u16_s16                    (uint16_t *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u16_s32                    (uint16_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u16_s8                     (uint16_t *dest,
                                                             int dstr,
                                                             const int8_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u16_u32                    (uint16_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u16_u8                     (uint16_t *dest,
                                                             int dstr,
                                                             const uint8_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u32_f32                    (uint32_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u32_f64                    (uint32_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u32_s16                    (uint32_t *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u32_s32                    (uint32_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u32_s8                     (uint32_t *dest,
                                                             int dstr,
                                                             const int8_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u32_u16                    (uint32_t *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u32_u8                     (uint32_t *dest,
                                                             int dstr,
                                                             const uint8_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u8_f32                     (uint8_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u8_f64                     (uint8_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u8_s16                     (uint8_t *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u8_s32                     (uint8_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u8_s8                      (uint8_t *dest,
                                                             int dstr,
                                                             const int8_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u8_u16                     (uint8_t *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_conv_u8_u32                     (uint8_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);
    void                oil_scaleconv_f32_s16               (float *dest,
                                                             const int16_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_f32_s32               (float *dest,
                                                             const int32_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_f32_s8                (float *dest,
                                                             const int8_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_f32_u16               (float *dest,
                                                             const uint16_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_f32_u32               (float *dest,
                                                             const uint32_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_f32_u8                (float *dest,
                                                             const uint8_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_f64_s16               (double *dest,
                                                             const int16_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_f64_s32               (double *dest,
                                                             const int32_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_f64_s8                (double *dest,
                                                             const int8_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_f64_u16               (double *dest,
                                                             const uint16_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_f64_u32               (double *dest,
                                                             const uint32_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_f64_u8                (double *dest,
                                                             const uint8_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_s16_f32               (int16_t *dest,
                                                             const float *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_s16_f64               (int16_t *dest,
                                                             const double *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_s32_f32               (int32_t *dest,
                                                             const float *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_s32_f64               (int32_t *dest,
                                                             const double *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_s8_f32                (int8_t *dest,
                                                             const float *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_s8_f64                (int8_t *dest,
                                                             const double *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_u16_f32               (uint16_t *dest,
                                                             const float *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_u16_f64               (uint16_t *dest,
                                                             const double *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_u32_f32               (uint32_t *dest,
                                                             const float *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_u32_f64               (uint32_t *dest,
                                                             const double *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_u8_f32                (uint8_t *dest,
                                                             const float *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);
    void                oil_scaleconv_u8_f64                (uint8_t *dest,
                                                             const double *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

## Description

The functions in this section perform type conversion.

The <i>convert</i> functions convert value from the source type to the destination type. Conversion of values outside the destination range are saturated to the destination range.

The <i>scaleconv</i> functions multiply the source values by a constant factor before converting to the destination type. Conversion of values outside the destination range are clamped to the destination range.

Conversion of values from floating point types to integer types is done using a round-to-nearest policy. Rounding of half-integers is undefined and may vary between implementations.

## Details

### oil_clipconv8x8_u8_s16 ()

    void                oil_clipconv8x8_u8_s16              (uint8_t *d_8x8,
                                                             int dstr,
                                                             const int16_t *s_8x8,
                                                             int sstr);

Converts elements in source array `s_8x8` to the destination type, placing the results in `d_8x8`. Source values outside the destination range are clipped to the destination range.

`d_8x8` : |
`dstr` : |
`s_8x8` : |
`sstr` : |

### oil_clipconv_s16_f32 ()

    void                oil_clipconv_s16_f32                (int16_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_s16_f64 ()

    void                oil_clipconv_s16_f64                (int16_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_s16_s32 ()

    void                oil_clipconv_s16_s32                (int16_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_s16_u16 ()

    void                oil_clipconv_s16_u16                (int16_t *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_s16_u32 ()

    void                oil_clipconv_s16_u32                (int16_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_s32_f32 ()

    void                oil_clipconv_s32_f32                (int32_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_s32_f64 ()

    void                oil_clipconv_s32_f64                (int32_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_s32_u32 ()

    void                oil_clipconv_s32_u32                (int32_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_s8_f32 ()

    void                oil_clipconv_s8_f32                 (int8_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_s8_f64 ()

    void                oil_clipconv_s8_f64                 (int8_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_s8_s16 ()

    void                oil_clipconv_s8_s16                 (int8_t *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_s8_s32 ()

    void                oil_clipconv_s8_s32                 (int8_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_s8_u16 ()

    void                oil_clipconv_s8_u16                 (int8_t *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_s8_u32 ()

    void                oil_clipconv_s8_u32                 (int8_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_s8_u8 ()

    void                oil_clipconv_s8_u8                  (int8_t *dest,
                                                             int dstr,
                                                             const uint8_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_u16_f32 ()

    void                oil_clipconv_u16_f32                (uint16_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_u16_f64 ()

    void                oil_clipconv_u16_f64                (uint16_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_u16_s16 ()

    void                oil_clipconv_u16_s16                (uint16_t *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_u16_s32 ()

    void                oil_clipconv_u16_s32                (uint16_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_u16_u32 ()

    void                oil_clipconv_u16_u32                (uint16_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_u32_f32 ()

    void                oil_clipconv_u32_f32                (uint32_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_u32_f64 ()

    void                oil_clipconv_u32_f64                (uint32_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_u32_s32 ()

    void                oil_clipconv_u32_s32                (uint32_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_u8_f32 ()

    void                oil_clipconv_u8_f32                 (uint8_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_u8_f64 ()

    void                oil_clipconv_u8_f64                 (uint8_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_u8_s16 ()

    void                oil_clipconv_u8_s16                 (uint8_t *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_u8_s32 ()

    void                oil_clipconv_u8_s32                 (uint8_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_u8_s8 ()

    void                oil_clipconv_u8_s8                  (uint8_t *dest,
                                                             int dstr,
                                                             const int8_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_u8_u16 ()

    void                oil_clipconv_u8_u16                 (uint8_t *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_clipconv_u8_u32 ()

    void                oil_clipconv_u8_u32                 (uint8_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are clipped to the destination range. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv8x8_f64_s16 ()

    void                oil_conv8x8_f64_s16                 (double *d_8x8,
                                                             int dstr,
                                                             const int16_t *s_8x8,
                                                             int sstr);

Converts elements in source array `s_8x8` to the destination type, placing the results in `d_8x8`. The conversion of source values outside the destination range are undefined and implementation dependent.

`d_8x8` : |
`dstr` : |
`s_8x8` : |
`sstr` : |

### oil_conv8x8_s16_f64 ()

    void                oil_conv8x8_s16_f64                 (int16_t *d_8x8,
                                                             int dstr,
                                                             const double *s_8x8,
                                                             int sstr);

Converts elements in source array `s_8x8` to the destination type, placing the results in `d_8x8`.

`d_8x8` : |
`dstr` : |
`s_8x8` : |
`sstr` : |

### oil_conv_f32_f64 ()

    void                oil_conv_f32_f64                    (float *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_f32_s16 ()

    void                oil_conv_f32_s16                    (float *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_f32_s32 ()

    void                oil_conv_f32_s32                    (float *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_f32_s8 ()

    void                oil_conv_f32_s8                     (float *dest,
                                                             int dstr,
                                                             const int8_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_f32_u16 ()

    void                oil_conv_f32_u16                    (float *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_f32_u32 ()

    void                oil_conv_f32_u32                    (float *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_f32_u8 ()

    void                oil_conv_f32_u8                     (float *dest,
                                                             int dstr,
                                                             const uint8_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_f64_f32 ()

    void                oil_conv_f64_f32                    (double *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_f64_s16 ()

    void                oil_conv_f64_s16                    (double *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_f64_s32 ()

    void                oil_conv_f64_s32                    (double *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_f64_s8 ()

    void                oil_conv_f64_s8                     (double *dest,
                                                             int dstr,
                                                             const int8_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_f64_u16 ()

    void                oil_conv_f64_u16                    (double *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_f64_u32 ()

    void                oil_conv_f64_u32                    (double *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_f64_u8 ()

    void                oil_conv_f64_u8                     (double *dest,
                                                             int dstr,
                                                             const uint8_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s16_f32 ()

    void                oil_conv_s16_f32                    (int16_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s16_f64 ()

    void                oil_conv_s16_f64                    (int16_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s16_s32 ()

    void                oil_conv_s16_s32                    (int16_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s16_s8 ()

    void                oil_conv_s16_s8                     (int16_t *dest,
                                                             int dstr,
                                                             const int8_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s16_u16 ()

    void                oil_conv_s16_u16                    (int16_t *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s16_u32 ()

    void                oil_conv_s16_u32                    (int16_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s16_u8 ()

    void                oil_conv_s16_u8                     (int16_t *dest,
                                                             int dstr,
                                                             const uint8_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s32_f32 ()

    void                oil_conv_s32_f32                    (int32_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s32_f64 ()

    void                oil_conv_s32_f64                    (int32_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s32_s16 ()

    void                oil_conv_s32_s16                    (int32_t *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s32_s8 ()

    void                oil_conv_s32_s8                     (int32_t *dest,
                                                             int dstr,
                                                             const int8_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s32_u16 ()

    void                oil_conv_s32_u16                    (int32_t *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s32_u32 ()

    void                oil_conv_s32_u32                    (int32_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s32_u8 ()

    void                oil_conv_s32_u8                     (int32_t *dest,
                                                             int dstr,
                                                             const uint8_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s8_f32 ()

    void                oil_conv_s8_f32                     (int8_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s8_f64 ()

    void                oil_conv_s8_f64                     (int8_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s8_s16 ()

    void                oil_conv_s8_s16                     (int8_t *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s8_s32 ()

    void                oil_conv_s8_s32                     (int8_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s8_u16 ()

    void                oil_conv_s8_u16                     (int8_t *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s8_u32 ()

    void                oil_conv_s8_u32                     (int8_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_s8_u8 ()

    void                oil_conv_s8_u8                      (int8_t *dest,
                                                             int dstr,
                                                             const uint8_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u16_f32 ()

    void                oil_conv_u16_f32                    (uint16_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u16_f64 ()

    void                oil_conv_u16_f64                    (uint16_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u16_s16 ()

    void                oil_conv_u16_s16                    (uint16_t *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u16_s32 ()

    void                oil_conv_u16_s32                    (uint16_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u16_s8 ()

    void                oil_conv_u16_s8                     (uint16_t *dest,
                                                             int dstr,
                                                             const int8_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u16_u32 ()

    void                oil_conv_u16_u32                    (uint16_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u16_u8 ()

    void                oil_conv_u16_u8                     (uint16_t *dest,
                                                             int dstr,
                                                             const uint8_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u32_f32 ()

    void                oil_conv_u32_f32                    (uint32_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u32_f64 ()

    void                oil_conv_u32_f64                    (uint32_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u32_s16 ()

    void                oil_conv_u32_s16                    (uint32_t *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u32_s32 ()

    void                oil_conv_u32_s32                    (uint32_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u32_s8 ()

    void                oil_conv_u32_s8                     (uint32_t *dest,
                                                             int dstr,
                                                             const int8_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u32_u16 ()

    void                oil_conv_u32_u16                    (uint32_t *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u32_u8 ()

    void                oil_conv_u32_u8                     (uint32_t *dest,
                                                             int dstr,
                                                             const uint8_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u8_f32 ()

    void                oil_conv_u8_f32                     (uint8_t *dest,
                                                             int dstr,
                                                             const float *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u8_f64 ()

    void                oil_conv_u8_f64                     (uint8_t *dest,
                                                             int dstr,
                                                             const double *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u8_s16 ()

    void                oil_conv_u8_s16                     (uint8_t *dest,
                                                             int dstr,
                                                             const int16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u8_s32 ()

    void                oil_conv_u8_s32                     (uint8_t *dest,
                                                             int dstr,
                                                             const int32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u8_s8 ()

    void                oil_conv_u8_s8                      (uint8_t *dest,
                                                             int dstr,
                                                             const int8_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u8_u16 ()

    void                oil_conv_u8_u16                     (uint8_t *dest,
                                                             int dstr,
                                                             const uint16_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_conv_u8_u32 ()

    void                oil_conv_u8_u32                     (uint8_t *dest,
                                                             int dstr,
                                                             const uint32_t *src,
                                                             int sstr,
                                                             int n);

Converts elements in from the source type to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`dstr` : |
`src` : |
`sstr` : |
`n` : |

### oil_scaleconv_f32_s16 ()

    void                oil_scaleconv_f32_s16               (float *dest,
                                                             const int16_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_f32_s32 ()

    void                oil_scaleconv_f32_s32               (float *dest,
                                                             const int32_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_f32_s8 ()

    void                oil_scaleconv_f32_s8                (float *dest,
                                                             const int8_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_f32_u16 ()

    void                oil_scaleconv_f32_u16               (float *dest,
                                                             const uint16_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_f32_u32 ()

    void                oil_scaleconv_f32_u32               (float *dest,
                                                             const uint32_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_f32_u8 ()

    void                oil_scaleconv_f32_u8                (float *dest,
                                                             const uint8_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_f64_s16 ()

    void                oil_scaleconv_f64_s16               (double *dest,
                                                             const int16_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_f64_s32 ()

    void                oil_scaleconv_f64_s32               (double *dest,
                                                             const int32_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_f64_s8 ()

    void                oil_scaleconv_f64_s8                (double *dest,
                                                             const int8_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_f64_u16 ()

    void                oil_scaleconv_f64_u16               (double *dest,
                                                             const uint16_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_f64_u32 ()

    void                oil_scaleconv_f64_u32               (double *dest,
                                                             const uint32_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_f64_u8 ()

    void                oil_scaleconv_f64_u8                (double *dest,
                                                             const uint8_t *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_s16_f32 ()

    void                oil_scaleconv_s16_f32               (int16_t *dest,
                                                             const float *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_s16_f64 ()

    void                oil_scaleconv_s16_f64               (int16_t *dest,
                                                             const double *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_s32_f32 ()

    void                oil_scaleconv_s32_f32               (int32_t *dest,
                                                             const float *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_s32_f64 ()

    void                oil_scaleconv_s32_f64               (int32_t *dest,
                                                             const double *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_s8_f32 ()

    void                oil_scaleconv_s8_f32                (int8_t *dest,
                                                             const float *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_s8_f64 ()

    void                oil_scaleconv_s8_f64                (int8_t *dest,
                                                             const double *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_u16_f32 ()

    void                oil_scaleconv_u16_f32               (uint16_t *dest,
                                                             const float *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_u16_f64 ()

    void                oil_scaleconv_u16_f64               (uint16_t *dest,
                                                             const double *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_u32_f32 ()

    void                oil_scaleconv_u32_f32               (uint32_t *dest,
                                                             const float *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_u32_f64 ()

    void                oil_scaleconv_u32_f64               (uint32_t *dest,
                                                             const double *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_u8_f32 ()

    void                oil_scaleconv_u8_f32                (uint8_t *dest,
                                                             const float *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |

### oil_scaleconv_u8_f64 ()

    void                oil_scaleconv_u8_f64                (uint8_t *dest,
                                                             const double *src,
                                                             int n,
                                                             const double *s2_1,
                                                             const double *s3_1);

Multiplies elements in by and adds and then converts the result to the destination type and places the result in . Values outside the destination range are undefined and implementation dependent. See the comments at the beginning of this section.

`dest` : |
`src` : |
`n` : | # `s2_1`: # `s3_1`:
`s2_1` : |
`s3_1` : |