| 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 | |
|
| 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 | |
|