liboil.h   liboil.h 
skipping to change at line 31 skipping to change at line 31
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _LIBOIL_H_ #ifndef _LIBOIL_H_
#define _LIBOIL_H_ #define _LIBOIL_H_
#include <stdint.h> #include <liboil/liboil-stdint.h>
#include <liboil/liboilfuncs.h> #include <liboil/liboilfuncs.h>
void oil_init (void); void oil_init (void);
/** /**
* oil_memcpy: * oil_memcpy:
* @dest: * @dest:
* @src: * @src:
* @n_bytes: * @n_bytes:
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 liboilclasses.h   liboilclasses.h 
skipping to change at line 51 skipping to change at line 51
OIL_DECLARE_CLASS(abs_u16_s16); OIL_DECLARE_CLASS(abs_u16_s16);
OIL_DECLARE_CLASS(abs_u32_s32); OIL_DECLARE_CLASS(abs_u32_s32);
OIL_DECLARE_CLASS(abs_u8_s8); OIL_DECLARE_CLASS(abs_u8_s8);
OIL_DECLARE_CLASS(add_f32); OIL_DECLARE_CLASS(add_f32);
OIL_DECLARE_CLASS(argb_paint_u8); OIL_DECLARE_CLASS(argb_paint_u8);
OIL_DECLARE_CLASS(average2_u8); OIL_DECLARE_CLASS(average2_u8);
OIL_DECLARE_CLASS(ayuv2argb_u8); OIL_DECLARE_CLASS(ayuv2argb_u8);
OIL_DECLARE_CLASS(ayuv2uyvy); OIL_DECLARE_CLASS(ayuv2uyvy);
OIL_DECLARE_CLASS(ayuv2yuyv); OIL_DECLARE_CLASS(ayuv2yuyv);
OIL_DECLARE_CLASS(ayuv2yvyu); OIL_DECLARE_CLASS(ayuv2yvyu);
OIL_DECLARE_CLASS(clamp_f32);
OIL_DECLARE_CLASS(clamp_f64);
OIL_DECLARE_CLASS(clamp_s16);
OIL_DECLARE_CLASS(clamp_s32);
OIL_DECLARE_CLASS(clamp_s8);
OIL_DECLARE_CLASS(clamp_u16);
OIL_DECLARE_CLASS(clamp_u32);
OIL_DECLARE_CLASS(clamp_u8);
OIL_DECLARE_CLASS(clamphigh_f32);
OIL_DECLARE_CLASS(clamphigh_f64);
OIL_DECLARE_CLASS(clamphigh_s16);
OIL_DECLARE_CLASS(clamphigh_s32);
OIL_DECLARE_CLASS(clamphigh_s8);
OIL_DECLARE_CLASS(clamphigh_u16);
OIL_DECLARE_CLASS(clamphigh_u32);
OIL_DECLARE_CLASS(clamphigh_u8);
OIL_DECLARE_CLASS(clamplow_f32);
OIL_DECLARE_CLASS(clamplow_f64);
OIL_DECLARE_CLASS(clamplow_s16);
OIL_DECLARE_CLASS(clamplow_s32);
OIL_DECLARE_CLASS(clamplow_s8);
OIL_DECLARE_CLASS(clamplow_u16);
OIL_DECLARE_CLASS(clamplow_u32);
OIL_DECLARE_CLASS(clamplow_u8);
OIL_DECLARE_CLASS(clip_f32); OIL_DECLARE_CLASS(clip_f32);
OIL_DECLARE_CLASS(clip_f64); OIL_DECLARE_CLASS(clip_f64);
OIL_DECLARE_CLASS(clip_s16); OIL_DECLARE_CLASS(clip_s16);
OIL_DECLARE_CLASS(clip_s32); OIL_DECLARE_CLASS(clip_s32);
OIL_DECLARE_CLASS(clip_s8); OIL_DECLARE_CLASS(clip_s8);
OIL_DECLARE_CLASS(clip_u16); OIL_DECLARE_CLASS(clip_u16);
OIL_DECLARE_CLASS(clip_u32); OIL_DECLARE_CLASS(clip_u32);
OIL_DECLARE_CLASS(clip_u8); OIL_DECLARE_CLASS(clip_u8);
OIL_DECLARE_CLASS(clipconv8x8_u8_s16); OIL_DECLARE_CLASS(clipconv8x8_u8_s16);
OIL_DECLARE_CLASS(clipconv_s16_f32); OIL_DECLARE_CLASS(clipconv_s16_f32);
skipping to change at line 90 skipping to change at line 114
OIL_DECLARE_CLASS(clipconv_u32_f32); OIL_DECLARE_CLASS(clipconv_u32_f32);
OIL_DECLARE_CLASS(clipconv_u32_f64); OIL_DECLARE_CLASS(clipconv_u32_f64);
OIL_DECLARE_CLASS(clipconv_u32_s32); OIL_DECLARE_CLASS(clipconv_u32_s32);
OIL_DECLARE_CLASS(clipconv_u8_f32); OIL_DECLARE_CLASS(clipconv_u8_f32);
OIL_DECLARE_CLASS(clipconv_u8_f64); OIL_DECLARE_CLASS(clipconv_u8_f64);
OIL_DECLARE_CLASS(clipconv_u8_s16); OIL_DECLARE_CLASS(clipconv_u8_s16);
OIL_DECLARE_CLASS(clipconv_u8_s32); OIL_DECLARE_CLASS(clipconv_u8_s32);
OIL_DECLARE_CLASS(clipconv_u8_s8); OIL_DECLARE_CLASS(clipconv_u8_s8);
OIL_DECLARE_CLASS(clipconv_u8_u16); OIL_DECLARE_CLASS(clipconv_u8_u16);
OIL_DECLARE_CLASS(clipconv_u8_u32); OIL_DECLARE_CLASS(clipconv_u8_u32);
OIL_DECLARE_CLASS(colorspace_argb);
OIL_DECLARE_CLASS(colsad8x8_u8); OIL_DECLARE_CLASS(colsad8x8_u8);
OIL_DECLARE_CLASS(compare_u8);
OIL_DECLARE_CLASS(composite_add_argb); OIL_DECLARE_CLASS(composite_add_argb);
OIL_DECLARE_CLASS(composite_add_argb_const_src); OIL_DECLARE_CLASS(composite_add_argb_const_src);
OIL_DECLARE_CLASS(composite_add_u8); OIL_DECLARE_CLASS(composite_add_u8);
OIL_DECLARE_CLASS(composite_add_u8_const_src);
OIL_DECLARE_CLASS(composite_in_argb); OIL_DECLARE_CLASS(composite_in_argb);
OIL_DECLARE_CLASS(composite_in_argb_const_mask); OIL_DECLARE_CLASS(composite_in_argb_const_mask);
OIL_DECLARE_CLASS(composite_in_argb_const_src); OIL_DECLARE_CLASS(composite_in_argb_const_src);
OIL_DECLARE_CLASS(composite_in_over_argb); OIL_DECLARE_CLASS(composite_in_over_argb);
OIL_DECLARE_CLASS(composite_in_over_argb_const_mask); OIL_DECLARE_CLASS(composite_in_over_argb_const_mask);
OIL_DECLARE_CLASS(composite_in_over_argb_const_src); OIL_DECLARE_CLASS(composite_in_over_argb_const_src);
OIL_DECLARE_CLASS(composite_over_argb); OIL_DECLARE_CLASS(composite_over_argb);
OIL_DECLARE_CLASS(composite_over_argb_const_src); OIL_DECLARE_CLASS(composite_over_argb_const_src);
OIL_DECLARE_CLASS(composite_over_u8); OIL_DECLARE_CLASS(composite_over_u8);
OIL_DECLARE_CLASS(conv8x8_f64_s16); OIL_DECLARE_CLASS(conv8x8_f64_s16);
skipping to change at line 161 skipping to change at line 188
OIL_DECLARE_CLASS(conv_u32_s8); OIL_DECLARE_CLASS(conv_u32_s8);
OIL_DECLARE_CLASS(conv_u32_u16); OIL_DECLARE_CLASS(conv_u32_u16);
OIL_DECLARE_CLASS(conv_u32_u8); OIL_DECLARE_CLASS(conv_u32_u8);
OIL_DECLARE_CLASS(conv_u8_f32); OIL_DECLARE_CLASS(conv_u8_f32);
OIL_DECLARE_CLASS(conv_u8_f64); OIL_DECLARE_CLASS(conv_u8_f64);
OIL_DECLARE_CLASS(conv_u8_s16); OIL_DECLARE_CLASS(conv_u8_s16);
OIL_DECLARE_CLASS(conv_u8_s32); OIL_DECLARE_CLASS(conv_u8_s32);
OIL_DECLARE_CLASS(conv_u8_s8); OIL_DECLARE_CLASS(conv_u8_s8);
OIL_DECLARE_CLASS(conv_u8_u16); OIL_DECLARE_CLASS(conv_u8_u16);
OIL_DECLARE_CLASS(conv_u8_u32); OIL_DECLARE_CLASS(conv_u8_u32);
OIL_DECLARE_CLASS(convert_s16_f32);
OIL_DECLARE_CLASS(convert_s16_f64);
OIL_DECLARE_CLASS(convert_s16_s32);
OIL_DECLARE_CLASS(convert_s16_s8);
OIL_DECLARE_CLASS(convert_s16_u16);
OIL_DECLARE_CLASS(convert_s16_u32);
OIL_DECLARE_CLASS(convert_s16_u8);
OIL_DECLARE_CLASS(convert_s32_f64);
OIL_DECLARE_CLASS(convert_s32_s16);
OIL_DECLARE_CLASS(convert_s32_s8);
OIL_DECLARE_CLASS(convert_s32_u16);
OIL_DECLARE_CLASS(convert_s32_u32);
OIL_DECLARE_CLASS(convert_s32_u8);
OIL_DECLARE_CLASS(convert_s8_f32);
OIL_DECLARE_CLASS(convert_s8_f64);
OIL_DECLARE_CLASS(convert_s8_s16);
OIL_DECLARE_CLASS(convert_s8_s32);
OIL_DECLARE_CLASS(convert_s8_u16);
OIL_DECLARE_CLASS(convert_s8_u32);
OIL_DECLARE_CLASS(convert_s8_u8);
OIL_DECLARE_CLASS(convert_u16_f32);
OIL_DECLARE_CLASS(convert_u16_f64);
OIL_DECLARE_CLASS(convert_u16_s16);
OIL_DECLARE_CLASS(convert_u16_s32);
OIL_DECLARE_CLASS(convert_u16_u32);
OIL_DECLARE_CLASS(convert_u16_u8);
OIL_DECLARE_CLASS(convert_u32_f64);
OIL_DECLARE_CLASS(convert_u32_s32);
OIL_DECLARE_CLASS(convert_u32_u16);
OIL_DECLARE_CLASS(convert_u32_u8);
OIL_DECLARE_CLASS(convert_u8_f32);
OIL_DECLARE_CLASS(convert_u8_f64);
OIL_DECLARE_CLASS(convert_u8_s16);
OIL_DECLARE_CLASS(convert_u8_s32);
OIL_DECLARE_CLASS(convert_u8_s8);
OIL_DECLARE_CLASS(convert_u8_u16);
OIL_DECLARE_CLASS(convert_u8_u32);
OIL_DECLARE_CLASS(copy8x8_u8); OIL_DECLARE_CLASS(copy8x8_u8);
OIL_DECLARE_CLASS(copy_u8); OIL_DECLARE_CLASS(copy_u8);
OIL_DECLARE_CLASS(dct36_f32); OIL_DECLARE_CLASS(dct36_f32);
OIL_DECLARE_CLASS(dequantize8x8_s16); OIL_DECLARE_CLASS(dequantize8x8_s16);
OIL_DECLARE_CLASS(diff8x8_average_s16_u8); OIL_DECLARE_CLASS(diff8x8_average_s16_u8);
OIL_DECLARE_CLASS(diff8x8_const128_s16_u8); OIL_DECLARE_CLASS(diff8x8_const128_s16_u8);
OIL_DECLARE_CLASS(diff8x8_s16_u8); OIL_DECLARE_CLASS(diff8x8_s16_u8);
OIL_DECLARE_CLASS(diffsquaresum_f64); OIL_DECLARE_CLASS(diffsquaresum_f64);
OIL_DECLARE_CLASS(divide_f32); OIL_DECLARE_CLASS(divide_f32);
OIL_DECLARE_CLASS(err_inter8x8_u8); OIL_DECLARE_CLASS(err_inter8x8_u8);
skipping to change at line 194 skipping to change at line 258
OIL_DECLARE_CLASS(idct8x8theora_s16); OIL_DECLARE_CLASS(idct8x8theora_s16);
OIL_DECLARE_CLASS(imdct12_f64); OIL_DECLARE_CLASS(imdct12_f64);
OIL_DECLARE_CLASS(imdct32_f32); OIL_DECLARE_CLASS(imdct32_f32);
OIL_DECLARE_CLASS(imdct36_f64); OIL_DECLARE_CLASS(imdct36_f64);
OIL_DECLARE_CLASS(inverse_f32); OIL_DECLARE_CLASS(inverse_f32);
OIL_DECLARE_CLASS(maximum_f32); OIL_DECLARE_CLASS(maximum_f32);
OIL_DECLARE_CLASS(md5); OIL_DECLARE_CLASS(md5);
OIL_DECLARE_CLASS(mdct12_f64); OIL_DECLARE_CLASS(mdct12_f64);
OIL_DECLARE_CLASS(mdct36_f64); OIL_DECLARE_CLASS(mdct36_f64);
OIL_DECLARE_CLASS(merge_linear_argb); OIL_DECLARE_CLASS(merge_linear_argb);
OIL_DECLARE_CLASS(merge_linear_u8);
OIL_DECLARE_CLASS(minimum_f32); OIL_DECLARE_CLASS(minimum_f32);
OIL_DECLARE_CLASS(mix_u8); OIL_DECLARE_CLASS(mix_u8);
OIL_DECLARE_CLASS(mt19937);
OIL_DECLARE_CLASS(mult8x8_s16); OIL_DECLARE_CLASS(mult8x8_s16);
OIL_DECLARE_CLASS(multiply_f32); OIL_DECLARE_CLASS(multiply_f32);
OIL_DECLARE_CLASS(multsum_f32); OIL_DECLARE_CLASS(multsum_f32);
OIL_DECLARE_CLASS(multsum_f64); OIL_DECLARE_CLASS(multsum_f64);
OIL_DECLARE_CLASS(negative_f32); OIL_DECLARE_CLASS(negative_f32);
OIL_DECLARE_CLASS(null); OIL_DECLARE_CLASS(null);
OIL_DECLARE_CLASS(permute_f32); OIL_DECLARE_CLASS(permute_f32);
OIL_DECLARE_CLASS(permute_f64); OIL_DECLARE_CLASS(permute_f64);
OIL_DECLARE_CLASS(permute_s16); OIL_DECLARE_CLASS(permute_s16);
OIL_DECLARE_CLASS(permute_s32); OIL_DECLARE_CLASS(permute_s32);
skipping to change at line 269 skipping to change at line 335
OIL_DECLARE_CLASS(scaleconv_s8_f64); OIL_DECLARE_CLASS(scaleconv_s8_f64);
OIL_DECLARE_CLASS(scaleconv_u16_f32); OIL_DECLARE_CLASS(scaleconv_u16_f32);
OIL_DECLARE_CLASS(scaleconv_u16_f64); OIL_DECLARE_CLASS(scaleconv_u16_f64);
OIL_DECLARE_CLASS(scaleconv_u32_f32); OIL_DECLARE_CLASS(scaleconv_u32_f32);
OIL_DECLARE_CLASS(scaleconv_u32_f64); OIL_DECLARE_CLASS(scaleconv_u32_f64);
OIL_DECLARE_CLASS(scaleconv_u8_f32); OIL_DECLARE_CLASS(scaleconv_u8_f32);
OIL_DECLARE_CLASS(scaleconv_u8_f64); OIL_DECLARE_CLASS(scaleconv_u8_f64);
OIL_DECLARE_CLASS(scanlinescale2_u8); OIL_DECLARE_CLASS(scanlinescale2_u8);
OIL_DECLARE_CLASS(sign_f32); OIL_DECLARE_CLASS(sign_f32);
OIL_DECLARE_CLASS(sincos_f64); OIL_DECLARE_CLASS(sincos_f64);
OIL_DECLARE_CLASS(splat_u16_ns);
OIL_DECLARE_CLASS(splat_u32); OIL_DECLARE_CLASS(splat_u32);
OIL_DECLARE_CLASS(splat_u32_ns); OIL_DECLARE_CLASS(splat_u32_ns);
OIL_DECLARE_CLASS(splat_u8); OIL_DECLARE_CLASS(splat_u8);
OIL_DECLARE_CLASS(splat_u8_ns); OIL_DECLARE_CLASS(splat_u8_ns);
OIL_DECLARE_CLASS(squaresum_f64); OIL_DECLARE_CLASS(squaresum_f64);
OIL_DECLARE_CLASS(squaresum_shifted_s16);
OIL_DECLARE_CLASS(subtract_f32); OIL_DECLARE_CLASS(subtract_f32);
OIL_DECLARE_CLASS(sum_f64); OIL_DECLARE_CLASS(sum_f64);
OIL_DECLARE_CLASS(swab_u16);
OIL_DECLARE_CLASS(swab_u32);
OIL_DECLARE_CLASS(tablelookup_u8); OIL_DECLARE_CLASS(tablelookup_u8);
OIL_DECLARE_CLASS(testzero_u8);
OIL_DECLARE_CLASS(trans8x8_f64); OIL_DECLARE_CLASS(trans8x8_f64);
OIL_DECLARE_CLASS(trans8x8_u16); OIL_DECLARE_CLASS(trans8x8_u16);
OIL_DECLARE_CLASS(trans8x8_u32); OIL_DECLARE_CLASS(trans8x8_u32);
OIL_DECLARE_CLASS(trans8x8_u8); OIL_DECLARE_CLASS(trans8x8_u8);
OIL_DECLARE_CLASS(unzigzag8x8_s16); OIL_DECLARE_CLASS(unzigzag8x8_s16);
OIL_DECLARE_CLASS(utf8_validate); OIL_DECLARE_CLASS(utf8_validate);
OIL_DECLARE_CLASS(uyvy2ayuv); OIL_DECLARE_CLASS(uyvy2ayuv);
OIL_DECLARE_CLASS(vectoradd_f32); OIL_DECLARE_CLASS(vectoradd_f32);
OIL_DECLARE_CLASS(vectoradd_f64); OIL_DECLARE_CLASS(vectoradd_f64);
OIL_DECLARE_CLASS(vectoradd_s16); OIL_DECLARE_CLASS(vectoradd_s16);
 End of changes. 11 change blocks. 
0 lines changed or deleted 71 lines changed or added


 liboilfuncs.h   liboilfuncs.h 
skipping to change at line 75 skipping to change at line 75
#define oil_ayuv2argb_u8 ((_oil_type_ayuv2argb_u8)(*(void **)oil_function_c lass_ptr_ayuv2argb_u8)) #define oil_ayuv2argb_u8 ((_oil_type_ayuv2argb_u8)(*(void **)oil_function_c lass_ptr_ayuv2argb_u8))
extern OilFunctionClass *oil_function_class_ptr_ayuv2uyvy; extern OilFunctionClass *oil_function_class_ptr_ayuv2uyvy;
typedef void (*_oil_type_ayuv2uyvy)(uint32_t * d_n, const uint32_t * s_n, i nt n); typedef void (*_oil_type_ayuv2uyvy)(uint32_t * d_n, const uint32_t * s_n, i nt n);
#define oil_ayuv2uyvy ((_oil_type_ayuv2uyvy)(*(void **)oil_function_class_p tr_ayuv2uyvy)) #define oil_ayuv2uyvy ((_oil_type_ayuv2uyvy)(*(void **)oil_function_class_p tr_ayuv2uyvy))
extern OilFunctionClass *oil_function_class_ptr_ayuv2yuyv; extern OilFunctionClass *oil_function_class_ptr_ayuv2yuyv;
typedef void (*_oil_type_ayuv2yuyv)(uint32_t * d_n, const uint32_t * s_n, i nt n); typedef void (*_oil_type_ayuv2yuyv)(uint32_t * d_n, const uint32_t * s_n, i nt n);
#define oil_ayuv2yuyv ((_oil_type_ayuv2yuyv)(*(void **)oil_function_class_p tr_ayuv2yuyv)) #define oil_ayuv2yuyv ((_oil_type_ayuv2yuyv)(*(void **)oil_function_class_p tr_ayuv2yuyv))
extern OilFunctionClass *oil_function_class_ptr_ayuv2yvyu; extern OilFunctionClass *oil_function_class_ptr_ayuv2yvyu;
typedef void (*_oil_type_ayuv2yvyu)(uint32_t * d_n, const uint32_t * s_n, i nt n); typedef void (*_oil_type_ayuv2yvyu)(uint32_t * d_n, const uint32_t * s_n, i nt n);
#define oil_ayuv2yvyu ((_oil_type_ayuv2yvyu)(*(void **)oil_function_class_p tr_ayuv2yvyu)) #define oil_ayuv2yvyu ((_oil_type_ayuv2yvyu)(*(void **)oil_function_class_p tr_ayuv2yvyu))
extern OilFunctionClass *oil_function_class_ptr_clamp_f32;
typedef void (*_oil_type_clamp_f32)(float * dest, const float * src, int n,
const float * s2_1, const float * s3_1);
#define oil_clamp_f32 ((_oil_type_clamp_f32)(*(void **)oil_function_class_p
tr_clamp_f32))
extern OilFunctionClass *oil_function_class_ptr_clamp_f64;
typedef void (*_oil_type_clamp_f64)(double * dest, const double * src, int
n, const double * s2_1, const double * s3_1);
#define oil_clamp_f64 ((_oil_type_clamp_f64)(*(void **)oil_function_class_p
tr_clamp_f64))
extern OilFunctionClass *oil_function_class_ptr_clamp_s16;
typedef void (*_oil_type_clamp_s16)(int16_t * dest, const int16_t * src, in
t n, const int16_t * s2_1, const int16_t * s3_1);
#define oil_clamp_s16 ((_oil_type_clamp_s16)(*(void **)oil_function_class_p
tr_clamp_s16))
extern OilFunctionClass *oil_function_class_ptr_clamp_s32;
typedef void (*_oil_type_clamp_s32)(int32_t * dest, const int32_t * src, in
t n, const int32_t * s2_1, const int32_t * s3_1);
#define oil_clamp_s32 ((_oil_type_clamp_s32)(*(void **)oil_function_class_p
tr_clamp_s32))
extern OilFunctionClass *oil_function_class_ptr_clamp_s8;
typedef void (*_oil_type_clamp_s8)(int8_t * dest, const int8_t * src, int n
, const int8_t * s2_1, const int8_t * s3_1);
#define oil_clamp_s8 ((_oil_type_clamp_s8)(*(void **)oil_function_class_ptr
_clamp_s8))
extern OilFunctionClass *oil_function_class_ptr_clamp_u16;
typedef void (*_oil_type_clamp_u16)(uint16_t * dest, const uint16_t * src,
int n, const uint16_t * s2_1, const uint16_t * s3_1);
#define oil_clamp_u16 ((_oil_type_clamp_u16)(*(void **)oil_function_class_p
tr_clamp_u16))
extern OilFunctionClass *oil_function_class_ptr_clamp_u32;
typedef void (*_oil_type_clamp_u32)(uint32_t * dest, const uint32_t * src,
int n, const uint32_t * s2_1, const uint32_t * s3_1);
#define oil_clamp_u32 ((_oil_type_clamp_u32)(*(void **)oil_function_class_p
tr_clamp_u32))
extern OilFunctionClass *oil_function_class_ptr_clamp_u8;
typedef void (*_oil_type_clamp_u8)(uint8_t * dest, const uint8_t * src, int
n, const uint8_t * s2_1, const uint8_t * s3_1);
#define oil_clamp_u8 ((_oil_type_clamp_u8)(*(void **)oil_function_class_ptr
_clamp_u8))
extern OilFunctionClass *oil_function_class_ptr_clamphigh_f32;
typedef void (*_oil_type_clamphigh_f32)(float * dest, const float * src, in
t n, const float * s2_1);
#define oil_clamphigh_f32 ((_oil_type_clamphigh_f32)(*(void **)oil_function
_class_ptr_clamphigh_f32))
extern OilFunctionClass *oil_function_class_ptr_clamphigh_f64;
typedef void (*_oil_type_clamphigh_f64)(double * dest, const double * src,
int n, const double * s2_1);
#define oil_clamphigh_f64 ((_oil_type_clamphigh_f64)(*(void **)oil_function
_class_ptr_clamphigh_f64))
extern OilFunctionClass *oil_function_class_ptr_clamphigh_s16;
typedef void (*_oil_type_clamphigh_s16)(int16_t * dest, const int16_t * src
, int n, const int16_t * s2_1);
#define oil_clamphigh_s16 ((_oil_type_clamphigh_s16)(*(void **)oil_function
_class_ptr_clamphigh_s16))
extern OilFunctionClass *oil_function_class_ptr_clamphigh_s32;
typedef void (*_oil_type_clamphigh_s32)(int32_t * dest, const int32_t * src
, int n, const int32_t * s2_1);
#define oil_clamphigh_s32 ((_oil_type_clamphigh_s32)(*(void **)oil_function
_class_ptr_clamphigh_s32))
extern OilFunctionClass *oil_function_class_ptr_clamphigh_s8;
typedef void (*_oil_type_clamphigh_s8)(int8_t * dest, const int8_t * src, i
nt n, const int8_t * s2_1);
#define oil_clamphigh_s8 ((_oil_type_clamphigh_s8)(*(void **)oil_function_c
lass_ptr_clamphigh_s8))
extern OilFunctionClass *oil_function_class_ptr_clamphigh_u16;
typedef void (*_oil_type_clamphigh_u16)(uint16_t * dest, const uint16_t * s
rc, int n, const uint16_t * s2_1);
#define oil_clamphigh_u16 ((_oil_type_clamphigh_u16)(*(void **)oil_function
_class_ptr_clamphigh_u16))
extern OilFunctionClass *oil_function_class_ptr_clamphigh_u32;
typedef void (*_oil_type_clamphigh_u32)(uint32_t * dest, const uint32_t * s
rc, int n, const uint32_t * s2_1);
#define oil_clamphigh_u32 ((_oil_type_clamphigh_u32)(*(void **)oil_function
_class_ptr_clamphigh_u32))
extern OilFunctionClass *oil_function_class_ptr_clamphigh_u8;
typedef void (*_oil_type_clamphigh_u8)(uint8_t * dest, const uint8_t * src,
int n, const uint8_t * s2_1);
#define oil_clamphigh_u8 ((_oil_type_clamphigh_u8)(*(void **)oil_function_c
lass_ptr_clamphigh_u8))
extern OilFunctionClass *oil_function_class_ptr_clamplow_f32;
typedef void (*_oil_type_clamplow_f32)(float * dest, const float * src, int
n, const float * s2_1);
#define oil_clamplow_f32 ((_oil_type_clamplow_f32)(*(void **)oil_function_c
lass_ptr_clamplow_f32))
extern OilFunctionClass *oil_function_class_ptr_clamplow_f64;
typedef void (*_oil_type_clamplow_f64)(double * dest, const double * src, i
nt n, const double * s2_1);
#define oil_clamplow_f64 ((_oil_type_clamplow_f64)(*(void **)oil_function_c
lass_ptr_clamplow_f64))
extern OilFunctionClass *oil_function_class_ptr_clamplow_s16;
typedef void (*_oil_type_clamplow_s16)(int16_t * dest, const int16_t * src,
int n, const int16_t * s2_1);
#define oil_clamplow_s16 ((_oil_type_clamplow_s16)(*(void **)oil_function_c
lass_ptr_clamplow_s16))
extern OilFunctionClass *oil_function_class_ptr_clamplow_s32;
typedef void (*_oil_type_clamplow_s32)(int32_t * dest, const int32_t * src,
int n, const int32_t * s2_1);
#define oil_clamplow_s32 ((_oil_type_clamplow_s32)(*(void **)oil_function_c
lass_ptr_clamplow_s32))
extern OilFunctionClass *oil_function_class_ptr_clamplow_s8;
typedef void (*_oil_type_clamplow_s8)(int8_t * dest, const int8_t * src, in
t n, const int8_t * s2_1);
#define oil_clamplow_s8 ((_oil_type_clamplow_s8)(*(void **)oil_function_cla
ss_ptr_clamplow_s8))
extern OilFunctionClass *oil_function_class_ptr_clamplow_u16;
typedef void (*_oil_type_clamplow_u16)(uint16_t * dest, const uint16_t * sr
c, int n, const uint16_t * s2_1);
#define oil_clamplow_u16 ((_oil_type_clamplow_u16)(*(void **)oil_function_c
lass_ptr_clamplow_u16))
extern OilFunctionClass *oil_function_class_ptr_clamplow_u32;
typedef void (*_oil_type_clamplow_u32)(uint32_t * dest, const uint32_t * sr
c, int n, const uint32_t * s2_1);
#define oil_clamplow_u32 ((_oil_type_clamplow_u32)(*(void **)oil_function_c
lass_ptr_clamplow_u32))
extern OilFunctionClass *oil_function_class_ptr_clamplow_u8;
typedef void (*_oil_type_clamplow_u8)(uint8_t * dest, const uint8_t * src,
int n, const uint8_t * s2_1);
#define oil_clamplow_u8 ((_oil_type_clamplow_u8)(*(void **)oil_function_cla
ss_ptr_clamplow_u8))
extern OilFunctionClass *oil_function_class_ptr_clip_f32; extern OilFunctionClass *oil_function_class_ptr_clip_f32;
typedef void (*_oil_type_clip_f32)(float * dest, int dstr, const float * sr c, int sstr, int n, const float * s2_1, const float * s3_1); typedef void (*_oil_type_clip_f32)(float * dest, int dstr, const float * sr c, int sstr, int n, const float * s2_1, const float * s3_1);
#define oil_clip_f32 ((_oil_type_clip_f32)(*(void **)oil_function_class_ptr _clip_f32)) #define oil_clip_f32 ((_oil_type_clip_f32)(*(void **)oil_function_class_ptr _clip_f32))
extern OilFunctionClass *oil_function_class_ptr_clip_f64; extern OilFunctionClass *oil_function_class_ptr_clip_f64;
typedef void (*_oil_type_clip_f64)(double * dest, int dstr, const double * src, int sstr, int n, const double * s2_1, const double * s3_1); typedef void (*_oil_type_clip_f64)(double * dest, int dstr, const double * src, int sstr, int n, const double * s2_1, const double * s3_1);
#define oil_clip_f64 ((_oil_type_clip_f64)(*(void **)oil_function_class_ptr _clip_f64)) #define oil_clip_f64 ((_oil_type_clip_f64)(*(void **)oil_function_class_ptr _clip_f64))
extern OilFunctionClass *oil_function_class_ptr_clip_s16; extern OilFunctionClass *oil_function_class_ptr_clip_s16;
typedef void (*_oil_type_clip_s16)(int16_t * dest, int dstr, const int16_t * src, int sstr, int n, const int16_t * s2_1, const int16_t * s3_1); typedef void (*_oil_type_clip_s16)(int16_t * dest, int dstr, const int16_t * src, int sstr, int n, const int16_t * s2_1, const int16_t * s3_1);
#define oil_clip_s16 ((_oil_type_clip_s16)(*(void **)oil_function_class_ptr _clip_s16)) #define oil_clip_s16 ((_oil_type_clip_s16)(*(void **)oil_function_class_ptr _clip_s16))
extern OilFunctionClass *oil_function_class_ptr_clip_s32; extern OilFunctionClass *oil_function_class_ptr_clip_s32;
skipping to change at line 192 skipping to change at line 264
#define oil_clipconv_u8_s32 ((_oil_type_clipconv_u8_s32)(*(void **)oil_func tion_class_ptr_clipconv_u8_s32)) #define oil_clipconv_u8_s32 ((_oil_type_clipconv_u8_s32)(*(void **)oil_func tion_class_ptr_clipconv_u8_s32))
extern OilFunctionClass *oil_function_class_ptr_clipconv_u8_s8; extern OilFunctionClass *oil_function_class_ptr_clipconv_u8_s8;
typedef void (*_oil_type_clipconv_u8_s8)(uint8_t * dest, int dstr, const in t8_t * src, int sstr, int n); typedef void (*_oil_type_clipconv_u8_s8)(uint8_t * dest, int dstr, const in t8_t * src, int sstr, int n);
#define oil_clipconv_u8_s8 ((_oil_type_clipconv_u8_s8)(*(void **)oil_functi on_class_ptr_clipconv_u8_s8)) #define oil_clipconv_u8_s8 ((_oil_type_clipconv_u8_s8)(*(void **)oil_functi on_class_ptr_clipconv_u8_s8))
extern OilFunctionClass *oil_function_class_ptr_clipconv_u8_u16; extern OilFunctionClass *oil_function_class_ptr_clipconv_u8_u16;
typedef void (*_oil_type_clipconv_u8_u16)(uint8_t * dest, int dstr, const u int16_t * src, int sstr, int n); typedef void (*_oil_type_clipconv_u8_u16)(uint8_t * dest, int dstr, const u int16_t * src, int sstr, int n);
#define oil_clipconv_u8_u16 ((_oil_type_clipconv_u8_u16)(*(void **)oil_func tion_class_ptr_clipconv_u8_u16)) #define oil_clipconv_u8_u16 ((_oil_type_clipconv_u8_u16)(*(void **)oil_func tion_class_ptr_clipconv_u8_u16))
extern OilFunctionClass *oil_function_class_ptr_clipconv_u8_u32; extern OilFunctionClass *oil_function_class_ptr_clipconv_u8_u32;
typedef void (*_oil_type_clipconv_u8_u32)(uint8_t * dest, int dstr, const u int32_t * src, int sstr, int n); typedef void (*_oil_type_clipconv_u8_u32)(uint8_t * dest, int dstr, const u int32_t * src, int sstr, int n);
#define oil_clipconv_u8_u32 ((_oil_type_clipconv_u8_u32)(*(void **)oil_func tion_class_ptr_clipconv_u8_u32)) #define oil_clipconv_u8_u32 ((_oil_type_clipconv_u8_u32)(*(void **)oil_func tion_class_ptr_clipconv_u8_u32))
extern OilFunctionClass *oil_function_class_ptr_colorspace_argb;
typedef void (*_oil_type_colorspace_argb)(uint32_t * d, const uint32_t * s,
const int16_t * s2_24, int n);
#define oil_colorspace_argb ((_oil_type_colorspace_argb)(*(void **)oil_func
tion_class_ptr_colorspace_argb))
extern OilFunctionClass *oil_function_class_ptr_colsad8x8_u8; extern OilFunctionClass *oil_function_class_ptr_colsad8x8_u8;
typedef void (*_oil_type_colsad8x8_u8)(uint32_t * d_1, const uint8_t * s1_8 x8, int ss1, const uint8_t * s2_8x8, int ss2); typedef void (*_oil_type_colsad8x8_u8)(uint32_t * d_1, const uint8_t * s1_8 x8, int ss1, const uint8_t * s2_8x8, int ss2);
#define oil_colsad8x8_u8 ((_oil_type_colsad8x8_u8)(*(void **)oil_function_c lass_ptr_colsad8x8_u8)) #define oil_colsad8x8_u8 ((_oil_type_colsad8x8_u8)(*(void **)oil_function_c lass_ptr_colsad8x8_u8))
extern OilFunctionClass *oil_function_class_ptr_compare_u8;
typedef void (*_oil_type_compare_u8)(uint32_t * d_1, const uint8_t * s1, co
nst uint8_t * s2, int n);
#define oil_compare_u8 ((_oil_type_compare_u8)(*(void **)oil_function_class
_ptr_compare_u8))
extern OilFunctionClass *oil_function_class_ptr_composite_add_argb; extern OilFunctionClass *oil_function_class_ptr_composite_add_argb;
typedef void (*_oil_type_composite_add_argb)(uint32_t * i_n, const uint32_t * s1_n, int n); typedef void (*_oil_type_composite_add_argb)(uint32_t * i_n, const uint32_t * s1_n, int n);
#define oil_composite_add_argb ((_oil_type_composite_add_argb)(*(void **)oi l_function_class_ptr_composite_add_argb)) #define oil_composite_add_argb ((_oil_type_composite_add_argb)(*(void **)oi l_function_class_ptr_composite_add_argb))
extern OilFunctionClass *oil_function_class_ptr_composite_add_argb_const_sr c; extern OilFunctionClass *oil_function_class_ptr_composite_add_argb_const_sr c;
typedef void (*_oil_type_composite_add_argb_const_src)(uint32_t * i_n, cons t uint32_t * s1_1, int n); typedef void (*_oil_type_composite_add_argb_const_src)(uint32_t * i_n, cons t uint32_t * s1_1, int n);
#define oil_composite_add_argb_const_src ((_oil_type_composite_add_argb_con st_src)(*(void **)oil_function_class_ptr_composite_add_argb_const_src)) #define oil_composite_add_argb_const_src ((_oil_type_composite_add_argb_con st_src)(*(void **)oil_function_class_ptr_composite_add_argb_const_src))
extern OilFunctionClass *oil_function_class_ptr_composite_add_u8; extern OilFunctionClass *oil_function_class_ptr_composite_add_u8;
typedef void (*_oil_type_composite_add_u8)(uint8_t * i_n, const uint8_t * s 1_n, int n); typedef void (*_oil_type_composite_add_u8)(uint8_t * i_n, const uint8_t * s 1_n, int n);
#define oil_composite_add_u8 ((_oil_type_composite_add_u8)(*(void **)oil_fu nction_class_ptr_composite_add_u8)) #define oil_composite_add_u8 ((_oil_type_composite_add_u8)(*(void **)oil_fu nction_class_ptr_composite_add_u8))
extern OilFunctionClass *oil_function_class_ptr_composite_add_u8_const_src;
typedef void (*_oil_type_composite_add_u8_const_src)(uint8_t * i_n, const u
int8_t * s1_1, int n);
#define oil_composite_add_u8_const_src ((_oil_type_composite_add_u8_const_s
rc)(*(void **)oil_function_class_ptr_composite_add_u8_const_src))
extern OilFunctionClass *oil_function_class_ptr_composite_in_argb; extern OilFunctionClass *oil_function_class_ptr_composite_in_argb;
typedef void (*_oil_type_composite_in_argb)(uint32_t * d_n, const uint32_t * s1_n, const uint8_t * s2_n, int n); typedef void (*_oil_type_composite_in_argb)(uint32_t * d_n, const uint32_t * s1_n, const uint8_t * s2_n, int n);
#define oil_composite_in_argb ((_oil_type_composite_in_argb)(*(void **)oil_ function_class_ptr_composite_in_argb)) #define oil_composite_in_argb ((_oil_type_composite_in_argb)(*(void **)oil_ function_class_ptr_composite_in_argb))
extern OilFunctionClass *oil_function_class_ptr_composite_in_argb_const_mas k; extern OilFunctionClass *oil_function_class_ptr_composite_in_argb_const_mas k;
typedef void (*_oil_type_composite_in_argb_const_mask)(uint32_t * d_n, cons t uint32_t * s1_n, const uint8_t * s2_1, int n); typedef void (*_oil_type_composite_in_argb_const_mask)(uint32_t * d_n, cons t uint32_t * s1_n, const uint8_t * s2_1, int n);
#define oil_composite_in_argb_const_mask ((_oil_type_composite_in_argb_cons t_mask)(*(void **)oil_function_class_ptr_composite_in_argb_const_mask)) #define oil_composite_in_argb_const_mask ((_oil_type_composite_in_argb_cons t_mask)(*(void **)oil_function_class_ptr_composite_in_argb_const_mask))
extern OilFunctionClass *oil_function_class_ptr_composite_in_argb_const_src ; extern OilFunctionClass *oil_function_class_ptr_composite_in_argb_const_src ;
typedef void (*_oil_type_composite_in_argb_const_src)(uint32_t * d_n, const uint32_t * s1_1, const uint8_t * s2_n, int n); typedef void (*_oil_type_composite_in_argb_const_src)(uint32_t * d_n, const uint32_t * s1_1, const uint8_t * s2_n, int n);
#define oil_composite_in_argb_const_src ((_oil_type_composite_in_argb_const _src)(*(void **)oil_function_class_ptr_composite_in_argb_const_src)) #define oil_composite_in_argb_const_src ((_oil_type_composite_in_argb_const _src)(*(void **)oil_function_class_ptr_composite_in_argb_const_src))
extern OilFunctionClass *oil_function_class_ptr_composite_in_over_argb; extern OilFunctionClass *oil_function_class_ptr_composite_in_over_argb;
skipping to change at line 405 skipping to change at line 486
#define oil_conv_u8_s32 ((_oil_type_conv_u8_s32)(*(void **)oil_function_cla ss_ptr_conv_u8_s32)) #define oil_conv_u8_s32 ((_oil_type_conv_u8_s32)(*(void **)oil_function_cla ss_ptr_conv_u8_s32))
extern OilFunctionClass *oil_function_class_ptr_conv_u8_s8; extern OilFunctionClass *oil_function_class_ptr_conv_u8_s8;
typedef void (*_oil_type_conv_u8_s8)(uint8_t * dest, int dstr, const int8_t * src, int sstr, int n); typedef void (*_oil_type_conv_u8_s8)(uint8_t * dest, int dstr, const int8_t * src, int sstr, int n);
#define oil_conv_u8_s8 ((_oil_type_conv_u8_s8)(*(void **)oil_function_class _ptr_conv_u8_s8)) #define oil_conv_u8_s8 ((_oil_type_conv_u8_s8)(*(void **)oil_function_class _ptr_conv_u8_s8))
extern OilFunctionClass *oil_function_class_ptr_conv_u8_u16; extern OilFunctionClass *oil_function_class_ptr_conv_u8_u16;
typedef void (*_oil_type_conv_u8_u16)(uint8_t * dest, int dstr, const uint1 6_t * src, int sstr, int n); typedef void (*_oil_type_conv_u8_u16)(uint8_t * dest, int dstr, const uint1 6_t * src, int sstr, int n);
#define oil_conv_u8_u16 ((_oil_type_conv_u8_u16)(*(void **)oil_function_cla ss_ptr_conv_u8_u16)) #define oil_conv_u8_u16 ((_oil_type_conv_u8_u16)(*(void **)oil_function_cla ss_ptr_conv_u8_u16))
extern OilFunctionClass *oil_function_class_ptr_conv_u8_u32; extern OilFunctionClass *oil_function_class_ptr_conv_u8_u32;
typedef void (*_oil_type_conv_u8_u32)(uint8_t * dest, int dstr, const uint3 2_t * src, int sstr, int n); typedef void (*_oil_type_conv_u8_u32)(uint8_t * dest, int dstr, const uint3 2_t * src, int sstr, int n);
#define oil_conv_u8_u32 ((_oil_type_conv_u8_u32)(*(void **)oil_function_cla ss_ptr_conv_u8_u32)) #define oil_conv_u8_u32 ((_oil_type_conv_u8_u32)(*(void **)oil_function_cla ss_ptr_conv_u8_u32))
extern OilFunctionClass *oil_function_class_ptr_convert_s16_f32;
typedef void (*_oil_type_convert_s16_f32)(int16_t * dest, const float * src
, int n);
#define oil_convert_s16_f32 ((_oil_type_convert_s16_f32)(*(void **)oil_func
tion_class_ptr_convert_s16_f32))
extern OilFunctionClass *oil_function_class_ptr_convert_s16_f64;
typedef void (*_oil_type_convert_s16_f64)(int16_t * dest, const double * sr
c, int n);
#define oil_convert_s16_f64 ((_oil_type_convert_s16_f64)(*(void **)oil_func
tion_class_ptr_convert_s16_f64))
extern OilFunctionClass *oil_function_class_ptr_convert_s16_s32;
typedef void (*_oil_type_convert_s16_s32)(int16_t * dest, const int32_t * s
rc, int n);
#define oil_convert_s16_s32 ((_oil_type_convert_s16_s32)(*(void **)oil_func
tion_class_ptr_convert_s16_s32))
extern OilFunctionClass *oil_function_class_ptr_convert_s16_s8;
typedef void (*_oil_type_convert_s16_s8)(int16_t * dest, const int8_t * src
, int n);
#define oil_convert_s16_s8 ((_oil_type_convert_s16_s8)(*(void **)oil_functi
on_class_ptr_convert_s16_s8))
extern OilFunctionClass *oil_function_class_ptr_convert_s16_u16;
typedef void (*_oil_type_convert_s16_u16)(int16_t * dest, const uint16_t *
src, int n);
#define oil_convert_s16_u16 ((_oil_type_convert_s16_u16)(*(void **)oil_func
tion_class_ptr_convert_s16_u16))
extern OilFunctionClass *oil_function_class_ptr_convert_s16_u32;
typedef void (*_oil_type_convert_s16_u32)(int16_t * dest, const uint32_t *
src, int n);
#define oil_convert_s16_u32 ((_oil_type_convert_s16_u32)(*(void **)oil_func
tion_class_ptr_convert_s16_u32))
extern OilFunctionClass *oil_function_class_ptr_convert_s16_u8;
typedef void (*_oil_type_convert_s16_u8)(int16_t * dest, const uint8_t * sr
c, int n);
#define oil_convert_s16_u8 ((_oil_type_convert_s16_u8)(*(void **)oil_functi
on_class_ptr_convert_s16_u8))
extern OilFunctionClass *oil_function_class_ptr_convert_s32_f64;
typedef void (*_oil_type_convert_s32_f64)(int32_t * dest, const double * sr
c, int n);
#define oil_convert_s32_f64 ((_oil_type_convert_s32_f64)(*(void **)oil_func
tion_class_ptr_convert_s32_f64))
extern OilFunctionClass *oil_function_class_ptr_convert_s32_s16;
typedef void (*_oil_type_convert_s32_s16)(int32_t * dest, const int16_t * s
rc, int n);
#define oil_convert_s32_s16 ((_oil_type_convert_s32_s16)(*(void **)oil_func
tion_class_ptr_convert_s32_s16))
extern OilFunctionClass *oil_function_class_ptr_convert_s32_s8;
typedef void (*_oil_type_convert_s32_s8)(int32_t * dest, const int8_t * src
, int n);
#define oil_convert_s32_s8 ((_oil_type_convert_s32_s8)(*(void **)oil_functi
on_class_ptr_convert_s32_s8))
extern OilFunctionClass *oil_function_class_ptr_convert_s32_u16;
typedef void (*_oil_type_convert_s32_u16)(int32_t * dest, const uint16_t *
src, int n);
#define oil_convert_s32_u16 ((_oil_type_convert_s32_u16)(*(void **)oil_func
tion_class_ptr_convert_s32_u16))
extern OilFunctionClass *oil_function_class_ptr_convert_s32_u32;
typedef void (*_oil_type_convert_s32_u32)(int32_t * dest, const uint32_t *
src, int n);
#define oil_convert_s32_u32 ((_oil_type_convert_s32_u32)(*(void **)oil_func
tion_class_ptr_convert_s32_u32))
extern OilFunctionClass *oil_function_class_ptr_convert_s32_u8;
typedef void (*_oil_type_convert_s32_u8)(int32_t * dest, const uint8_t * sr
c, int n);
#define oil_convert_s32_u8 ((_oil_type_convert_s32_u8)(*(void **)oil_functi
on_class_ptr_convert_s32_u8))
extern OilFunctionClass *oil_function_class_ptr_convert_s8_f32;
typedef void (*_oil_type_convert_s8_f32)(int8_t * dest, const float * src,
int n);
#define oil_convert_s8_f32 ((_oil_type_convert_s8_f32)(*(void **)oil_functi
on_class_ptr_convert_s8_f32))
extern OilFunctionClass *oil_function_class_ptr_convert_s8_f64;
typedef void (*_oil_type_convert_s8_f64)(int8_t * dest, const double * src,
int n);
#define oil_convert_s8_f64 ((_oil_type_convert_s8_f64)(*(void **)oil_functi
on_class_ptr_convert_s8_f64))
extern OilFunctionClass *oil_function_class_ptr_convert_s8_s16;
typedef void (*_oil_type_convert_s8_s16)(int8_t * dest, const int16_t * src
, int n);
#define oil_convert_s8_s16 ((_oil_type_convert_s8_s16)(*(void **)oil_functi
on_class_ptr_convert_s8_s16))
extern OilFunctionClass *oil_function_class_ptr_convert_s8_s32;
typedef void (*_oil_type_convert_s8_s32)(int8_t * dest, const int32_t * src
, int n);
#define oil_convert_s8_s32 ((_oil_type_convert_s8_s32)(*(void **)oil_functi
on_class_ptr_convert_s8_s32))
extern OilFunctionClass *oil_function_class_ptr_convert_s8_u16;
typedef void (*_oil_type_convert_s8_u16)(int8_t * dest, const uint16_t * sr
c, int n);
#define oil_convert_s8_u16 ((_oil_type_convert_s8_u16)(*(void **)oil_functi
on_class_ptr_convert_s8_u16))
extern OilFunctionClass *oil_function_class_ptr_convert_s8_u32;
typedef void (*_oil_type_convert_s8_u32)(int8_t * dest, const uint32_t * sr
c, int n);
#define oil_convert_s8_u32 ((_oil_type_convert_s8_u32)(*(void **)oil_functi
on_class_ptr_convert_s8_u32))
extern OilFunctionClass *oil_function_class_ptr_convert_s8_u8;
typedef void (*_oil_type_convert_s8_u8)(int8_t * dest, const uint8_t * src,
int n);
#define oil_convert_s8_u8 ((_oil_type_convert_s8_u8)(*(void **)oil_function
_class_ptr_convert_s8_u8))
extern OilFunctionClass *oil_function_class_ptr_convert_u16_f32;
typedef void (*_oil_type_convert_u16_f32)(uint16_t * dest, const float * sr
c, int n);
#define oil_convert_u16_f32 ((_oil_type_convert_u16_f32)(*(void **)oil_func
tion_class_ptr_convert_u16_f32))
extern OilFunctionClass *oil_function_class_ptr_convert_u16_f64;
typedef void (*_oil_type_convert_u16_f64)(uint16_t * dest, const double * s
rc, int n);
#define oil_convert_u16_f64 ((_oil_type_convert_u16_f64)(*(void **)oil_func
tion_class_ptr_convert_u16_f64))
extern OilFunctionClass *oil_function_class_ptr_convert_u16_s16;
typedef void (*_oil_type_convert_u16_s16)(uint16_t * dest, const int16_t *
src, int n);
#define oil_convert_u16_s16 ((_oil_type_convert_u16_s16)(*(void **)oil_func
tion_class_ptr_convert_u16_s16))
extern OilFunctionClass *oil_function_class_ptr_convert_u16_s32;
typedef void (*_oil_type_convert_u16_s32)(uint16_t * dest, const int32_t *
src, int n);
#define oil_convert_u16_s32 ((_oil_type_convert_u16_s32)(*(void **)oil_func
tion_class_ptr_convert_u16_s32))
extern OilFunctionClass *oil_function_class_ptr_convert_u16_u32;
typedef void (*_oil_type_convert_u16_u32)(uint16_t * dest, const uint32_t *
src, int n);
#define oil_convert_u16_u32 ((_oil_type_convert_u16_u32)(*(void **)oil_func
tion_class_ptr_convert_u16_u32))
extern OilFunctionClass *oil_function_class_ptr_convert_u16_u8;
typedef void (*_oil_type_convert_u16_u8)(uint16_t * dest, const uint8_t * s
rc, int n);
#define oil_convert_u16_u8 ((_oil_type_convert_u16_u8)(*(void **)oil_functi
on_class_ptr_convert_u16_u8))
extern OilFunctionClass *oil_function_class_ptr_convert_u32_f64;
typedef void (*_oil_type_convert_u32_f64)(uint32_t * dest, const double * s
rc, int n);
#define oil_convert_u32_f64 ((_oil_type_convert_u32_f64)(*(void **)oil_func
tion_class_ptr_convert_u32_f64))
extern OilFunctionClass *oil_function_class_ptr_convert_u32_s32;
typedef void (*_oil_type_convert_u32_s32)(uint32_t * dest, const int32_t *
src, int n);
#define oil_convert_u32_s32 ((_oil_type_convert_u32_s32)(*(void **)oil_func
tion_class_ptr_convert_u32_s32))
extern OilFunctionClass *oil_function_class_ptr_convert_u32_u16;
typedef void (*_oil_type_convert_u32_u16)(uint32_t * dest, const uint16_t *
src, int n);
#define oil_convert_u32_u16 ((_oil_type_convert_u32_u16)(*(void **)oil_func
tion_class_ptr_convert_u32_u16))
extern OilFunctionClass *oil_function_class_ptr_convert_u32_u8;
typedef void (*_oil_type_convert_u32_u8)(uint32_t * dest, const uint8_t * s
rc, int n);
#define oil_convert_u32_u8 ((_oil_type_convert_u32_u8)(*(void **)oil_functi
on_class_ptr_convert_u32_u8))
extern OilFunctionClass *oil_function_class_ptr_convert_u8_f32;
typedef void (*_oil_type_convert_u8_f32)(uint8_t * dest, const float * src,
int n);
#define oil_convert_u8_f32 ((_oil_type_convert_u8_f32)(*(void **)oil_functi
on_class_ptr_convert_u8_f32))
extern OilFunctionClass *oil_function_class_ptr_convert_u8_f64;
typedef void (*_oil_type_convert_u8_f64)(uint8_t * dest, const double * src
, int n);
#define oil_convert_u8_f64 ((_oil_type_convert_u8_f64)(*(void **)oil_functi
on_class_ptr_convert_u8_f64))
extern OilFunctionClass *oil_function_class_ptr_convert_u8_s16;
typedef void (*_oil_type_convert_u8_s16)(uint8_t * dest, const int16_t * sr
c, int n);
#define oil_convert_u8_s16 ((_oil_type_convert_u8_s16)(*(void **)oil_functi
on_class_ptr_convert_u8_s16))
extern OilFunctionClass *oil_function_class_ptr_convert_u8_s32;
typedef void (*_oil_type_convert_u8_s32)(uint8_t * dest, const int32_t * sr
c, int n);
#define oil_convert_u8_s32 ((_oil_type_convert_u8_s32)(*(void **)oil_functi
on_class_ptr_convert_u8_s32))
extern OilFunctionClass *oil_function_class_ptr_convert_u8_s8;
typedef void (*_oil_type_convert_u8_s8)(uint8_t * dest, const int8_t * src,
int n);
#define oil_convert_u8_s8 ((_oil_type_convert_u8_s8)(*(void **)oil_function
_class_ptr_convert_u8_s8))
extern OilFunctionClass *oil_function_class_ptr_convert_u8_u16;
typedef void (*_oil_type_convert_u8_u16)(uint8_t * dest, const uint16_t * s
rc, int n);
#define oil_convert_u8_u16 ((_oil_type_convert_u8_u16)(*(void **)oil_functi
on_class_ptr_convert_u8_u16))
extern OilFunctionClass *oil_function_class_ptr_convert_u8_u32;
typedef void (*_oil_type_convert_u8_u32)(uint8_t * dest, const uint32_t * s
rc, int n);
#define oil_convert_u8_u32 ((_oil_type_convert_u8_u32)(*(void **)oil_functi
on_class_ptr_convert_u8_u32))
extern OilFunctionClass *oil_function_class_ptr_copy8x8_u8; extern OilFunctionClass *oil_function_class_ptr_copy8x8_u8;
typedef void (*_oil_type_copy8x8_u8)(uint8_t * d_8x8, int ds, const uint8_t * s_8x8, int ss); typedef void (*_oil_type_copy8x8_u8)(uint8_t * d_8x8, int ds, const uint8_t * s_8x8, int ss);
#define oil_copy8x8_u8 ((_oil_type_copy8x8_u8)(*(void **)oil_function_class _ptr_copy8x8_u8)) #define oil_copy8x8_u8 ((_oil_type_copy8x8_u8)(*(void **)oil_function_class _ptr_copy8x8_u8))
extern OilFunctionClass *oil_function_class_ptr_copy_u8; extern OilFunctionClass *oil_function_class_ptr_copy_u8;
typedef void (*_oil_type_copy_u8)(uint8_t * dest, const uint8_t * src, int n); typedef void (*_oil_type_copy_u8)(uint8_t * dest, const uint8_t * src, int n);
#define oil_copy_u8 ((_oil_type_copy_u8)(*(void **)oil_function_class_ptr_c opy_u8)) #define oil_copy_u8 ((_oil_type_copy_u8)(*(void **)oil_function_class_ptr_c opy_u8))
extern OilFunctionClass *oil_function_class_ptr_dct36_f32; extern OilFunctionClass *oil_function_class_ptr_dct36_f32;
typedef void (*_oil_type_dct36_f32)(float * d_36, int dstr, const float * s _36, int sstr); typedef void (*_oil_type_dct36_f32)(float * d_36, int dstr, const float * s _36, int sstr);
#define oil_dct36_f32 ((_oil_type_dct36_f32)(*(void **)oil_function_class_p tr_dct36_f32)) #define oil_dct36_f32 ((_oil_type_dct36_f32)(*(void **)oil_function_class_p tr_dct36_f32))
extern OilFunctionClass *oil_function_class_ptr_dequantize8x8_s16; extern OilFunctionClass *oil_function_class_ptr_dequantize8x8_s16;
skipping to change at line 504 skipping to change at line 696
#define oil_md5 ((_oil_type_md5)(*(void **)oil_function_class_ptr_md5)) #define oil_md5 ((_oil_type_md5)(*(void **)oil_function_class_ptr_md5))
extern OilFunctionClass *oil_function_class_ptr_mdct12_f64; extern OilFunctionClass *oil_function_class_ptr_mdct12_f64;
typedef void (*_oil_type_mdct12_f64)(double * d_6, const double * s_12); typedef void (*_oil_type_mdct12_f64)(double * d_6, const double * s_12);
#define oil_mdct12_f64 ((_oil_type_mdct12_f64)(*(void **)oil_function_class _ptr_mdct12_f64)) #define oil_mdct12_f64 ((_oil_type_mdct12_f64)(*(void **)oil_function_class _ptr_mdct12_f64))
extern OilFunctionClass *oil_function_class_ptr_mdct36_f64; extern OilFunctionClass *oil_function_class_ptr_mdct36_f64;
typedef void (*_oil_type_mdct36_f64)(double * d_18, const double * s_36); typedef void (*_oil_type_mdct36_f64)(double * d_18, const double * s_36);
#define oil_mdct36_f64 ((_oil_type_mdct36_f64)(*(void **)oil_function_class _ptr_mdct36_f64)) #define oil_mdct36_f64 ((_oil_type_mdct36_f64)(*(void **)oil_function_class _ptr_mdct36_f64))
extern OilFunctionClass *oil_function_class_ptr_merge_linear_argb; extern OilFunctionClass *oil_function_class_ptr_merge_linear_argb;
typedef void (*_oil_type_merge_linear_argb)(uint32_t * d_n, const uint32_t * s_n, const uint32_t * s2_n, const uint32_t * s3_1, int n); typedef void (*_oil_type_merge_linear_argb)(uint32_t * d_n, const uint32_t * s_n, const uint32_t * s2_n, const uint32_t * s3_1, int n);
#define oil_merge_linear_argb ((_oil_type_merge_linear_argb)(*(void **)oil_ function_class_ptr_merge_linear_argb)) #define oil_merge_linear_argb ((_oil_type_merge_linear_argb)(*(void **)oil_ function_class_ptr_merge_linear_argb))
extern OilFunctionClass *oil_function_class_ptr_merge_linear_u8;
typedef void (*_oil_type_merge_linear_u8)(uint8_t * d_n, const uint8_t * s_
n, const uint8_t * s2_n, const uint32_t * s3_1, int n);
#define oil_merge_linear_u8 ((_oil_type_merge_linear_u8)(*(void **)oil_func
tion_class_ptr_merge_linear_u8))
extern OilFunctionClass *oil_function_class_ptr_minimum_f32; extern OilFunctionClass *oil_function_class_ptr_minimum_f32;
typedef void (*_oil_type_minimum_f32)(float * d, const float * s1, const fl oat * s2, int n); typedef void (*_oil_type_minimum_f32)(float * d, const float * s1, const fl oat * s2, int n);
#define oil_minimum_f32 ((_oil_type_minimum_f32)(*(void **)oil_function_cla ss_ptr_minimum_f32)) #define oil_minimum_f32 ((_oil_type_minimum_f32)(*(void **)oil_function_cla ss_ptr_minimum_f32))
extern OilFunctionClass *oil_function_class_ptr_mix_u8; extern OilFunctionClass *oil_function_class_ptr_mix_u8;
typedef void (*_oil_type_mix_u8)(uint8_t * dest, const uint8_t * src1, cons t uint8_t * src2, const uint8_t * src3, int n); typedef void (*_oil_type_mix_u8)(uint8_t * dest, const uint8_t * src1, cons t uint8_t * src2, const uint8_t * src3, int n);
#define oil_mix_u8 ((_oil_type_mix_u8)(*(void **)oil_function_class_ptr_mix _u8)) #define oil_mix_u8 ((_oil_type_mix_u8)(*(void **)oil_function_class_ptr_mix _u8))
extern OilFunctionClass *oil_function_class_ptr_mt19937;
typedef void (*_oil_type_mt19937)(uint32_t * d_624, uint32_t * i_624);
#define oil_mt19937 ((_oil_type_mt19937)(*(void **)oil_function_class_ptr_m
t19937))
extern OilFunctionClass *oil_function_class_ptr_mult8x8_s16; extern OilFunctionClass *oil_function_class_ptr_mult8x8_s16;
typedef void (*_oil_type_mult8x8_s16)(int16_t * d_8x8, const int16_t * s1_8 x8, const int16_t * s2_8x8, int ds, int ss1, int ss2); typedef void (*_oil_type_mult8x8_s16)(int16_t * d_8x8, const int16_t * s1_8 x8, const int16_t * s2_8x8, int ds, int ss1, int ss2);
#define oil_mult8x8_s16 ((_oil_type_mult8x8_s16)(*(void **)oil_function_cla ss_ptr_mult8x8_s16)) #define oil_mult8x8_s16 ((_oil_type_mult8x8_s16)(*(void **)oil_function_cla ss_ptr_mult8x8_s16))
extern OilFunctionClass *oil_function_class_ptr_multiply_f32; extern OilFunctionClass *oil_function_class_ptr_multiply_f32;
typedef void (*_oil_type_multiply_f32)(float * d, const float * s1, const f loat * s2, int n); typedef void (*_oil_type_multiply_f32)(float * d, const float * s1, const f loat * s2, int n);
#define oil_multiply_f32 ((_oil_type_multiply_f32)(*(void **)oil_function_c lass_ptr_multiply_f32)) #define oil_multiply_f32 ((_oil_type_multiply_f32)(*(void **)oil_function_c lass_ptr_multiply_f32))
extern OilFunctionClass *oil_function_class_ptr_multsum_f32; extern OilFunctionClass *oil_function_class_ptr_multsum_f32;
typedef void (*_oil_type_multsum_f32)(float * dest, const float * src1, int sstr1, const float * src2, int sstr2, int n); typedef void (*_oil_type_multsum_f32)(float * dest, const float * src1, int sstr1, const float * src2, int sstr2, int n);
#define oil_multsum_f32 ((_oil_type_multsum_f32)(*(void **)oil_function_cla ss_ptr_multsum_f32)) #define oil_multsum_f32 ((_oil_type_multsum_f32)(*(void **)oil_function_cla ss_ptr_multsum_f32))
extern OilFunctionClass *oil_function_class_ptr_multsum_f64; extern OilFunctionClass *oil_function_class_ptr_multsum_f64;
skipping to change at line 729 skipping to change at line 927
#define oil_scaleconv_u8_f64 ((_oil_type_scaleconv_u8_f64)(*(void **)oil_fu nction_class_ptr_scaleconv_u8_f64)) #define oil_scaleconv_u8_f64 ((_oil_type_scaleconv_u8_f64)(*(void **)oil_fu nction_class_ptr_scaleconv_u8_f64))
extern OilFunctionClass *oil_function_class_ptr_scanlinescale2_u8; extern OilFunctionClass *oil_function_class_ptr_scanlinescale2_u8;
typedef void (*_oil_type_scanlinescale2_u8)(uint8_t * d, const uint8_t * s, int n); typedef void (*_oil_type_scanlinescale2_u8)(uint8_t * d, const uint8_t * s, int n);
#define oil_scanlinescale2_u8 ((_oil_type_scanlinescale2_u8)(*(void **)oil_ function_class_ptr_scanlinescale2_u8)) #define oil_scanlinescale2_u8 ((_oil_type_scanlinescale2_u8)(*(void **)oil_ function_class_ptr_scanlinescale2_u8))
extern OilFunctionClass *oil_function_class_ptr_sign_f32; extern OilFunctionClass *oil_function_class_ptr_sign_f32;
typedef void (*_oil_type_sign_f32)(float * d, const float * s, int n); typedef void (*_oil_type_sign_f32)(float * d, const float * s, int n);
#define oil_sign_f32 ((_oil_type_sign_f32)(*(void **)oil_function_class_ptr _sign_f32)) #define oil_sign_f32 ((_oil_type_sign_f32)(*(void **)oil_function_class_ptr _sign_f32))
extern OilFunctionClass *oil_function_class_ptr_sincos_f64; extern OilFunctionClass *oil_function_class_ptr_sincos_f64;
typedef void (*_oil_type_sincos_f64)(double * dest1, double * dest2, int n, const double * s1_1, const double * s2_1); typedef void (*_oil_type_sincos_f64)(double * dest1, double * dest2, int n, const double * s1_1, const double * s2_1);
#define oil_sincos_f64 ((_oil_type_sincos_f64)(*(void **)oil_function_class _ptr_sincos_f64)) #define oil_sincos_f64 ((_oil_type_sincos_f64)(*(void **)oil_function_class _ptr_sincos_f64))
extern OilFunctionClass *oil_function_class_ptr_splat_u16_ns;
typedef void (*_oil_type_splat_u16_ns)(uint16_t * dest, const uint16_t * s1
_1, int n);
#define oil_splat_u16_ns ((_oil_type_splat_u16_ns)(*(void **)oil_function_c
lass_ptr_splat_u16_ns))
extern OilFunctionClass *oil_function_class_ptr_splat_u32; extern OilFunctionClass *oil_function_class_ptr_splat_u32;
typedef void (*_oil_type_splat_u32)(uint32_t * dest, int dstr, const uint32 _t * s1_1, int n); typedef void (*_oil_type_splat_u32)(uint32_t * dest, int dstr, const uint32 _t * s1_1, int n);
#define oil_splat_u32 ((_oil_type_splat_u32)(*(void **)oil_function_class_p tr_splat_u32)) #define oil_splat_u32 ((_oil_type_splat_u32)(*(void **)oil_function_class_p tr_splat_u32))
extern OilFunctionClass *oil_function_class_ptr_splat_u32_ns; extern OilFunctionClass *oil_function_class_ptr_splat_u32_ns;
typedef void (*_oil_type_splat_u32_ns)(uint32_t * dest, const uint32_t * s1 _1, int n); typedef void (*_oil_type_splat_u32_ns)(uint32_t * dest, const uint32_t * s1 _1, int n);
#define oil_splat_u32_ns ((_oil_type_splat_u32_ns)(*(void **)oil_function_c lass_ptr_splat_u32_ns)) #define oil_splat_u32_ns ((_oil_type_splat_u32_ns)(*(void **)oil_function_c lass_ptr_splat_u32_ns))
extern OilFunctionClass *oil_function_class_ptr_splat_u8; extern OilFunctionClass *oil_function_class_ptr_splat_u8;
typedef void (*_oil_type_splat_u8)(uint8_t * dest, int dstr, const uint8_t * s1_1, int n); typedef void (*_oil_type_splat_u8)(uint8_t * dest, int dstr, const uint8_t * s1_1, int n);
#define oil_splat_u8 ((_oil_type_splat_u8)(*(void **)oil_function_class_ptr _splat_u8)) #define oil_splat_u8 ((_oil_type_splat_u8)(*(void **)oil_function_class_ptr _splat_u8))
extern OilFunctionClass *oil_function_class_ptr_splat_u8_ns; extern OilFunctionClass *oil_function_class_ptr_splat_u8_ns;
typedef void (*_oil_type_splat_u8_ns)(uint8_t * dest, const uint8_t * s1_1, int n); typedef void (*_oil_type_splat_u8_ns)(uint8_t * dest, const uint8_t * s1_1, int n);
#define oil_splat_u8_ns ((_oil_type_splat_u8_ns)(*(void **)oil_function_cla ss_ptr_splat_u8_ns)) #define oil_splat_u8_ns ((_oil_type_splat_u8_ns)(*(void **)oil_function_cla ss_ptr_splat_u8_ns))
extern OilFunctionClass *oil_function_class_ptr_squaresum_f64; extern OilFunctionClass *oil_function_class_ptr_squaresum_f64;
typedef void (*_oil_type_squaresum_f64)(double * d, const double * s, int n ); typedef void (*_oil_type_squaresum_f64)(double * d, const double * s, int n );
#define oil_squaresum_f64 ((_oil_type_squaresum_f64)(*(void **)oil_function _class_ptr_squaresum_f64)) #define oil_squaresum_f64 ((_oil_type_squaresum_f64)(*(void **)oil_function _class_ptr_squaresum_f64))
extern OilFunctionClass *oil_function_class_ptr_squaresum_shifted_s16;
typedef void (*_oil_type_squaresum_shifted_s16)(uint32_t * d, const int16_t
* s, int n);
#define oil_squaresum_shifted_s16 ((_oil_type_squaresum_shifted_s16)(*(void
**)oil_function_class_ptr_squaresum_shifted_s16))
extern OilFunctionClass *oil_function_class_ptr_subtract_f32; extern OilFunctionClass *oil_function_class_ptr_subtract_f32;
typedef void (*_oil_type_subtract_f32)(float * d, const float * s1, const f loat * s2, int n); typedef void (*_oil_type_subtract_f32)(float * d, const float * s1, const f loat * s2, int n);
#define oil_subtract_f32 ((_oil_type_subtract_f32)(*(void **)oil_function_c lass_ptr_subtract_f32)) #define oil_subtract_f32 ((_oil_type_subtract_f32)(*(void **)oil_function_c lass_ptr_subtract_f32))
extern OilFunctionClass *oil_function_class_ptr_sum_f64; extern OilFunctionClass *oil_function_class_ptr_sum_f64;
typedef void (*_oil_type_sum_f64)(double * d_1, const double * s, int sstr, int n); typedef void (*_oil_type_sum_f64)(double * d_1, const double * s, int sstr, int n);
#define oil_sum_f64 ((_oil_type_sum_f64)(*(void **)oil_function_class_ptr_s um_f64)) #define oil_sum_f64 ((_oil_type_sum_f64)(*(void **)oil_function_class_ptr_s um_f64))
extern OilFunctionClass *oil_function_class_ptr_swab_u16;
typedef void (*_oil_type_swab_u16)(uint16_t * d_n, const uint16_t * s_n, in
t n);
#define oil_swab_u16 ((_oil_type_swab_u16)(*(void **)oil_function_class_ptr
_swab_u16))
extern OilFunctionClass *oil_function_class_ptr_swab_u32;
typedef void (*_oil_type_swab_u32)(uint32_t * d_n, const uint32_t * s_n, in
t n);
#define oil_swab_u32 ((_oil_type_swab_u32)(*(void **)oil_function_class_ptr
_swab_u32))
extern OilFunctionClass *oil_function_class_ptr_tablelookup_u8; extern OilFunctionClass *oil_function_class_ptr_tablelookup_u8;
typedef void (*_oil_type_tablelookup_u8)(uint8_t * d, int ds, const uint8_t * s1, int ss1, const uint8_t * s2_256, int ss2, int n); typedef void (*_oil_type_tablelookup_u8)(uint8_t * d, int ds, const uint8_t * s1, int ss1, const uint8_t * s2_256, int ss2, int n);
#define oil_tablelookup_u8 ((_oil_type_tablelookup_u8)(*(void **)oil_functi on_class_ptr_tablelookup_u8)) #define oil_tablelookup_u8 ((_oil_type_tablelookup_u8)(*(void **)oil_functi on_class_ptr_tablelookup_u8))
extern OilFunctionClass *oil_function_class_ptr_testzero_u8;
typedef void (*_oil_type_testzero_u8)(uint32_t * d_1, const uint8_t * s, in
t n);
#define oil_testzero_u8 ((_oil_type_testzero_u8)(*(void **)oil_function_cla
ss_ptr_testzero_u8))
extern OilFunctionClass *oil_function_class_ptr_trans8x8_f64; extern OilFunctionClass *oil_function_class_ptr_trans8x8_f64;
typedef void (*_oil_type_trans8x8_f64)(double * d_8x8, int ds, const double * s_8x8, int ss); typedef void (*_oil_type_trans8x8_f64)(double * d_8x8, int ds, const double * s_8x8, int ss);
#define oil_trans8x8_f64 ((_oil_type_trans8x8_f64)(*(void **)oil_function_c lass_ptr_trans8x8_f64)) #define oil_trans8x8_f64 ((_oil_type_trans8x8_f64)(*(void **)oil_function_c lass_ptr_trans8x8_f64))
extern OilFunctionClass *oil_function_class_ptr_trans8x8_u16; extern OilFunctionClass *oil_function_class_ptr_trans8x8_u16;
typedef void (*_oil_type_trans8x8_u16)(uint16_t * d_8x8, int ds, const uint 16_t * s_8x8, int ss); typedef void (*_oil_type_trans8x8_u16)(uint16_t * d_8x8, int ds, const uint 16_t * s_8x8, int ss);
#define oil_trans8x8_u16 ((_oil_type_trans8x8_u16)(*(void **)oil_function_c lass_ptr_trans8x8_u16)) #define oil_trans8x8_u16 ((_oil_type_trans8x8_u16)(*(void **)oil_function_c lass_ptr_trans8x8_u16))
extern OilFunctionClass *oil_function_class_ptr_trans8x8_u32; extern OilFunctionClass *oil_function_class_ptr_trans8x8_u32;
typedef void (*_oil_type_trans8x8_u32)(uint32_t * d_8x8, int ds, const uint 32_t * s_8x8, int ss); typedef void (*_oil_type_trans8x8_u32)(uint32_t * d_8x8, int ds, const uint 32_t * s_8x8, int ss);
#define oil_trans8x8_u32 ((_oil_type_trans8x8_u32)(*(void **)oil_function_c lass_ptr_trans8x8_u32)) #define oil_trans8x8_u32 ((_oil_type_trans8x8_u32)(*(void **)oil_function_c lass_ptr_trans8x8_u32))
extern OilFunctionClass *oil_function_class_ptr_trans8x8_u8; extern OilFunctionClass *oil_function_class_ptr_trans8x8_u8;
 End of changes. 11 change blocks. 
0 lines changed or deleted 354 lines changed or added


 liboilfunction.h   liboilfunction.h 
skipping to change at line 130 skipping to change at line 130
/** /**
* OIL_GET: * OIL_GET:
* @ptr: * @ptr:
* @offset: * @offset:
* @type: * @type:
* *
* Offsets @ptr by @offset number of bytes, and dereferences it * Offsets @ptr by @offset number of bytes, and dereferences it
* as type @type. Note that the offset is in bytes, and not in * as type @type. Note that the offset is in bytes, and not in
* the size of the pointer type. * the size of the pointer type.
*/ */
#define OIL_GET(ptr, offset, type) (*(type *)((uint8_t *)ptr + (offset)) ) #define OIL_GET(ptr, offset, type) (*(type *)((uint8_t *)(ptr) + (offset)) )
/** /**
* OIL_OFFSET: * OIL_OFFSET:
* @ptr: * @ptr:
* @offset: * @offset:
* *
* Add @offset bytes to the pointer @ptr. * Add @offset bytes to the pointer @ptr.
*/ */
#define OIL_OFFSET(ptr, offset) ((void *)((uint8_t *)ptr + (offset)) ) #define OIL_OFFSET(ptr, offset) ((void *)((uint8_t *)(ptr) + (offset)) )
/** /**
* OIL_INCREMENT: * OIL_INCREMENT:
* @ptr: * @ptr:
* @offset: * @offset:
* *
* Increments the pointer @ptr by @offset number of bytes. * Increments the pointer @ptr by @offset number of bytes.
*/ */
#define OIL_INCREMENT(ptr, offset) (ptr = (void *)((uint8_t *)ptr + (offset )) ) #define OIL_INCREMENT(ptr, offset) (ptr = (void *)((uint8_t *)ptr + (offset )) )
/** /**
* OilImplFlag: * OilImplFlag:
* *
* Implementation flags independent of CPU type. * Implementation flags.
*
* @OIL_IMPL_FLAG_REF: is the reference implementation for the class.
*
* @OIL_IMPL_FLAG_OPT: was compiled with alternate CFLAGS as specified
* by --enable-alternate-optimization.
*
* @OIL_IMPL_FLAG_ASM: is written in assembly code.
*
* @OIL_IMPL_FLAG_DISABLED: is disabled. This can be set either in the
* source code or during library initialization.
*
* @OIL_IMPL_FLAG_CMOV: uses the i386 instruction cmov or its variants.
*
* @OIL_IMPL_FLAG_MMX: uses MMX instructions.
*
* @OIL_IMPL_FLAG_SSE: uses SSE instructions.
*
* @OIL_IMPL_FLAG_MMXEXT: uses AMD's extended MMX instructions. These
* are a subset of what Intel calls SSE2. If an implementation uses
* only AMD's extended MMX instructions, it should set this flag, and
* not @OIL_IMPL_FLAG_SSE2.
*
* @OIL_IMPL_FLAG_SSE2: uses SSE2 instructions. This flag implies
* @OIL_IMPL_FLAG_SSE and @OIL_IMPL_FLAG_MMXEXT.
*
* @OIL_IMPL_FLAG_3DNOW: uses 3DNow! instructions.
*
* @OIL_IMPL_FLAG_3DNOWEXT: uses extended 3DNow! instructions.
*
* @OIL_IMPL_FLAG_SSE3: uses SSE3 instructions. This flag implies
* @OIL_IMPL_FLAG_SSE2.
*
* @OIL_IMPL_FLAG_ALTIVEC: uses Altivec instructions.
*
*/ */
typedef enum { typedef enum {
OIL_IMPL_FLAG_REF = (1<<0), OIL_IMPL_FLAG_REF = (1<<0),
OIL_IMPL_FLAG_OPT = (1<<1), OIL_IMPL_FLAG_OPT = (1<<1),
OIL_IMPL_FLAG_ASM = (1<<2), OIL_IMPL_FLAG_ASM = (1<<2),
OIL_IMPL_FLAG_DISABLED = (1<<3) OIL_IMPL_FLAG_DISABLED = (1<<3),
} OilImplFlag;
/**
* OIL_CPU_FLAG_MASK:
*
* Mask describing which bits in #OilImplFlag depend on the current
* CPU.
*/
#define OIL_CPU_FLAG_MASK 0xffff0000
/**
* OilImplFlagI386:
*
* Implementation flags for CPU features on i386.
*/
typedef enum {
OIL_IMPL_FLAG_CMOV = (1<<16), OIL_IMPL_FLAG_CMOV = (1<<16),
OIL_IMPL_FLAG_MMX = (1<<17), OIL_IMPL_FLAG_MMX = (1<<17),
OIL_IMPL_FLAG_SSE = (1<<18), OIL_IMPL_FLAG_SSE = (1<<18),
OIL_IMPL_FLAG_MMXEXT = (1<<19), OIL_IMPL_FLAG_MMXEXT = (1<<19),
OIL_IMPL_FLAG_SSE2 = (1<<20), OIL_IMPL_FLAG_SSE2 = (1<<20),
OIL_IMPL_FLAG_3DNOW = (1<<21), OIL_IMPL_FLAG_3DNOW = (1<<21),
OIL_IMPL_FLAG_3DNOWEXT = (1<<22), OIL_IMPL_FLAG_3DNOWEXT = (1<<22),
OIL_IMPL_FLAG_SSE3 = (1<<23) OIL_IMPL_FLAG_SSE3 = (1<<23),
} OilImplFlagI386; OIL_IMPL_FLAG_ALTIVEC = (1<<24)
} OilImplFlag;
/** /**
* OilImplFlagPowerPC: * OIL_CPU_FLAG_MASK:
* *
* Implementation flags for CPU features on PowerPC. * Mask describing which bits in #OilImplFlag depend on the current
* CPU.
*/ */
typedef enum { #define OIL_CPU_FLAG_MASK 0xffff0000
OIL_IMPL_FLAG_ALTIVEC = (1<<16)
} OilImplFlagPowerPC;
/** /**
* OIL_DECLARE_CLASS: * OIL_DECLARE_CLASS:
* @klass: the name of a function class (without the oil_ prefix) * @klass: the name of a function class (without the oil_ prefix)
* *
* Declares the Liboil function class @klass. * Declares the Liboil function class @klass.
*/ */
#define OIL_DECLARE_CLASS(klass) \ #define OIL_DECLARE_CLASS(klass) \
extern OilFunctionClass _oil_function_class_ ## klass extern OilFunctionClass _oil_function_class_ ## klass
 End of changes. 8 change blocks. 
27 lines changed or deleted 45 lines changed or added


 liboilgcc.h   liboilgcc.h 
skipping to change at line 35 skipping to change at line 35
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _LIBOIL_GCC_H_ #ifndef _LIBOIL_GCC_H_
#define _LIBOIL_GCC_H_ #define _LIBOIL_GCC_H_
#ifndef __GNUC__ #ifndef __GNUC__
#error liboilgcc.h should only be included if the compiler is GCC #error liboilgcc.h should only be included if the compiler is GCC
#endif #endif
#include <stdint.h> #include <liboil/liboil-stdint.h>
typedef int8_t vec_s8 __attribute__ ((mode(V8QI))); typedef int8_t vec_s8 __attribute__ ((mode(V8QI)));
typedef uint8_t vec_u8 __attribute__ ((mode(V8QI))); typedef uint8_t vec_u8 __attribute__ ((mode(V8QI)));
typedef int16_t vec_s16 __attribute__ ((mode(V4HI))); typedef int16_t vec_s16 __attribute__ ((mode(V4HI)));
typedef uint16_t vec_u16 __attribute__ ((mode(V4HI))); typedef uint16_t vec_u16 __attribute__ ((mode(V4HI)));
typedef int32_t vec_s32 __attribute__ ((mode(V2SI))); typedef int32_t vec_s32 __attribute__ ((mode(V2SI)));
typedef uint32_t vec_u32 __attribute__ ((mode(V2SI))); typedef uint32_t vec_u32 __attribute__ ((mode(V2SI)));
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 liboilparameter.h   liboilparameter.h 
skipping to change at line 130 skipping to change at line 130
void *src_data; void *src_data;
void *ref_data; void *ref_data;
void *test_data; void *test_data;
unsigned long value; unsigned long value;
int pre_n; int pre_n;
int post_n; int post_n;
int stride; int stride;
int size; int size;
int guard; int guard;
int test_header;
int test_footer;
}; };
void *oil_param_get_source_data (OilParameter *param);
#define oil_type_is_floating_point(type) \
(((type) == OIL_TYPE_f64p) || ((type) == OIL_TYPE_f32p))
#endif #endif
 End of changes. 2 change blocks. 
0 lines changed or deleted 7 lines changed or added


 liboilprofile.h   liboilprofile.h 
skipping to change at line 31 skipping to change at line 31
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _LIBOIL_PROFILE_H_ #ifndef _LIBOIL_PROFILE_H_
#define _LIBOIL_PROFILE_H_ #define _LIBOIL_PROFILE_H_
#include <stdint.h> #include <liboil/liboil-stdint.h>
/** /**
* OIL_PROFILE_HIST_LENGTH * OIL_PROFILE_HIST_LENGTH
* *
* Internal definition of the number of histogram entries in #OilProfile. * Internal definition of the number of histogram entries in #OilProfile.
*/ */
#define OIL_PROFILE_HIST_LENGTH 10 #define OIL_PROFILE_HIST_LENGTH 10
typedef struct _OilProfile OilProfile; typedef struct _OilProfile OilProfile;
/** /**
skipping to change at line 60 skipping to change at line 60
unsigned long min; unsigned long min;
unsigned long last; unsigned long last;
unsigned long total; unsigned long total;
int n; int n;
int hist_n; int hist_n;
unsigned long hist_time[OIL_PROFILE_HIST_LENGTH]; unsigned long hist_time[OIL_PROFILE_HIST_LENGTH];
int hist_count[OIL_PROFILE_HIST_LENGTH]; int hist_count[OIL_PROFILE_HIST_LENGTH];
}; };
/** unsigned long oil_profile_stamp(void);
* oil_profile_stamp:
*
* Creates a timestamp based on a CPU-specific high-frequency
* counter, if available.
*
* Returns: a timestamp
*/
#if defined(__i386__)
static inline unsigned long oil_profile_stamp(void)
{
unsigned long ts;
__asm__ __volatile__("rdtsc\n" : "=a" (ts) : : "edx");
return ts;
}
#elif defined(__amd64__)
static inline unsigned long oil_profile_stamp(void)
{
unsigned long ts;
__asm__ __volatile__("rdtsc\n" : "=a" (ts) : : "edx");
return ts;
}
#elif defined(__powerpc__)
static inline unsigned long oil_profile_stamp(void)
{
unsigned long ts;
__asm__ __volatile__("mftb %0\n" : "=r" (ts));
return ts;
}
#elif defined(__alpha__)
static inline unsigned long oil_profile_stamp(void)
{
unsigned int ts;
__asm__ __volatile__ ("rpcc %0\n" : "=r"(ts));
return ts;
}
#elif defined(__ia64__)
static inline unsigned long oil_profile_stamp(void)
{
unsigned int ts;
__asm__ __volatile__("mov %0=ar.itc\n" : "=r"(ts) :: "memory");
return ts;
}
#elif defined(__s390__)
static inline unsigned long oil_profile_stamp(void)
{
uint64_t ts;
__asm__ __volatile__ ("STCK %0\n" : "=m" (ts));
return ts;
}
#elif defined(__mips__) && 0
/* broken */
static inline unsigned long oil_profile_stamp(void)
{
unsigned int ts;
__asm__ __volatile__ (
" .set push \n"
" .set reorder \n"
" mfc0 %0,$9 \n"
" .set pop \n"
: "=m" (ts));
return ts;
}
#elif defined(__arm__)
/* untested */
static inline unsigned long oil_profile_stamp(void)
{
unsigned int ts;
/* this only works for XScale 255 */
__asm__ __volatile__ (
" mrc p14, 0, %0, c0, c0, 0 \n"
: "=r" (ts));
return ts;
}
#else
#define oil_profile_stamp() oil_profile_stamp_gtod()
#endif
unsigned long oil_profile_stamp_gtod (void);
void oil_profile_init(OilProfile *prof); void oil_profile_init(OilProfile *prof);
void oil_profile_stop_handle(OilProfile *prof); void oil_profile_stop_handle(OilProfile *prof);
void oil_profile_get_ave_std (OilProfile *prof, double *ave_p, double *std_ p); void oil_profile_get_ave_std (OilProfile *prof, double *ave_p, double *std_ p);
/** /**
* oil_profile_start: * oil_profile_start:
* @x: a pointer to an OilProfile structure * @x: a pointer to an OilProfile structure
* *
* Starts a profiling run by obtaining a timestamp via oil_profile_stamp() * Starts a profiling run by obtaining a timestamp via oil_profile_stamp()
* and writing it into @x. * and writing it into @x.
 End of changes. 2 change blocks. 
98 lines changed or deleted 2 lines changed or added


 liboilprototype.h   liboilprototype.h 
skipping to change at line 49 skipping to change at line 49
* an @OilFunctionClass. * an @OilFunctionClass.
*/ */
struct _OilPrototype { struct _OilPrototype {
int n_params; int n_params;
OilParameter *params; OilParameter *params;
OilFunctionClass *klass; OilFunctionClass *klass;
}; };
OilPrototype *oil_prototype_from_string (const char *s); OilPrototype *oil_prototype_from_string (const char *s);
char *oil_prototype_to_string (OilPrototype *proto); char *oil_prototype_to_string (OilPrototype *proto);
char *oil_prototype_to_arg_string (OilPrototype *proto);
void oil_prototype_free (OilPrototype *proto); void oil_prototype_free (OilPrototype *proto);
void oil_prototype_append_param (OilPrototype *proto, OilParameter *param); void oil_prototype_append_param (OilPrototype *proto, OilParameter *param);
int oil_type_sizeof (OilType type); int oil_type_sizeof (OilType type);
const char * oil_type_name (OilType type); const char * oil_type_name (OilType type);
const char * oil_arg_type_name (OilArgType type); const char * oil_arg_type_name (OilArgType type);
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 liboilrandom.h   liboilrandom.h 
/* /*
* LIBOIL - Library of Optimized Inner Loops * LIBOIL - Library of Optimized Inner Loops
* Copyright (c) 2003,2004 David A. Schleef <ds@schleef.org> * Copyright (c) 2003,2004,2005 David A. Schleef <ds@schleef.org>
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
* are met: * are met:
* 1. Redistributions of source code must retain the above copyright * 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer. * notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright * 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the * notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution. * documentation and/or other materials provided with the distribution.
skipping to change at line 33 skipping to change at line 33
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _LIBOIL_RANDOM_H_ #ifndef _LIBOIL_RANDOM_H_
#define _LIBOIL_RANDOM_H_ #define _LIBOIL_RANDOM_H_
#include <stdlib.h> #include <stdlib.h>
/** #include <liboil/liboiltypes.h>
* SECTION:liboilrandom #include <stdlib.h>
* @title: Random Number Generation
* @short_description: Random number generation void oil_random_s32(oil_type_s32 *dest, int n);
*/ void oil_random_s64 (oil_type_s64 *dest, int n);
void oil_random_s16 (oil_type_s16 *dest, int n);
void oil_random_s8 (oil_type_s8 *dest, int n);
void oil_random_u32 (oil_type_u32 *dest, int n);
void oil_random_u64 (oil_type_u64 *dest, int n);
void oil_random_u16 (oil_type_u16 *dest, int n);
void oil_random_u8 (oil_type_u8 *dest, int n);
void oil_random_f64 (oil_type_f64 *dest, int n);
void oil_random_f32 (oil_type_f32 *dest, int n);
void oil_random_argb (oil_type_u32 *dest, int n);
void oil_random_alpha (oil_type_u8 *dest, int n);
/** /**
* oil_rand_s32: * oil_rand_s32:
* *
* Evaluates to a random integer in the range [-(1<<31), (1<<31)-1]. * Evaluates to a random integer in the range [-(1<<31), (1<<31)-1].
*/ */
#define oil_rand_s32() ((rand()&0xffff)<<16 | (rand()&0xffff)) #define oil_rand_s32() ((rand()&0xffff)<<16 | (rand()&0xffff))
/** /**
* oil_rand_s32_l31:
*
* Evaluates to a random integer in the range [-(1<<30), (1<<30)-1].
*/
#define oil_rand_s32_l31() (((int32_t)rand())-0x40000000)
/**
* oil_rand_s64: * oil_rand_s64:
* *
* Evaluates to a random integer in the range [-(1<<63), (1<<63)-1]. * Evaluates to a random integer in the range [-(1<<63), (1<<63)-1].
*/ */
#define oil_rand_s64() ((int64_t)(oil_rand_s32())<<32 | oil_rand_s32()) #define oil_rand_s64() ((int64_t)(oil_rand_s32())<<32 | oil_rand_s32())
/** /**
* oil_rand_s16: * oil_rand_s16:
* *
* Evaluates to a random integer in the range [-(1<<15), (1<<15)-1]. * Evaluates to a random integer in the range [-(1<<15), (1<<15)-1].
*/ */
#define oil_rand_s16() ((int16_t)(rand()&0xffff)) #define oil_rand_s16() ((int16_t)(rand()&0xffff))
/**
* oil_rand_s16_l15:
*
* Evaluates to a random integer in the range [-(1<<14), (1<<14)-1].
*/
#define oil_rand_s16_l15() (oil_rand_s16()>>1)
/**
* oil_rand_s16_l9:
*
* Evaluates to a random integer in the range [-(1<<8), (1<<8)-1].
*/
#define oil_rand_s16_l9() (oil_rand_s16()>>7)
/**
* oil_rand_s16_l8:
*
* Evaluates to a random integer in the range [-(1<<7), (1<<7)-1].
*/
#define oil_rand_s16_l8() (oil_rand_s16()>>8)
/**
* oil_rand_s16_l4:
*
* Evaluates to a random integer in the range [-(1<<3), (1<<3)-1].
*/
#define oil_rand_s16_l4() (oil_rand_s16()>>12)
/** /**
* oil_rand_s8: * oil_rand_s8:
* *
* Evaluates to a random integer in the range [-(1<<7), (1<<7)-1]. * Evaluates to a random integer in the range [-(1<<7), (1<<7)-1].
*/ */
#define oil_rand_s8() ((int8_t)(rand()&0xffff)) #define oil_rand_s8() ((int8_t)(rand()&0xffff))
/** /**
* oil_rand_u32: * oil_rand_u32:
* *
* Evaluates to a random integer in the range [0, (1<<32)-1]. * Evaluates to a random integer in the range [0, (1<<32)-1].
*/ */
#define oil_rand_u32() ((uint32_t)((rand()&0xffff)<<16 | (rand()&0xffff))) #define oil_rand_u32() ((uint32_t)((rand()&0xffff)<<16 | (rand()&0xffff)))
/**
* oil_rand_u32_l31:
*
* Evaluates to a random integer in the range [0, (1<<31)-1].
*/
#define oil_rand_u32_l31() ((uint32_t)rand())
/** /**
* oil_rand_u64: * oil_rand_u64:
* *
* Evaluates to a random integer in the range [0, (1<<64)-1]. * Evaluates to a random integer in the range [0, (1<<64)-1].
*/ */
#define oil_rand_u64() ((uint64_t)(oil_rand_u32())<<32 | oil_rand_u32()) #define oil_rand_u64() ((uint64_t)(oil_rand_u32())<<32 | oil_rand_u32())
/** /**
* oil_rand_u16: * oil_rand_u16:
skipping to change at line 132 skipping to change at line 105
#define oil_rand_u16() ((uint16_t)(rand()&0xffff)) #define oil_rand_u16() ((uint16_t)(rand()&0xffff))
/** /**
* oil_rand_u8: * oil_rand_u8:
* *
* Evaluates to a random integer in the range [0, (1<<8)-1]. * Evaluates to a random integer in the range [0, (1<<8)-1].
*/ */
#define oil_rand_u8() ((uint8_t)(rand()&0xffff)) #define oil_rand_u8() ((uint8_t)(rand()&0xffff))
/** /**
* oil_rand_f64_0_1: * oil_rand_f64:
* *
* Evaluates to a random double-precision floating point number * Evaluates to a random double-precision floating point number
* in the range [0, 1.0). * in the range [0, 1.0).
*/ */
#define oil_rand_f64_0_1() (((rand()/(RAND_MAX+1.0))+rand())/(RAND_MAX+1.0) #define oil_rand_f64() (((rand()/(RAND_MAX+1.0))+rand())/(RAND_MAX+1.0))
)
/**
* oil_rand_f64_s32:
*
* Evaluates to a random double-precision floating point number
* in the range [-(1<<31), (1<<31)). Note that when rounded to the
* nearest integer, this exceeds the range of int32_t.
*/
#define oil_rand_f64_s32() (oil_rand_f64_0_1()*4294967296.0-2147483648.0)
/**
* oil_rand_f64_s16:
*
* Evaluates to a random double-precision floating point number
* in the range [-(1<<15), (1<<15)). Note that when rounded to the
* nearest integer, this exceeds the range of int16_t.
*/
#define oil_rand_f64_s16() (oil_rand_f64_0_1()*65536.0-32768.0)
/**
* oil_rand_f64_s8:
*
* Evaluates to a random double-precision floating point number
* in the range [-(1<<7), (1<<7)). Note that when rounded to the
* nearest integer, this exceeds the range of int8_t.
*/
#define oil_rand_f64_s8() (oil_rand_f64_0_1()*256.0-128.0)
/**
* oil_rand_f64_u32:
*
* Evaluates to a random double-precision floating point number
* in the range [0, (1<<32)). Note that when rounded to the
* nearest integer, this exceeds the range of uint32_t.
*/
#define oil_rand_f64_u32() (oil_rand_f64_0_1()*4294967296.0)
/**
* oil_rand_f64_u16:
*
* Evaluates to a random double-precision floating point number
* in the range [0, (1<<16)). Note that when rounded to the
* nearest integer, this exceeds the range of uint16_t.
*/
#define oil_rand_f64_u16() (oil_rand_f64_0_1()*65536.0)
/**
* oil_rand_f64_u8:
*
* Evaluates to a random double-precision floating point number
* in the range [0, (1<<8)). Note that when rounded to the
* nearest integer, this exceeds the range of uint8_t.
*/
#define oil_rand_f64_u8() (oil_rand_f64_0_1()*256.0)
/** /**
* oil_rand_f32_0_1: * oil_rand_f32:
* *
* Evaluates to a random single-precision floating point number * Evaluates to a random single-precision floating point number
* in the range [0, 1.0). * in the range [0, 1.0).
*/ */
#define oil_rand_f32_0_1() (rand()/(RAND_MAX+1.0)) #define oil_rand_f32() (rand()/(RAND_MAX+1.0))
/**
* oil_rand_f32_s32:
*
* Evaluates to a random double-precision floating point number
* in the range [-(1<<31), (1<<31)). Note that when rounded to the
* nearest integer, this exceeds the range of int32_t.
*/
#define oil_rand_f32_s32() (oil_rand_f64_0_1()*4294967296.0-2147483648.0)
/**
* oil_rand_f32_s16:
*
* Evaluates to a random double-precision floating point number
* in the range [-(1<<15), (1<<15)). Note that when rounded to the
* nearest integer, this exceeds the range of int16_t.
*/
#define oil_rand_f32_s16() (oil_rand_f64_0_1()*65536.0-32768.0)
/**
* oil_rand_f32_s8:
*
* Evaluates to a random double-precision floating point number
* in the range [-(1<<7), (1<<7)). Note that when rounded to the
* nearest integer, this exceeds the range of int8_t.
*/
#define oil_rand_f32_s8() (oil_rand_f64_0_1()*256.0-128.0)
/**
* oil_rand_f32_u32:
*
* Evaluates to a random double-precision floating point number
* in the range [0, (1<<32)). Note that when rounded to the
* nearest integer, this exceeds the range of uint32_t.
*/
#define oil_rand_f32_u32() (oil_rand_f64_0_1()*4294967296.0)
/**
* oil_rand_f32_u16:
*
* Evaluates to a random double-precision floating point number
* in the range [0, (1<<16)). Note that when rounded to the
* nearest integer, this exceeds the range of uint16_t.
*/
#define oil_rand_f32_u16() (oil_rand_f64_0_1()*65536.0)
/**
* oil_rand_f32_u8:
*
* Evaluates to a random double-precision floating point number
* in the range [0, (1<<8)). Note that when rounded to the
* nearest integer, this exceeds the range of uint8_t.
*/
#define oil_rand_f32_u8() (oil_rand_f64_0_1()*256.0)
#endif #endif
 End of changes. 9 change blocks. 
148 lines changed or deleted 20 lines changed or added


 liboiltest.h   liboiltest.h 
skipping to change at line 58 skipping to change at line 58
int iterations; int iterations;
int n; int n;
int m; int m;
int inited; int inited;
int tested_ref; int tested_ref;
double sum_abs_diff; double sum_abs_diff;
int n_points; int n_points;
double profile_ave;
double profile_std;
double tolerance;
}; };
/** /**
* OilTestFunction: * OilTestFunction:
* @test: the @OilTest structure * @test: the @OilTest structure
* *
* Typedef for functions that initialize special values * Typedef for functions that initialize special values
* in source arrays for a particular function class. * in source arrays for a particular function class.
*/ */
//typedef void (*OilTestFunction) (OilTest *test); //typedef void (*OilTestFunction) (OilTest *test);
/** /**
* OIL_TEST_HEADER: * OIL_TEST_HEADER:
* *
* Number of bytes that are prepended to the array test area. * Default number of bytes that are prepended to the array test area.
*/ */
#define OIL_TEST_HEADER 256 #define OIL_TEST_HEADER 256
/** /**
* OIL_TEST_FOOTER: * OIL_TEST_FOOTER:
* *
* Number of bytes that are appended to the array test area. * Default number of bytes that are appended to the array test area.
*/ */
#define OIL_TEST_FOOTER 256 #define OIL_TEST_FOOTER 256
OilTest *oil_test_new (OilFunctionClass *klass); OilTest *oil_test_new (OilFunctionClass *klass);
void oil_test_free (OilTest *test); void oil_test_free (OilTest *test);
void oil_test_set_iterations (OilTest *test, int iterations); void oil_test_set_iterations (OilTest *test, int iterations);
void oil_test_check_ref (OilTest *test); void oil_test_check_ref (OilTest *test);
int oil_test_check_impl (OilTest *test, OilFunctionImpl *impl); int oil_test_check_impl (OilTest *test, OilFunctionImpl *impl);
void oil_test_cleanup (OilTest *test); void oil_test_cleanup (OilTest *test);
void oil_test_init (OilTest *test); void oil_test_init (OilTest *test);
void oil_test_set_test_header (OilTest *test, OilParameter *p, int test_hea
der);
void oil_test_set_test_footer (OilTest *test, OilParameter *p, int test_foo
ter);
void _oil_test_marshal_function (void *func, unsigned long *args, int n_arg s, void _oil_test_marshal_function (void *func, unsigned long *args, int n_arg s,
unsigned int pointer_mask, OilProfile *prof); unsigned int pointer_mask, OilProfile *prof);
void *oil_test_get_source_data (OilTest *test, OilArgType arg_type);
int oil_test_get_value (OilTest *test, OilArgType arg_type);
#endif #endif
 End of changes. 5 change blocks. 
2 lines changed or deleted 15 lines changed or added


 liboiltypes.h   liboiltypes.h 
skipping to change at line 31 skipping to change at line 31
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _LIBOIL_TYPES_H_ #ifndef _LIBOIL_TYPES_H_
#define _LIBOIL_TYPES_H_ #define _LIBOIL_TYPES_H_
#include <stdint.h> #include <liboil/liboil-stdint.h>
/** /**
* NULL: * NULL:
* *
* FIXME: gtk-doc is broken and doesn't know how to ignore this. * FIXME: gtk-doc is broken and doesn't know how to ignore this.
*/ */
#ifndef NULL #ifndef NULL
#define NULL ((void *)0) #define NULL ((void *)0)
#endif #endif
skipping to change at line 55 skipping to change at line 55
*/ */
typedef struct _OilFunctionClass OilFunctionClass; typedef struct _OilFunctionClass OilFunctionClass;
typedef struct _OilFunctionImpl OilFunctionImpl; typedef struct _OilFunctionImpl OilFunctionImpl;
typedef struct _OilParameter OilParameter; typedef struct _OilParameter OilParameter;
typedef struct _OilTest OilTest; typedef struct _OilTest OilTest;
typedef void (*OilTestFunction) (OilTest *test); typedef void (*OilTestFunction) (OilTest *test);
/** /**
* type_s8: * oil_type_s8:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
#define type_s8 int8_t #define oil_type_s8 int8_t
/** /**
* type_u8: * oil_type_u8:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
#define type_u8 uint8_t #define oil_type_u8 uint8_t
/** /**
* type_s16: * oil_type_s16:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
#define type_s16 int16_t #define oil_type_s16 int16_t
/** /**
* type_u16: * oil_type_u16:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
#define type_u16 uint16_t #define oil_type_u16 uint16_t
/** /**
* type_s32: * oil_type_s32:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
#define type_s32 int32_t #define oil_type_s32 int32_t
/** /**
* type_u32: * oil_type_u32:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
#define type_u32 uint32_t #define oil_type_u32 uint32_t
/** /**
* type_f32: * oil_type_s64:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
#define type_f32 float #define oil_type_s64 int64_t
/** /**
* type_f64: * oil_type_u64:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
#define type_f64 double #define oil_type_u64 uint64_t
/**
* oil_type_f32:
*
* Useful for autogenerated code. Do not use otherwise.
*/
#define oil_type_f32 float
/**
* oil_type_f64:
*
* Useful for autogenerated code. Do not use otherwise.
*/
#define oil_type_f64 double
#define type_min_s8 (-128) #define oil_type_min_s8 (-128)
#define type_min_u8 (0) #define oil_type_min_u8 (0)
#define type_min_s16 (-32768) #define oil_type_min_s16 (-32768)
#define type_min_u16 (0) #define oil_type_min_u16 (0)
#define type_min_s32 (-2147483647 - 1) #define oil_type_min_s32 (-2147483647 - 1)
#define type_min_u32 (0) #define oil_type_min_u32 (0)
#define type_max_s8 (127) #define oil_type_max_s8 (127)
#define type_max_u8 (255) #define oil_type_max_u8 (255)
#define type_max_s16 (32767) #define oil_type_max_s16 (32767)
#define type_max_u16 (65535) #define oil_type_max_u16 (65535)
#define type_max_s32 (2147483647) #define oil_type_max_s32 (2147483647)
#define type_max_u32 (4294967295U) #define oil_type_max_u32 (4294967295U)
/** /**
* type_min_s8: * oil_type_min_s8:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
/** /**
* type_min_u8: * oil_type_min_u8:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
/** /**
* type_min_s16: * oil_type_min_s16:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
/** /**
* type_min_u16: * oil_type_min_u16:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
/** /**
* type_min_s32: * oil_type_min_s32:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
/** /**
* type_min_u32: * oil_type_min_u32:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
/** /**
* type_min_f32: * oil_type_min_f32:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
/** /**
* type_min_f64: * oil_type_min_f64:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
/** /**
* type_max_s8: * oil_type_max_s8:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
/** /**
* type_max_u8: * oil_type_max_u8:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
/** /**
* type_max_s16: * oil_type_max_s16:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
/** /**
* type_max_u16: * oil_type_max_u16:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
/** /**
* type_max_s32: * oil_type_max_s32:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
/** /**
* type_max_u32: * oil_type_max_u32:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
/** /**
* type_max_f32: * oil_type_max_f32:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
/** /**
* type_max_f64: * oil_type_max_f64:
* *
* Useful for autogenerated code. Do not use otherwise. * Useful for autogenerated code. Do not use otherwise.
*/ */
#endif #endif
 End of changes. 35 change blocks. 
45 lines changed or deleted 57 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/