| Index: third_party/libjpeg_turbo/jsimd.h
|
| ===================================================================
|
| --- third_party/libjpeg_turbo/jsimd.h (revision 95020)
|
| +++ third_party/libjpeg_turbo/jsimd.h (working copy)
|
| @@ -2,9 +2,11 @@
|
| * jsimd.h
|
| *
|
| * Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
|
| + * Copyright 2011 D. R. Commander
|
| *
|
| * Based on the x86 SIMD extension for IJG JPEG library,
|
| * Copyright (C) 1999-2006, MIYASAKA Masaru.
|
| + * For conditions of distribution and use, see copyright notice in jsimdext.inc
|
| *
|
| */
|
|
|
| @@ -12,8 +14,10 @@
|
|
|
| #ifdef NEED_SHORT_EXTERNAL_NAMES
|
| #define jsimd_can_rgb_ycc jSCanRgbYcc
|
| +#define jsimd_can_rgb_gray jSCanRgbGry
|
| #define jsimd_can_ycc_rgb jSCanYccRgb
|
| #define jsimd_rgb_ycc_convert jSRgbYccConv
|
| +#define jsimd_rgb_gray_convert jSRgbGryConv
|
| #define jsimd_ycc_rgb_convert jSYccRgbConv
|
| #define jsimd_can_h2v2_downsample jSCanH2V2Down
|
| #define jsimd_can_h2v1_downsample jSCanH2V1Down
|
| @@ -34,12 +38,17 @@
|
| #endif /* NEED_SHORT_EXTERNAL_NAMES */
|
|
|
| EXTERN(int) jsimd_can_rgb_ycc JPP((void));
|
| +EXTERN(int) jsimd_can_rgb_gray JPP((void));
|
| EXTERN(int) jsimd_can_ycc_rgb JPP((void));
|
|
|
| EXTERN(void) jsimd_rgb_ycc_convert
|
| JPP((j_compress_ptr cinfo,
|
| JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
|
| JDIMENSION output_row, int num_rows));
|
| +EXTERN(void) jsimd_rgb_gray_convert
|
| + JPP((j_compress_ptr cinfo,
|
| + JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
|
| + JDIMENSION output_row, int num_rows));
|
| EXTERN(void) jsimd_ycc_rgb_convert
|
| JPP((j_decompress_ptr cinfo,
|
| JSAMPIMAGE input_buf, JDIMENSION input_row,
|
|
|