Displaying 1 result from an estimated 1 matches for "e3b42c7".
Did you mean:
e3842c5
2007 Feb 10
0
2 commits - libswfdec/jpeg
...m 17f85210c89d16ae4824771d41ea5bf41988b123)
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];...