OLD | NEW |
1 ; | 1 ; |
2 ; jdmermmx.asm - merged upsampling/color conversion (MMX) | 2 ; jdmermmx.asm - merged upsampling/color conversion (MMX) |
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 |
(...skipping 30 matching lines...) Expand all Loading... |
41 | 41 |
42 PW_F0402 times 4 dw F_0_402 | 42 PW_F0402 times 4 dw F_0_402 |
43 PW_MF0228 times 4 dw -F_0_228 | 43 PW_MF0228 times 4 dw -F_0_228 |
44 PW_MF0344_F0285 times 2 dw -F_0_344, F_0_285 | 44 PW_MF0344_F0285 times 2 dw -F_0_344, F_0_285 |
45 PW_ONE times 4 dw 1 | 45 PW_ONE times 4 dw 1 |
46 PD_ONEHALF times 2 dd 1 << (SCALEBITS-1) | 46 PD_ONEHALF times 2 dd 1 << (SCALEBITS-1) |
47 | 47 |
48 alignz 16 | 48 alignz 16 |
49 | 49 |
50 ; -------------------------------------------------------------------------- | 50 ; -------------------------------------------------------------------------- |
| 51 SECTION SEG_TEXT |
| 52 BITS 32 |
| 53 |
51 %include "jdmrgmmx.asm" | 54 %include "jdmrgmmx.asm" |
52 | 55 |
53 %undef RGB_RED | 56 %undef RGB_RED |
54 %undef RGB_GREEN | 57 %undef RGB_GREEN |
55 %undef RGB_BLUE | 58 %undef RGB_BLUE |
56 %undef RGB_PIXELSIZE | 59 %undef RGB_PIXELSIZE |
57 %define RGB_RED 0 | 60 %define RGB_RED 0 |
58 %define RGB_GREEN 1 | 61 %define RGB_GREEN 1 |
59 %define RGB_BLUE 2 | 62 %define RGB_BLUE 2 |
60 %define RGB_PIXELSIZE 3 | 63 %define RGB_PIXELSIZE 3 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 %undef RGB_GREEN | 117 %undef RGB_GREEN |
115 %undef RGB_BLUE | 118 %undef RGB_BLUE |
116 %undef RGB_PIXELSIZE | 119 %undef RGB_PIXELSIZE |
117 %define RGB_RED 1 | 120 %define RGB_RED 1 |
118 %define RGB_GREEN 2 | 121 %define RGB_GREEN 2 |
119 %define RGB_BLUE 3 | 122 %define RGB_BLUE 3 |
120 %define RGB_PIXELSIZE 4 | 123 %define RGB_PIXELSIZE 4 |
121 %define jsimd_h2v1_merged_upsample_mmx jsimd_h2v1_extxrgb_merged_upsample_mmx | 124 %define jsimd_h2v1_merged_upsample_mmx jsimd_h2v1_extxrgb_merged_upsample_mmx |
122 %define jsimd_h2v2_merged_upsample_mmx jsimd_h2v2_extxrgb_merged_upsample_mmx | 125 %define jsimd_h2v2_merged_upsample_mmx jsimd_h2v2_extxrgb_merged_upsample_mmx |
123 %include "jdmrgmmx.asm" | 126 %include "jdmrgmmx.asm" |
OLD | NEW |