diff options
author | David Schleef <ds@schleef.org> | 2005-05-08 03:08:22 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2005-05-08 03:08:22 +0000 |
commit | 310196005d9033d7d174fef3b9232d18203ad2eb (patch) | |
tree | 94f70cd9c07e25d33ba749a89a5d1900934f6589 | |
parent | 4b0e190913112ba01a34b618508ade10a227d124 (diff) | |
download | liboil-310196005d9033d7d174fef3b9232d18203ad2eb.tar.gz |
* liboil/copy/splat_ref.c: (splat_u8_ns_int): Stupid monkey! make
the function actually do what it's supposed to do.
* liboil/copy/trans8x8_i386.c: (trans8x8_u16_asm2): Remove ebx
clobbering
* liboil/dct/idct8x8theora_ref.c: remove _REF flag for non-ref
function.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | liboil/copy/splat_ref.c | 3 | ||||
-rw-r--r-- | liboil/copy/trans8x8_i386.c | 2 | ||||
-rw-r--r-- | liboil/dct/idct8x8theora_ref.c | 2 |
4 files changed, 13 insertions, 3 deletions
@@ -1,3 +1,12 @@ +2005-05-07 David Schleef <ds@schleef.org> + + * liboil/copy/splat_ref.c: (splat_u8_ns_int): Stupid monkey! make + the function actually do what it's supposed to do. + * liboil/copy/trans8x8_i386.c: (trans8x8_u16_asm2): Remove ebx + clobbering + * liboil/dct/idct8x8theora_ref.c: remove _REF flag for non-ref + function. + 2005-05-06 David Schleef <ds@schleef.org> * examples/jpeg/jpeg.c: (jpeg_decoder_decode_entropy_segment): diff --git a/liboil/copy/splat_ref.c b/liboil/copy/splat_ref.c index 0f5b7a5..eb126eb 100644 --- a/liboil/copy/splat_ref.c +++ b/liboil/copy/splat_ref.c @@ -128,7 +128,8 @@ static void splat_u8_ns_int (uint8_t *dest, uint8_t *param, int n) n >>= 4; p = (*param<<24) | (*param<<16) | (*param<<8) | (*param); while(n>0){ - *(uint32_t *)param = p; + *(uint32_t *)dest = p; + dest+=4; n--; } } diff --git a/liboil/copy/trans8x8_i386.c b/liboil/copy/trans8x8_i386.c index caa91d2..f0de418 100644 --- a/liboil/copy/trans8x8_i386.c +++ b/liboil/copy/trans8x8_i386.c @@ -230,7 +230,7 @@ trans8x8_u16_asm2 (uint16_t *dest, int dstr, uint16_t *src, int sstr) " movl %5, %%ebx \n" : : "m" (dest), "m" (dstr), "m" (src), "m" (sstr), "m" (i), "m" (saved_ebx) - : "eax", "ebx", "ecx", "edx", "esi", "edi"); + : "eax", "ecx", "edx", "esi", "edi"); } OIL_DEFINE_IMPL (trans8x8_u16_asm2, trans8x8_u16); diff --git a/liboil/dct/idct8x8theora_ref.c b/liboil/dct/idct8x8theora_ref.c index 8b0c50b..d2b1c74 100644 --- a/liboil/dct/idct8x8theora_ref.c +++ b/liboil/dct/idct8x8theora_ref.c @@ -194,7 +194,7 @@ idct8theora_s16_float (int16_t *dest, int dstr, int16_t *src, int sstr) } oil_conv_s16_f64 (dest, sizeof(int16_t), tmp2, sizeof(double), 8); } -OIL_DEFINE_IMPL_REF (idct8theora_s16_float, idct8theora_s16); +OIL_DEFINE_IMPL (idct8theora_s16_float, idct8theora_s16); #endif |