Go to the documentation of this file.
31 #ifndef CACHE_MANAGER_H_
32 # define CACHE_MANAGER_H_
cache_param_t * search_cache(const char targetname[], cachelist_param_t *cachelist)
search a cache by target name
Definition: cache_manager.c:113
cache_param_t * search_cacheBytid(const char tid[], cachelist_param_t *cachelist)
search a cache by tid
Definition: cache_manager.c:173
void print_cache(cache_param_t *cache)
print cache parameters
Definition: cache_manager.c:267
void add_cachecid(const char *cid, cache_param_t *cache)
add cid into a cache
Definition: cache_manager.c:193
cachelist_param_t * gene_cachelist(void)
generate a cache list
Definition: cache_manager.c:36
void delete_cachelist(cachelist_param_t **cachelist)
delete cache list
Definition: cache_manager.c:48
void delete_cache(cache_param_t **cache)
delete a cache
Definition: cache_manager.c:84
cache_param_t * search_cacheBycid(const char cid[], cachelist_param_t *cachelist)
search a cache by cid
Definition: cache_manager.c:151
cachelist_param_t * gene_cachelist(void)
generate a cache list
Definition: cache_manager.c:36
void delete_cachelist(cachelist_param_t **cachelist)
delete cache list
Definition: cache_manager.c:48
cache_param_t * search_cacheBycsn(int csn, cachelist_param_t *cachelist)
search a cache by csn
Definition: cache_manager.c:135
char * tid
taregt identifier
Definition: cache_manager.h:40
int numOfcid
number of cids
Definition: cache_manager.h:43
char ** cid
dynamic array of channel identifiers
Definition: cache_manager.h:42
void print_allcache(cachelist_param_t *cachelist)
print all cache parameters
Definition: cache_manager.c:283
cache parameters
Definition: cache_manager.h:38
size_t OPJ_SIZE_T
Definition: openjpeg.h:139
void insert_cache_into_list(cache_param_t *cache, cachelist_param_t *cachelist)
insert a cache into list
Definition: cache_manager.c:103
cache_param_t * last
last cache pointer of the list
Definition: cache_manager.h:52
void remove_cachecid(const char *cid, cachelist_param_t *cachelist)
remove cid in cache
Definition: cache_manager.c:225
struct cachelist_param cachelist_param_t
cache_param_t * first
first cache pointer of the list
Definition: cache_manager.h:51
struct cache_param cache_param_t
cache parameters
struct cache_param * next
pointer to the next cache
Definition: cache_manager.h:46
void insert_cache_into_list(cache_param_t *cache, cachelist_param_t *cachelist)
insert a cache into list
Definition: cache_manager.c:103
void remove_cachecid(const char *cid, cachelist_param_t *cachelist)
remove cid in cache
Definition: cache_manager.c:225
void remove_cidInCache(const char *cid, cache_param_t *cache)
Definition: cache_manager.c:233
char * filename
file name
Definition: cache_manager.h:39
cache_param_t * search_cache(const char targetname[], cachelist_param_t *cachelist)
search a cache by target name
Definition: cache_manager.c:113
cache_param_t * search_cacheBytid(const char tid[], cachelist_param_t *cachelist)
search a cache by tid
Definition: cache_manager.c:173
cache_param_t * gene_cache(const char *targetname, int csn, char *tid, char *cid)
generate a cache
Definition: cache_manager.c:61
void add_cachecid(const char *cid, cache_param_t *cache)
add cid into a cache
Definition: cache_manager.c:193
void delete_cache(cache_param_t **cache)
delete a cache
Definition: cache_manager.c:84
void update_cachetid(const char *tid, cache_param_t *cache)
update tid of a cache
Definition: cache_manager.c:210
cache_param_t * search_cacheBycid(const char cid[], cachelist_param_t *cachelist)
search a cache by cid
Definition: cache_manager.c:151
cache_param_t * gene_cache(const char *targetname, int csn, char *tid, char *cid)
generate a cache
Definition: cache_manager.c:61
void print_allcache(cachelist_param_t *cachelist)
print all cache parameters
Definition: cache_manager.c:283
Definition: cache_manager.h:50
ihdrbox_param_t * ihdrbox
ihdrbox
Definition: cache_manager.h:45
I.5.3.1 Image Header box.
Definition: ihdrbox_manager.h:39
void update_cachetid(const char *tid, cache_param_t *cache)
update tid of a cache
Definition: cache_manager.c:210
cache_param_t * search_cacheBycsn(int csn, cachelist_param_t *cachelist)
search a cache by csn
Definition: cache_manager.c:135
metadatalist_param_t * metadatalist
metadata-bin list
Definition: cache_manager.h:44
int csn
codestream number
Definition: cache_manager.h:41
void print_cache(cache_param_t *cache)
print cache parameters
Definition: cache_manager.c:267