diff options
author | Alex Naidis <alex.naidis@linux.com> | 2016-10-16 23:10:08 +0200 |
---|---|---|
committer | Alex Naidis <alex.naidis@linux.com> | 2016-10-23 15:24:06 +0200 |
commit | 6eb7d3798b5a79347c62825fc4c16f7ce673bdd0 (patch) | |
tree | 1434d2258d7fe0588e35d359c21f21259d005453 /wrrle.c | |
parent | e7bf3c56cadcd76c624a9bd1798d64c03c2a1210 (diff) | |
download | libjpeg-turbo-6eb7d3798b5a79347c62825fc4c16f7ce673bdd0.tar.gz |
libjpeg-turbo: Upgrade to 1.5.1
The changes from 1.4.2 to 1.5.1 include
a big amount of fixes and huge performance improvements.
As highlights there is a full ARM 64-bit (ARMv8) NEON SIMD
implementation which improves compression of full-color JPEGs
by about 2-2.5x on average on Cortex-A53 and Cortex-A57 cores.
Also SIMD acceleration for Huffman encoding on NEON-capable
ARM 32-bit and 64-bit platforms was added.
Performance on x86/x86_64 was also improved by
adding better optimized SSE2 routines.
For the full changelog, please see the ChangeLog.md
file.
Partial decoding optimizations, the security fix
to adress b/27494207 and the fix for the AARCH64
conformance issueare present in the release.
The README.android file was edited to reflect this.
The configuration files were regenerated
and all Android specific changes were applied.
BUG:28268702
Change-Id: I538291d894df1da01d3f733771647df1fb61ec42
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Diffstat (limited to 'wrrle.c')
-rw-r--r-- | wrrle.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -5,7 +5,8 @@ * Copyright (C) 1991-1996, Thomas G. Lane. * It was modified by The libjpeg-turbo Project to include only code and * information relevant to libjpeg-turbo. - * For conditions of distribution and use, see the accompanying README file. + * For conditions of distribution and use, see the accompanying README.ijg + * file. * * This file contains routines to write output images in RLE format. * The Utah Raster Toolkit library is required (version 3.1 or later). @@ -61,7 +62,7 @@ typedef struct { } rle_dest_struct; -typedef rle_dest_struct * rle_dest_ptr; +typedef rle_dest_struct *rle_dest_ptr; /* Forward declarations */ METHODDEF(void) rle_put_pixel_rows @@ -236,7 +237,7 @@ finish_output_rle (j_decompress_ptr cinfo, djpeg_dest_ptr dinfo) } else { for (row = cinfo->output_height-1; row >= 0; row--) { rle_row = (rle_pixel **) dest->rle_row; - output_row = * (*cinfo->mem->access_virt_sarray) + output_row = *(*cinfo->mem->access_virt_sarray) ((j_common_ptr) cinfo, dest->image, (JDIMENSION) row, (JDIMENSION) 1, FALSE); red = rle_row[0]; |