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

Side by Side Diff: simd/jsimd.h

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_none.c ('k') | simd/jsimd_arm.c » ('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 * simd/jsimd.h 2 * simd/jsimd.h
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 2011 D. R. Commander 5 * Copyright 2011 D. R. Commander
6 * Copyright (C) 2014 Linaro Limited
6 * 7 *
7 * Based on the x86 SIMD extension for IJG JPEG library, 8 * Based on the x86 SIMD extension for IJG JPEG library,
8 * Copyright (C) 1999-2006, MIYASAKA Masaru. 9 * Copyright (C) 1999-2006, MIYASAKA Masaru.
9 * For conditions of distribution and use, see copyright notice in jsimdext.inc 10 * For conditions of distribution and use, see copyright notice in jsimdext.inc
10 * 11 *
11 */ 12 */
12 13
13 /* Bitmask for supported acceleration methods */ 14 /* Bitmask for supported acceleration methods */
14 15
15 #define JSIMD_NONE 0x00 16 #define JSIMD_NONE 0x00
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 JSAMPIMAGE input_buf, JDIMENSION input_row, 379 JSAMPIMAGE input_buf, JDIMENSION input_row,
379 JSAMPARRAY output_buf, int num_rows)); 380 JSAMPARRAY output_buf, int num_rows));
380 EXTERN(void) jsimd_ycc_extxbgr_convert_neon 381 EXTERN(void) jsimd_ycc_extxbgr_convert_neon
381 JPP((JDIMENSION out_width, 382 JPP((JDIMENSION out_width,
382 JSAMPIMAGE input_buf, JDIMENSION input_row, 383 JSAMPIMAGE input_buf, JDIMENSION input_row,
383 JSAMPARRAY output_buf, int num_rows)); 384 JSAMPARRAY output_buf, int num_rows));
384 EXTERN(void) jsimd_ycc_extxrgb_convert_neon 385 EXTERN(void) jsimd_ycc_extxrgb_convert_neon
385 JPP((JDIMENSION out_width, 386 JPP((JDIMENSION out_width,
386 JSAMPIMAGE input_buf, JDIMENSION input_row, 387 JSAMPIMAGE input_buf, JDIMENSION input_row,
387 JSAMPARRAY output_buf, int num_rows)); 388 JSAMPARRAY output_buf, int num_rows));
389 EXTERN(void) jsimd_ycc_rgb565_convert_neon
390 JPP((JDIMENSION out_width, JSAMPIMAGE input_buf, JDIMENSION input_row,
391 JSAMPARRAY output_buf, int num_rows));
388 392
389 /* SIMD Downsample */ 393 /* SIMD Downsample */
390 EXTERN(void) jsimd_h2v2_downsample_mmx 394 EXTERN(void) jsimd_h2v2_downsample_mmx
391 JPP((JDIMENSION image_width, int max_v_samp_factor, 395 JPP((JDIMENSION image_width, int max_v_samp_factor,
392 JDIMENSION v_samp_factor, JDIMENSION width_blocks, 396 JDIMENSION v_samp_factor, JDIMENSION width_blocks,
393 JSAMPARRAY input_data, JSAMPARRAY output_data)); 397 JSAMPARRAY input_data, JSAMPARRAY output_data));
394 EXTERN(void) jsimd_h2v1_downsample_mmx 398 EXTERN(void) jsimd_h2v1_downsample_mmx
395 JPP((JDIMENSION image_width, int max_v_samp_factor, 399 JPP((JDIMENSION image_width, int max_v_samp_factor,
396 JDIMENSION v_samp_factor, JDIMENSION width_blocks, 400 JDIMENSION v_samp_factor, JDIMENSION width_blocks,
397 JSAMPARRAY input_data, JSAMPARRAY output_data)); 401 JSAMPARRAY input_data, JSAMPARRAY output_data));
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 JCOEFPTR coef_block, 665 JCOEFPTR coef_block,
662 JSAMPARRAY output_buf, 666 JSAMPARRAY output_buf,
663 JDIMENSION output_col)); 667 JDIMENSION output_col));
664 668
665 extern const int jconst_idct_float_sse2[]; 669 extern const int jconst_idct_float_sse2[];
666 EXTERN(void) jsimd_idct_float_sse2 JPP((void * dct_table, 670 EXTERN(void) jsimd_idct_float_sse2 JPP((void * dct_table,
667 JCOEFPTR coef_block, 671 JCOEFPTR coef_block,
668 JSAMPARRAY output_buf, 672 JSAMPARRAY output_buf,
669 JDIMENSION output_col)); 673 JDIMENSION output_col));
670 674
OLDNEW
« no previous file with comments | « jsimd_none.c ('k') | simd/jsimd_arm.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698