Blame thirdparty/libpng-1.6.21/contrib/pngminim/preader/pngusr.dfa
|
fukasawa |
e60969 |
# pngminim/preader/pngusr.dfa
|
|
fukasawa |
e60969 |
#
|
|
fukasawa |
e60969 |
# Copyright (c) 2010-2013 Glenn Randers-Pehrson
|
|
fukasawa |
e60969 |
#
|
|
fukasawa |
e60969 |
# This code is released under the libpng license.
|
|
fukasawa |
e60969 |
# For conditions of distribution and use, see the disclaimer
|
|
fukasawa |
e60969 |
# and license in png.h
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
# First all the build options off:
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
everything = off
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
# Just switch on the progressive read code
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
option PROGRESSIVE_READ on
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
# You may choose fixed or floating point APIs:
|
|
fukasawa |
e60969 |
# option FLOATING_POINT on
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
option FIXED_POINT on
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
# You must chose the internal fixed point implementation or to
|
|
fukasawa |
e60969 |
# use the system floating point. The latter is considerably
|
|
fukasawa |
e60969 |
# smaller (by about 1kbyte on an x86 system):
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
option FLOATING_ARITHMETIC on
|
|
fukasawa |
e60969 |
# option FLOATING_ARITHMETIC off
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
# Your program will probably need other options. The example
|
|
fukasawa |
e60969 |
# program here, rpng2-x, requires the following. Take a look
|
|
fukasawa |
e60969 |
# at pnglibconf.h to find out the full set of what has to be
|
|
fukasawa |
e60969 |
# enabled to make the following work.
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
option SETJMP on
|
|
fukasawa |
e60969 |
option STDIO on
|
|
fukasawa |
e60969 |
option READ_bKGD on
|
|
fukasawa |
e60969 |
option READ_GAMMA on
|
|
fukasawa |
e60969 |
option READ_EXPAND on
|
|
fukasawa |
e60969 |
option READ_STRIP_16_TO_8 on
|
|
fukasawa |
e60969 |
option READ_GRAY_TO_RGB on
|