diff options
author | David Schleef <ds@schleef.org> | 2004-12-02 09:45:37 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2004-12-02 09:45:37 +0000 |
commit | 95e414b8361d3cf5ae64bb3bb782a5777f53aa39 (patch) | |
tree | 7548656436741c9d3a80185e21e89a0b2f32c9fd /liboil/jpeg | |
parent | 6b234e865679b56811037e34f5e0767cb6f76458 (diff) | |
download | liboil-95e414b8361d3cf5ae64bb3bb782a5777f53aa39.tar.gz |
* liboil/build_prototypes.c: (main): complain if prototype parsing
fails.
* liboil/conv_misc.c: (conv_f64_s16_table): fix valgrind problem
* liboil/liboilcpu.c: (_oil_cpu_init): parse OIL_CPU_FLAGS environment
variable
* liboil/liboilfunction.h: move stuff to liboilparameter.h
* liboil/liboilparameter.h: new
* liboil/liboilprototype.c: (oil_prototype_from_string),
(oil_prototype_check_sanity), (oil_arg_type_name),
(oil_param_from_string): implement a new style of parameter names
* liboil/liboilprototype.h: use liboilparameter.h
* liboil/liboiltest.c: (oil_test_new), (oil_test_go), (fill_array),
(init_parameter), (oil_test_init_params): implement a new style of
parameter names
* liboil/liboiltest.h: add m
* liboil/liboiltypes.h: move some typedefs here
* testsuite/introspect.c: (main): check return values
* testsuite/proto1.c: (main): same
* testsuite/proto2.c: (main): same
* testsuite/test1.c: (main): same
Fixes for new style of parameter names:
* liboil/colorspace/rgb2bgr.c:
* liboil/colorspace/rgb2rgba.c:
* liboil/copy/splat_ref.c:
* liboil/copy/trans8x8.c:
* liboil/dct/dct12_f32.c:
* liboil/dct/dct36_f32.c: (dct36_f32_ref):
* liboil/dct/fdct8_f64.c:
* liboil/dct/fdct8x8_f64.c: (fdct8x8_f64_ref):
* liboil/dct/idct8_f64.c:
* liboil/dct/idct8x8_c.c:
* liboil/dct/imdct32_f32.c:
* liboil/jpeg/convert8x8_c.c:
* liboil/jpeg/quantize8x8_c.c:
* liboil/jpeg/yuv2rgb_c.c:
* liboil/jpeg/zigzag8x8_c.c:
* liboil/md5/md5.c:
* liboil/simdpack/clip_ref.c:
* liboil/simdpack/clip_s16.c: (clip_s16_fast2): fix bugs
* liboil/simdpack/mult8x8_s16.c:
* liboil/simdpack/multsum.c: (multsum_f32_unroll2):
* liboil/simdpack/sad8x8.c:
* liboil/simdpack/scalaradd.c:
* liboil/simdpack/scalarmult.c:
* liboil/simdpack/sincos_f64.c:
* liboil/simdpack/vectoradd_f64.c:
Diffstat (limited to 'liboil/jpeg')
-rw-r--r-- | liboil/jpeg/convert8x8_c.c | 9 | ||||
-rw-r--r-- | liboil/jpeg/quantize8x8_c.c | 2 | ||||
-rw-r--r-- | liboil/jpeg/yuv2rgb_c.c | 21 | ||||
-rw-r--r-- | liboil/jpeg/zigzag8x8_c.c | 3 |
4 files changed, 15 insertions, 20 deletions
diff --git a/liboil/jpeg/convert8x8_c.c b/liboil/jpeg/convert8x8_c.c index 92bd651..10f61c5 100644 --- a/liboil/jpeg/convert8x8_c.c +++ b/liboil/jpeg/convert8x8_c.c @@ -24,9 +24,12 @@ #include <math.h> -OIL_DEFINE_CLASS (conv8x8_s16_f64, "int16_t * dest, int dstr, double *src, int sstr"); -OIL_DEFINE_CLASS (conv8x8_f64_s16, "double *dest, int dstr, int16_t * src, int sstr"); -OIL_DEFINE_CLASS (clipconv8x8_u8_s16, "uint8_t * dest, int dstr, int16_t * src, int sstr"); +OIL_DEFINE_CLASS (conv8x8_s16_f64, + "int16_t * d_8x8, int dstr, double *s_8x8, int sstr"); +OIL_DEFINE_CLASS (conv8x8_f64_s16, + "double *d_8x8, int dstr, int16_t * s_8x8, int sstr"); +OIL_DEFINE_CLASS (clipconv8x8_u8_s16, + "uint8_t * d_8x8, int dstr, int16_t * s_8x8, int sstr"); #define BLOCK8x8_F64(ptr, stride, row, column) \ (*((double *)((void *)ptr + stride*row) + column)) diff --git a/liboil/jpeg/quantize8x8_c.c b/liboil/jpeg/quantize8x8_c.c index d02b7ba..95131c8 100644 --- a/liboil/jpeg/quantize8x8_c.c +++ b/liboil/jpeg/quantize8x8_c.c @@ -24,7 +24,7 @@ #include "jpeg.h" OIL_DEFINE_CLASS (dequantize8x8_s16, - "int16_t *dest, int dstr, int16_t *src1, int sstr1, int16_t *src2, int sstr2"); + "int16_t *d_8x8, int dstr, int16_t *s1_8x8, int sstr1, int16_t *s2_8x8, int sstr2"); #define BLOCK8x8_S16(ptr, stride, row, column) \ (*((int16_t *)((void *)ptr + stride*row) + column)) diff --git a/liboil/jpeg/yuv2rgb_c.c b/liboil/jpeg/yuv2rgb_c.c index 44ed7ea..fe6d52f 100644 --- a/liboil/jpeg/yuv2rgb_c.c +++ b/liboil/jpeg/yuv2rgb_c.c @@ -24,21 +24,12 @@ #include <liboil/liboiltest.h> #include "jpeg.h" -static void -yuv_test (OilTest *test) -{ - -} - -OIL_DEFINE_CLASS_FULL (yuv2rgbx_u8, - "uint8_t *dest, uint8_t *src1, uint8_t *src2, uint8_t *src3, int n", - yuv_test); -OIL_DEFINE_CLASS_FULL (yuv2rgbx_sub2_u8, - "uint8_t *dest, uint8_t *src1, uint8_t *src2, uint8_t *src3, int n", - yuv_test); -OIL_DEFINE_CLASS_FULL (yuv2rgbx_sub4_u8, - "uint8_t *dest, uint8_t *src1, uint8_t *src2, uint8_t *src3, int n", - yuv_test); +OIL_DEFINE_CLASS (yuv2rgbx_u8, + "uint8_t *d_4xn, uint8_t *src1, uint8_t *src2, uint8_t *src3, int n"); +OIL_DEFINE_CLASS (yuv2rgbx_sub2_u8, + "uint8_t *d_4xn, uint8_t *src1, uint8_t *src2, uint8_t *src3, int n"); +OIL_DEFINE_CLASS (yuv2rgbx_sub4_u8, + "uint8_t *d_4xn, uint8_t *src1, uint8_t *src2, uint8_t *src3, int n"); #define clamp(x,a,b) clamp_lower(clamp_upper(x,b),a) #define clamp_lower(x,a) ((x<a)?(a):(x)) diff --git a/liboil/jpeg/zigzag8x8_c.c b/liboil/jpeg/zigzag8x8_c.c index a6e4f5b..0430e95 100644 --- a/liboil/jpeg/zigzag8x8_c.c +++ b/liboil/jpeg/zigzag8x8_c.c @@ -23,7 +23,8 @@ #include <liboil/liboil.h> #include "jpeg.h" -OIL_DEFINE_CLASS (unzigzag8x8_s16, "int16_t *dest, int dstr, int16_t *src, int sstr"); +OIL_DEFINE_CLASS (unzigzag8x8_s16, + "int16_t *d_8x8, int ds, int16_t *s_8x8, int ss"); |