summaryrefslogtreecommitdiffhomepage
path: root/contrib/libpng/contrib/pngminim/preader/pngusr.dfa
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libpng/contrib/pngminim/preader/pngusr.dfa')
-rw-r--r--contrib/libpng/contrib/pngminim/preader/pngusr.dfa40
1 files changed, 40 insertions, 0 deletions
diff --git a/contrib/libpng/contrib/pngminim/preader/pngusr.dfa b/contrib/libpng/contrib/pngminim/preader/pngusr.dfa
new file mode 100644
index 0000000..5fa9c55
--- /dev/null
+++ b/contrib/libpng/contrib/pngminim/preader/pngusr.dfa
@@ -0,0 +1,40 @@
+# pngminim/preader/pngusr.dfa
+#
+# Copyright (c) 2010-2011 Glenn Randers-Pehrson
+#
+# This code is released under the libpng license.
+# For conditions of distribution and use, see the disclaimer
+# and license in png.h
+
+# First all the build options off:
+
+everything = off
+
+# Just switch on the progressive read code
+
+option PROGRESSIVE_READ on
+
+# You may choose fixed or floating point APIs:
+# option FLOATING_POINT on
+
+option FIXED_POINT on
+
+# You must chose the internal fixed point implementation or to
+# use the system floating point. The latter is considerably
+# smaller (by about 1kbyte on an x86 system):
+
+option FLOATING_ARITHMETIC on
+# option FLOATING_ARITHMETIC off
+
+# Your program will probably need other options. The example
+# program here, rpng2-x, requires the following. Take a look
+# at pnglibconf.h to find out the full set of what has to be
+# enabled to make the following work.
+
+option SETJMP on
+option STDIO on
+option READ_bKGD on
+option READ_GAMMA on
+option READ_EXPAND on
+option READ_16_TO_8 on
+option READ_GRAY_TO_RGB on