Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Side by Side Diff: jsimd_none.c

Issue 1270213002: Add support for decoding to 565 to libjpeg_turbo (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git@master
Patch Set: Link crbug in the README Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « jsimd.h ('k') | simd/jsimd.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * jsimd_none.c 2 * jsimd_none.c
3 * 3 *
4 * Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB 4 * Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
5 * Copyright 2009-2011 D. R. Commander 5 * Copyright 2009-2011, 2014 D. R. Commander
6 * 6 *
7 * Based on the x86 SIMD extension for IJG JPEG library, 7 * Based on the x86 SIMD extension for IJG JPEG library,
8 * Copyright (C) 1999-2006, MIYASAKA Masaru. 8 * Copyright (C) 1999-2006, MIYASAKA Masaru.
9 * For conditions of distribution and use, see copyright notice in jsimdext.inc 9 * For conditions of distribution and use, see copyright notice in jsimdext.inc
10 * 10 *
11 * This file contains stubs for when there is no SIMD support available. 11 * This file contains stubs for when there is no SIMD support available.
12 */ 12 */
13 13
14 #define JPEG_INTERNALS 14 #define JPEG_INTERNALS
15 #include "jinclude.h" 15 #include "jinclude.h"
(...skipping 13 matching lines...) Expand all
29 { 29 {
30 return 0; 30 return 0;
31 } 31 }
32 32
33 GLOBAL(int) 33 GLOBAL(int)
34 jsimd_can_ycc_rgb (void) 34 jsimd_can_ycc_rgb (void)
35 { 35 {
36 return 0; 36 return 0;
37 } 37 }
38 38
39 GLOBAL(int)
40 jsimd_can_ycc_rgb565 (void)
41 {
42 return 0;
43 }
44
39 GLOBAL(void) 45 GLOBAL(void)
40 jsimd_rgb_ycc_convert (j_compress_ptr cinfo, 46 jsimd_rgb_ycc_convert (j_compress_ptr cinfo,
41 JSAMPARRAY input_buf, JSAMPIMAGE output_buf, 47 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
42 JDIMENSION output_row, int num_rows) 48 JDIMENSION output_row, int num_rows)
43 { 49 {
44 } 50 }
45 51
46 GLOBAL(void) 52 GLOBAL(void)
47 jsimd_rgb_gray_convert (j_compress_ptr cinfo, 53 jsimd_rgb_gray_convert (j_compress_ptr cinfo,
48 JSAMPARRAY input_buf, JSAMPIMAGE output_buf, 54 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
49 JDIMENSION output_row, int num_rows) 55 JDIMENSION output_row, int num_rows)
50 { 56 {
51 } 57 }
52 58
53 GLOBAL(void) 59 GLOBAL(void)
54 jsimd_ycc_rgb_convert (j_decompress_ptr cinfo, 60 jsimd_ycc_rgb_convert (j_decompress_ptr cinfo,
55 JSAMPIMAGE input_buf, JDIMENSION input_row, 61 JSAMPIMAGE input_buf, JDIMENSION input_row,
56 JSAMPARRAY output_buf, int num_rows) 62 JSAMPARRAY output_buf, int num_rows)
57 { 63 {
58 } 64 }
59 65
66 GLOBAL(void)
67 jsimd_ycc_rgb565_convert (j_decompress_ptr cinfo,
68 JSAMPIMAGE input_buf, JDIMENSION input_row,
69 JSAMPARRAY output_buf, int num_rows)
70 {
71 }
72
60 GLOBAL(int) 73 GLOBAL(int)
61 jsimd_can_h2v2_downsample (void) 74 jsimd_can_h2v2_downsample (void)
62 { 75 {
63 return 0; 76 return 0;
64 } 77 }
65 78
66 GLOBAL(int) 79 GLOBAL(int)
67 jsimd_can_h2v1_downsample (void) 80 jsimd_can_h2v1_downsample (void)
68 { 81 {
69 return 0; 82 return 0;
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 { 317 {
305 } 318 }
306 319
307 GLOBAL(void) 320 GLOBAL(void)
308 jsimd_idct_float (j_decompress_ptr cinfo, jpeg_component_info * compptr, 321 jsimd_idct_float (j_decompress_ptr cinfo, jpeg_component_info * compptr,
309 JCOEFPTR coef_block, JSAMPARRAY output_buf, 322 JCOEFPTR coef_block, JSAMPARRAY output_buf,
310 JDIMENSION output_col) 323 JDIMENSION output_col)
311 { 324 {
312 } 325 }
313 326
OLDNEW
« no previous file with comments | « jsimd.h ('k') | simd/jsimd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698