home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 February / PCWorld_2002-02_cd.bin / Software / Vyzkuste / pdflib / pdflib-4.0.1.sit / pdflib-4.0.1 / png / pngasmrd.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-07-04  |  1.2 KB  |  42 lines  |  [TEXT/CWIE]

  1. /* pngasmrd.h - assembler version of utilities to read a PNG file
  2.  *
  3.  * libpng 1.0.8 - July 24, 2000
  4.  * For conditions of distribution and use, see copyright notice in png.h
  5.  * Copyright (c) 1999, 2000 Glenn Randers-Pehrson
  6.  *
  7.  */
  8.  
  9. /* $Id: pngasmrd.h,v 1.2 2001/02/14 23:43:19 rjs Exp $ */
  10.  
  11. #ifndef PNGASMRD_H
  12. #define PNGASMRD_H
  13.  
  14. #ifdef PNG_ASSEMBLER_CODE_SUPPORTED
  15.  
  16. /* Set this in the makefile for VC++ on Pentium, not in pngconf.h */
  17. /* Platform must be Pentium.  Makefile must assemble and load pngvcrd.c .
  18.  * MMX will be detected at run time and used if present.
  19.  */
  20. #ifdef PNG_USE_PNGVCRD
  21. #  define PNG_HAVE_ASSEMBLER_COMBINE_ROW
  22. #  define PNG_HAVE_ASSEMBLER_READ_INTERLACE
  23. #  define PNG_HAVE_ASSEMBLER_READ_FILTER_ROW
  24. #endif
  25.  
  26. /* Set this in the makefile for gcc/as on Pentium, not in pngconf.h */
  27. /* Platform must be Pentium.  Makefile must assemble and load pnggccrd.c .
  28.  * MMX will be detected at run time and used if present.
  29.  */
  30. #ifdef PNG_USE_PNGGCCRD
  31. #  define PNG_HAVE_ASSEMBLER_COMBINE_ROW
  32. #  define PNG_HAVE_ASSEMBLER_READ_INTERLACE
  33. #  define PNG_HAVE_ASSEMBLER_READ_FILTER_ROW
  34. #endif
  35. /*
  36.     GRR notes:
  37.       - see pnggccrd.c for info about what is currently enabled
  38.  */
  39.  
  40. #endif
  41. #endif /* PNGASMRD_H */
  42.