Go to the source code of this file.
|
MTKt_status | MtkCacheInitFid (int32 fid, const char *gridname, const char *fieldname, MTKt_Cache *cache) |
| Initialize Cache. More...
|
|
MTKt_status | MtkCacheInitNcid (int ncid, const char *gridname, const char *fieldname, MTKt_Cache *cache) |
|
MTKt_status | MtkCachePixelGet (MTKt_Cache *cache, int block, float line, float sample, void *pixel) |
| Get pixel from cache. More...
|
|
MTKt_status | MtkCacheLoad (MTKt_Cache *cache, int block) |
| Load Cache. More...
|
|
void | MtkCacheFree (MTKt_Cache *cache) |
| Free Cache. More...
|
|
◆ BLOCK_CACHE_MAX
#define BLOCK_CACHE_MAX 2 |
◆ MTKT_BLOCK_INIT
◆ MTKT_CACHE_INIT
◆ MtkCacheFree()
Free Cache.
- Parameters
-
Definition at line 229 of file MtkCache.c.
◆ MtkCacheInitFid()
Initialize Cache.
- Returns
- Initialized Cache
- Parameters
-
fid | HDF-EOS file identifier |
gridname | Grid name |
fieldname | Field name |
cache | Cache |
Definition at line 33 of file MtkCache.c.
◆ MtkCacheInitNcid()
- Parameters
-
ncid | file identifier |
gridname | Grid name |
fieldname | Field name |
cache | Cache |
Definition at line 79 of file MtkCache.c.
◆ MtkCacheLoad()
Load Cache.
- Parameters
-
cache | Cache |
block | Block Number |
Definition at line 184 of file MtkCache.c.
◆ MtkCachePixelGet()
Get pixel from cache.
- Returns
- Pixel
- Parameters
-
cache | Cache |
block | Block Number |
line | Line |
sample | Sample |
pixel | Pixel |
Definition at line 134 of file MtkCache.c.