OLD | NEW |
(Empty) | |
| 1 ; |
| 2 ; Automatically generated include file from jsimdcfg.inc.h |
| 3 ; |
| 4 ; |
| 5 ; -- jpeglib.h |
| 6 ; |
| 7 %define DCTSIZE 8 |
| 8 %define DCTSIZE2 64 |
| 9 ; |
| 10 ; -- jmorecfg.h |
| 11 ; |
| 12 %define RGB_RED 0 |
| 13 %define RGB_GREEN 1 |
| 14 %define RGB_BLUE 2 |
| 15 %define RGB_PIXELSIZE 3 |
| 16 ; Representation of a single sample (pixel element value). |
| 17 ; On this SIMD implementation, this must be 'unsigned char'. |
| 18 ; |
| 19 %define JSAMPLE byte ; unsigned char |
| 20 %define SIZEOF_JSAMPLE SIZEOF_BYTE ; sizeof(JSAMPLE) |
| 21 %define CENTERJSAMPLE 128 |
| 22 ; Representation of a DCT frequency coefficient. |
| 23 ; On this SIMD implementation, this must be 'short'. |
| 24 ; |
| 25 %define JCOEF word ; short |
| 26 %define SIZEOF_JCOEF SIZEOF_WORD ; sizeof(JCOEF) |
| 27 ; Datatype used for image dimensions. |
| 28 ; On this SIMD implementation, this must be 'unsigned int'. |
| 29 ; |
| 30 %define JDIMENSION dword ; unsigned int |
| 31 %define SIZEOF_JDIMENSION SIZEOF_DWORD ; sizeof(JDIMENSION) |
| 32 %define JSAMPROW POINTER ; JSAMPLE * (jpeglib.h) |
| 33 %define JSAMPARRAY POINTER ; JSAMPROW * (jpeglib.h) |
| 34 %define JSAMPIMAGE POINTER ; JSAMPARRAY * (jpeglib.h) |
| 35 %define JCOEFPTR POINTER ; JCOEF * (jpeglib.h) |
| 36 %define SIZEOF_JSAMPROW SIZEOF_POINTER ; sizeof(JSAMPROW) |
| 37 %define SIZEOF_JSAMPARRAY SIZEOF_POINTER ; sizeof(JSAMPARRAY) |
| 38 %define SIZEOF_JSAMPIMAGE SIZEOF_POINTER ; sizeof(JSAMPIMAGE) |
| 39 %define SIZEOF_JCOEFPTR SIZEOF_POINTER ; sizeof(JCOEFPTR) |
| 40 ; |
| 41 ; -- jdct.h |
| 42 ; |
| 43 ; A forward DCT routine is given a pointer to a work area of type DCTELEM[]; |
| 44 ; the DCT is to be performed in-place in that buffer. |
| 45 ; To maximize parallelism, Type DCTELEM is changed to short (originally, int). |
| 46 ; |
| 47 %define DCTELEM word ; short |
| 48 %define SIZEOF_DCTELEM SIZEOF_WORD ; sizeof(DCTELEM) |
| 49 %define float FP32 ; float |
| 50 %define SIZEOF_FAST_FLOAT SIZEOF_FP32 ; sizeof(float) |
| 51 ; To maximize parallelism, Type short is changed to short. |
| 52 ; |
| 53 %define ISLOW_MULT_TYPE word ; must be short |
| 54 %define SIZEOF_ISLOW_MULT_TYPE SIZEOF_WORD ; sizeof(ISLOW_MULT_TYPE) |
| 55 %define IFAST_MULT_TYPE word ; must be short |
| 56 %define SIZEOF_IFAST_MULT_TYPE SIZEOF_WORD ; sizeof(IFAST_MULT_TYPE) |
| 57 %define IFAST_SCALE_BITS 2 ; fractional bits in scale factors |
| 58 %define FLOAT_MULT_TYPE FP32 ; must be float |
| 59 %define SIZEOF_FLOAT_MULT_TYPE SIZEOF_FP32 ; sizeof(FLOAT_MULT_TYPE) |
| 60 ; |
| 61 ; -- jsimd.h |
| 62 ; |
| 63 %define JSIMD_NONE 0x00 |
| 64 %define JSIMD_MMX 0x01 |
| 65 %define JSIMD_3DNOW 0x02 |
| 66 %define JSIMD_SSE 0x04 |
| 67 %define JSIMD_SSE2 0x08 |
| 68 ; Short forms of external names for systems with brain-damaged linkers. |
| 69 ; |
OLD | NEW |