Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/gen/ir/low-ir.spec
ViewVC logotype

Diff of /branches/vis15/src/compiler/gen/ir/low-ir.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4431, Thu Aug 18 23:21:27 2016 UTC revision 4432, Fri Aug 19 15:10:12 2016 UTC
# Line 129  Line 129 
129  #  #
130  ### image operations  ### image operations
131  #  #
132  Transform : ImageInfo.info : 1 : 1 : Pulls transformation matrix from image.  Transform : ImageInfo.t : 1 : 1 : Pulls transformation matrix from image.
133  Translate : ImageInfo.info : 1 : 1 : Pulls translation vector from image.  Translate : ImageInfo.t : 1 : 1 : Pulls translation vector from image.
134  #  #
135  # ControlIndex<I,ctl,d>(V,i) -- border control for the d'th axis of the image V and index i.  # ControlIndex<I,ctl,d>(V,i) -- border control for the d'th axis of the image V and index i.
136  # This operation returns the wrapped/mirrored/clamped index, which can then be used to compute  # This operation returns the wrapped/mirrored/clamped index, which can then be used to compute
137  # the address of the voxel.  # the address of the voxel.
138  ControlIndex : ImageInfo.info * idxctl * int : 1 : 2 :  ControlIndex : ImageInfo.t * idxctl * int : 1 : 2 :
139  #  #
140  # LoadVoxel<I>(V,offp) -- load a voxel value from the address `a+offp`, where `a` is  # LoadVoxel<I>(V,offp) -- load a voxel value from the address `a+offp`, where `a` is
141  # the base address of the image `V` and `offp` is the offset (in datum-size units) of  # the base address of the image `V` and `offp` is the offset (in datum-size units) of
142  # the voxel to be loaded.  # the voxel to be loaded.
143  LoadVoxel : ImageInfo.info : 1 : 2 : load a voxel value  LoadVoxel : ImageInfo.t : 1 : 2 : load a voxel value
144  #  #
145  # Inside<I,s>(x,V) -- tests to see if the image-space position x is inside the domain of V.  # Inside<I,s>(x,V) -- tests to see if the image-space position x is inside the domain of V.
146  # I is the image info for V, s is the size of the sample to be loaded  # I is the image info for V, s is the size of the sample to be loaded
147  Inside : ImageInfo.info * int : 1 : 2 :  Inside : ImageInfo.t * int : 1 : 2 :
148  #  #
149  # IndexInside<I,s>(n,V) -- tests to see if the index sequence n is inside the domain of V.  # IndexInside<I,s>(n,V) -- tests to see if the index sequence n is inside the domain of V.
150  # I is the image info for V, s is the size of the sample to be loaded (see LoadVoxels)  # I is the image info for V, s is the size of the sample to be loaded (see LoadVoxels)
151  IndexInside : ImageInfo.info * int : 1 : 2 :  IndexInside : ImageInfo.t * int : 1 : 2 :
152  #  #
153  # ImageDim<I,i>(V) -- returns the i'th dimension of the image  # ImageDim<I,i>(V) -- returns the i'th dimension of the image
154  ImageDim : ImageInfo.info * int : 1 : 1 :  ImageDim : ImageInfo.t * int : 1 : 1 :
155  #  #
156  ### other operations  ### other operations
157  #  #

Legend:
Removed from v.4431  
changed lines
  Added in v.4432

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0