libpng/pngasmrd.h

40 lines
1.1 KiB
C
Raw Normal View History

1999-09-17 13:27:26 -04:00
/* pngasmrd.h - assembler version of utilities to read a PNG file
*
2000-07-01 16:37:28 -04:00
* libpng 1.0.7 - July 1, 2000
1999-09-17 13:27:26 -04:00
* For conditions of distribution and use, see copyright notice in png.h
2000-02-05 00:40:16 -05:00
* Copyright (c) 1999, 2000 Glenn Randers-Pehrson
1999-09-17 13:27:26 -04:00
*
*/
2000-06-24 08:42:42 -04:00
#ifndef PNGASMRD_H
#define PNGASMRD_H
1999-09-17 13:27:26 -04:00
#ifdef PNG_ASSEMBLER_CODE_SUPPORTED
/* Set this in the makefile for VC++ on Pentium, not in pngconf.h */
/* Platform must be Pentium. Makefile must assemble and load pngvcrd.c .
* MMX will be detected at run time and used if present.
*/
2000-02-18 14:48:52 -05:00
#ifdef PNG_USE_PNGVCRD
# define PNG_HAVE_ASSEMBLER_COMBINE_ROW
# define PNG_HAVE_ASSEMBLER_READ_INTERLACE
# define PNG_HAVE_ASSEMBLER_READ_FILTER_ROW
1999-09-17 13:27:26 -04:00
#endif
2000-02-18 14:48:52 -05:00
/* Set this in the makefile for gcc/as on Pentium, not in pngconf.h */
/* Platform must be Pentium. Makefile must assemble and load pnggccrd.c .
1999-09-17 13:27:26 -04:00
* MMX will be detected at run time and used if present.
*/
2000-02-18 14:48:52 -05:00
#ifdef PNG_USE_PNGGCCRD
# define PNG_HAVE_ASSEMBLER_COMBINE_ROW
# define PNG_HAVE_ASSEMBLER_READ_INTERLACE
# define PNG_HAVE_ASSEMBLER_READ_FILTER_ROW
1999-09-17 13:27:26 -04:00
#endif
2000-02-18 14:48:52 -05:00
/*
GRR notes:
- see pnggccrd.c for info about what is currently enabled
*/
1999-09-17 13:27:26 -04:00
#endif
2000-06-24 08:42:42 -04:00
#endif /* PNGASMRD_H */