OLD | NEW |
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 * | 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 * |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 EXTERN(void) jsimd_h2v1_extbgrx_merged_upsample_sse2 | 515 EXTERN(void) jsimd_h2v1_extbgrx_merged_upsample_sse2 |
516 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf, | 516 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf, |
517 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf)); | 517 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf)); |
518 EXTERN(void) jsimd_h2v1_extxbgr_merged_upsample_sse2 | 518 EXTERN(void) jsimd_h2v1_extxbgr_merged_upsample_sse2 |
519 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf, | 519 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf, |
520 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf)); | 520 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf)); |
521 EXTERN(void) jsimd_h2v1_extxrgb_merged_upsample_sse2 | 521 EXTERN(void) jsimd_h2v1_extxrgb_merged_upsample_sse2 |
522 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf, | 522 JPP((JDIMENSION output_width, JSAMPIMAGE input_buf, |
523 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf)); | 523 JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf)); |
524 | 524 |
| 525 EXTERN(void) jsimd_h2v1_fancy_upsample_neon |
| 526 JPP((int max_v_samp_factor, JDIMENSION downsampled_width, |
| 527 JSAMPARRAY input_data, JSAMPARRAY * output_data_ptr)); |
| 528 |
525 /* SIMD Sample Conversion */ | 529 /* SIMD Sample Conversion */ |
526 EXTERN(void) jsimd_convsamp_mmx JPP((JSAMPARRAY sample_data, | 530 EXTERN(void) jsimd_convsamp_mmx JPP((JSAMPARRAY sample_data, |
527 JDIMENSION start_col, | 531 JDIMENSION start_col, |
528 DCTELEM * workspace)); | 532 DCTELEM * workspace)); |
529 | 533 |
530 EXTERN(void) jsimd_convsamp_sse2 JPP((JSAMPARRAY sample_data, | 534 EXTERN(void) jsimd_convsamp_sse2 JPP((JSAMPARRAY sample_data, |
531 JDIMENSION start_col, | 535 JDIMENSION start_col, |
532 DCTELEM * workspace)); | 536 DCTELEM * workspace)); |
533 | 537 |
534 EXTERN(void) jsimd_convsamp_neon JPP((JSAMPARRAY sample_data, | 538 EXTERN(void) jsimd_convsamp_neon JPP((JSAMPARRAY sample_data, |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 JCOEFPTR coef_block, | 661 JCOEFPTR coef_block, |
658 JSAMPARRAY output_buf, | 662 JSAMPARRAY output_buf, |
659 JDIMENSION output_col)); | 663 JDIMENSION output_col)); |
660 | 664 |
661 extern const int jconst_idct_float_sse2[]; | 665 extern const int jconst_idct_float_sse2[]; |
662 EXTERN(void) jsimd_idct_float_sse2 JPP((void * dct_table, | 666 EXTERN(void) jsimd_idct_float_sse2 JPP((void * dct_table, |
663 JCOEFPTR coef_block, | 667 JCOEFPTR coef_block, |
664 JSAMPARRAY output_buf, | 668 JSAMPARRAY output_buf, |
665 JDIMENSION output_col)); | 669 JDIMENSION output_col)); |
666 | 670 |
OLD | NEW |