aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
blob: 58942752c354fb0927c0b5235abf7c3a79c7beef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Interface definition for thorn IOJpeg
# $Header$

implements: IOJpeg
inherits:   IO, Hyperslab, jpeg6b

USES INCLUDE HEADER: jconfig.h
USES INCLUDE HEADER: jpeglib.h


CCTK_INT FUNCTION \
  Hyperslab_Get (CCTK_POINTER IN cctkGH, \
                 CCTK_INT IN mapping_handle, \
                 CCTK_INT IN proc, \
                 CCTK_INT IN vindex, \
                 CCTK_INT IN timelevel, \
                 CCTK_INT IN hdatatype, \
                 CCTK_POINTER IN hdata)

CCTK_INT FUNCTION \
  Hyperslab_DefineGlobalMappingByIndex (CCTK_POINTER IN cctkGH, \
                                        CCTK_INT IN vindex, \
                                        CCTK_INT IN hdim, \
                                        CCTK_INT OUT direction, \
                                        CCTK_INT OUT origin, \
                                        CCTK_INT OUT extent, \
                                        CCTK_INT OUT downsample, \
                                        CCTK_INT IN table_handle, \
                                        CCTK_INT CCTK_FPOINTER \
                                          conversion_fn (CCTK_INT IN nelems, CCTK_INT IN stride, CCTK_INT IN from_type, CCTK_INT IN to_type, CCTK_POINTER OUT from, CCTK_POINTER OUT to), \
                                        CCTK_INT OUT hsize)

CCTK_INT FUNCTION Hyperslab_FreeMapping (CCTK_INT IN mapping_handle)


USES FUNCTION Hyperslab_Get
USES FUNCTION Hyperslab_DefineGlobalMappingByIndex
USES FUNCTION Hyperslab_FreeMapping