| OLD | NEW |
| 1 ; | 1 ; |
| 2 ; jdmrgss2-64.asm - merged upsampling/color conversion (64-bit SSE2) | 2 ; jdmrgss2-64.asm - merged upsampling/color conversion (64-bit SSE2) |
| 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 D. R. Commander | 5 ; Copyright 2009 D. R. Commander |
| 6 ; | 6 ; |
| 7 ; Based on | 7 ; Based on |
| 8 ; x86 SIMD extension for IJG JPEG library | 8 ; x86 SIMD extension for IJG JPEG library |
| 9 ; Copyright (C) 1999-2006, MIYASAKA Masaru. | 9 ; Copyright (C) 1999-2006, MIYASAKA Masaru. |
| 10 ; 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 |
| 11 ; | 11 ; |
| 12 ; This file should be assembled with NASM (Netwide Assembler), | 12 ; This file should be assembled with NASM (Netwide Assembler), |
| 13 ; can *not* be assembled with Microsoft's MASM or any compatible | 13 ; can *not* be assembled with Microsoft's MASM or any compatible |
| 14 ; assembler (including Borland's Turbo Assembler). | 14 ; assembler (including Borland's Turbo Assembler). |
| 15 ; NASM is available from http://nasm.sourceforge.net/ for | 15 ; NASM is available from http://nasm.sourceforge.net/ for |
| 16 ; http://sourceforge.net/project/showfiles.php?group_id=6208 | 16 ; http://sourceforge.net/project/showfiles.php?group_id=6208 |
| 17 ; | 17 ; |
| 18 ; [TAB8] | 18 ; [TAB8] |
| 19 | 19 |
| 20 %include "jcolsamp.inc" | 20 %include "jcolsamp.inc" |
| 21 | 21 |
| 22 ; -------------------------------------------------------------------------- | 22 ; -------------------------------------------------------------------------- |
| 23 %ifndef NEED_SECTION |
| 24 %define NEED_SECTION |
| 23 SECTION SEG_TEXT | 25 SECTION SEG_TEXT |
| 24 BITS 64 | 26 BITS 64 |
| 27 %endif |
| 28 |
| 25 ; | 29 ; |
| 26 ; Upsample and color convert for the case of 2:1 horizontal and 1:1 vertical. | 30 ; Upsample and color convert for the case of 2:1 horizontal and 1:1 vertical. |
| 27 ; | 31 ; |
| 28 ; GLOBAL(void) | 32 ; GLOBAL(void) |
| 29 ; jsimd_h2v1_merged_upsample_sse2 (JDIMENSION output_width, | 33 ; jsimd_h2v1_merged_upsample_sse2 (JDIMENSION output_width, |
| 30 ; JSAMPIMAGE input_buf, | 34 ; JSAMPIMAGE input_buf, |
| 31 ; JDIMENSION in_row_group_ctr, | 35 ; JDIMENSION in_row_group_ctr, |
| 32 ; JSAMPARRAY output_buf); | 36 ; JSAMPARRAY output_buf); |
| 33 ; | 37 ; |
| 34 | 38 |
| (...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 628 pop rdx | 632 pop rdx |
| 629 | 633 |
| 630 pop rbx | 634 pop rbx |
| 631 uncollect_args | 635 uncollect_args |
| 632 pop rbp | 636 pop rbp |
| 633 ret | 637 ret |
| 634 | 638 |
| 635 ; For some reason, the OS X linker does not honor the request to align the | 639 ; For some reason, the OS X linker does not honor the request to align the |
| 636 ; segment unless we do this. | 640 ; segment unless we do this. |
| 637 align 16 | 641 align 16 |
| OLD | NEW |