diff options
author | Aaron Gable <agable@chromium.org> | 2015-08-06 09:54:48 -0700 |
---|---|---|
committer | Aaron Gable <agable@chromium.org> | 2015-08-06 09:54:48 -0700 |
commit | feec46f80444b8eed4126a86a2c0e2cffe1c9673 (patch) | |
tree | 8bb36e3f61e201cb718af143ea8409ace64d6e4d /jsimd_none.c | |
parent | c9c8755c326b42c8d0dc938ec3f0d1d648bd361a (diff) |
Add support for decoding to 565 to libjpeg_turbo
It was submitted upstream at libjpeg_turbo as r1295 plus
sundry fixes and SIMD optimizations (r1385, r1386, r1398,
and r1402). Now cherry pick the change into
third_party/libjpeg-turbo.
At this time, this new capability is intended for Android
devices, not Chrome, and should have no affect on JPEG
decode behavior or perf of Chrome.
BUG=516761
R=noel@chromium.org
Review URL: https://codereview.chromium.org/1270213002 .
Diffstat (limited to 'jsimd_none.c')
-rw-r--r-- | jsimd_none.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/jsimd_none.c b/jsimd_none.c index 9787902..5418e80 100644 --- a/jsimd_none.c +++ b/jsimd_none.c @@ -2,7 +2,7 @@ * jsimd_none.c * * Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB - * Copyright 2009-2011 D. R. Commander + * Copyright 2009-2011, 2014 D. R. Commander * * Based on the x86 SIMD extension for IJG JPEG library, * Copyright (C) 1999-2006, MIYASAKA Masaru. @@ -36,6 +36,12 @@ jsimd_can_ycc_rgb (void) return 0; } +GLOBAL(int) +jsimd_can_ycc_rgb565 (void) +{ + return 0; +} + GLOBAL(void) jsimd_rgb_ycc_convert (j_compress_ptr cinfo, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, @@ -57,6 +63,13 @@ jsimd_ycc_rgb_convert (j_decompress_ptr cinfo, { } +GLOBAL(void) +jsimd_ycc_rgb565_convert (j_decompress_ptr cinfo, + JSAMPIMAGE input_buf, JDIMENSION input_row, + JSAMPARRAY output_buf, int num_rows) +{ +} + GLOBAL(int) jsimd_can_h2v2_downsample (void) { |