search for: 5240b08

Displaying 2 results from an estimated 2 matches for "5240b08".

Did you mean: 24008
2007 Feb 10
0
2 commits - libswfdec/jpeg
...0c89d16ae4824771d41ea5bf41988b123) Author: Debian User <ds@gromit.(none)> Date: Sat Feb 10 18:11:35 2007 -0800 Change chroma upscaling from nearest neighbor to bilinear interpolation. diff --git a/libswfdec/jpeg/jpeg_rgb_decoder.c b/libswfdec/jpeg/jpeg_rgb_decoder.c index e3b42c7..5240b08 100644 --- a/libswfdec/jpeg/jpeg_rgb_decoder.c +++ b/libswfdec/jpeg/jpeg_rgb_decoder.c @@ -229,7 +229,17 @@ scanlinescale2_u8 (unsigned char *dest, { int i; - for (i = 0; i < len; i++) { - dest[i] = src[i / 2]; + for (i = 0; i < len - 3; i += 2){ + dest[i] = src[i/2]; + dest...
2007 Feb 13
0
libswfdec/jpeg libswfdec/swfdec_image.c
...eg_decoder_restart_interval(JpegDecoder *dec, bits_t *bits); +int jpeg_decoder_restart(JpegDecoder *dec, bits_t *bits); +void jpeg_decoder_decode_entropy_segment(JpegDecoder *dec, bits_t *bits); #endif + + diff --git a/libswfdec/jpeg/jpeg_rgb_decoder.c b/libswfdec/jpeg/jpeg_rgb_decoder.c index 5240b08..02af436 100644 --- a/libswfdec/jpeg/jpeg_rgb_decoder.c +++ b/libswfdec/jpeg/jpeg_rgb_decoder.c @@ -1,14 +1,42 @@ -#include <glib.h> #include <stdio.h> #include <string.h> +#include <stdlib.h> -#include "jpeg_rgb_internal.h" +#include "jpeg_internal.h&qu...