aboutsummaryrefslogtreecommitdiff
path: root/lib/imset.h
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /lib/imset.h
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'lib/imset.h')
-rw-r--r--lib/imset.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/imset.h b/lib/imset.h
new file mode 100644
index 00000000..c6e86db7
--- /dev/null
+++ b/lib/imset.h
@@ -0,0 +1,29 @@
+# IMSET.H -- Definitions for IMIO user settable options.
+
+define IM_ADVICE 1 # RANDOM or SEQUENTIAL
+define IM_NBUFS 2 # number of input buffers
+define IM_COMPRESS 3 # align lines on device blocks?
+define IM_NBNDRYPIX 4 # width of boundary region
+define IM_TYBNDRY 5 # type of boundary extension
+define IM_FLAGBADPIX 6 # set bad pix to INDEF
+define IM_PIXFD 7 # pixfile fd (special devices)
+define IM_WHEADER 8 # update image header at unmap time
+define IM_BNDRYPIXVAL 9 # for option IM_CONSTANT
+define IM_CANCEL 10 # free any pixel data buffers
+define IM_CLOSEFD 11 # set F_CLOSEFD on pixfile
+define IM_BUFSIZE 12 # recommended FIO buffer size, chars
+define IM_BUFFRAC 13 # FIO buffer as a fraction of full image
+define IM_BUFMAX 14 # max size FIO buffer, chars
+define IM_IMAGENAME 15 # name of open image section
+define IM_PLDES 16 # pixel mask descriptor
+define IM_RLIO 17 # enable range list i/o (image masks)
+
+define IM_PMDES IM_PLDES
+
+# Types of Boundary Extension
+
+define BT_CONSTANT 1 # return constant if out of bounds
+define BT_NEAREST 2 # return nearest boundary pixel
+define BT_REFLECT 3 # reflect back into image
+define BT_WRAP 4 # wrap around to other side
+define BT_PROJECT 5 # project about boundary