summaryrefslogtreecommitdiff
path: root/pngasmrd.h
blob: 520dbb3292dbcd4f01bf6a0676a2bb9780ca88bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* pngasmrd.h - assembler version of utilities to read a PNG file
 *
 * libpng 1.0.5h - December 10, 1999
 * For conditions of distribution and use, see copyright notice in png.h
 * Copyright (c) 1999 Glenn Randers-Pehrson
 *
 */

#ifdef PNG_ASSEMBLER_CODE_SUPPORTED

/* Set this in the makefile for VC++ on Pentium, not in pngconf.h */
#ifdef PNG_USE_PNGVCRD
/* Platform must be Pentium.  Makefile must assemble and load pngvcrd.c .
 * MMX will be detected at run time and used if present.
 */
#define PNG_HAVE_ASSEMBLER_COMBINE_ROW
#define PNG_HAVE_ASSEMBLER_READ_INTERLACE
#define PNG_HAVE_ASSEMBLER_READ_FILTER_ROW
#endif

/* Set this in the makefile for gcc on Pentium, not in pngconf.h */
#ifdef PNG_USE_PNGGCCRD
/* Platform must be Pentium.  Makefile must assemble and load pnggccrd.c
 * (not available in libpng 1.0.5h).
 * MMX will be detected at run time and used if present.
 */
#define PNG_HAVE_ASSEMBLER_COMBINE_ROW
#define PNG_HAVE_ASSEMBLER_READ_INTERLACE
#define PNG_HAVE_ASSEMBLER_READ_FILTER_ROW
#endif

#endif