#include "MisrCache.h"
#include "MisrFileQuery.h"
#include "MisrError.h"
#include <stdlib.h>
#include <string.h>
#include <math.h>
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...
|
| |
◆ 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.