31 #ifndef CACHE_MANAGER_H_
32 # define CACHE_MANAGER_H_
cache_param_t * search_cacheBytid(const char tid[], cachelist_param_t *cachelist)
search a cache by tid
Definition: cache_manager.c:173
cache parameters
Definition: cache_manager.h:38
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
Definition: cache_manager.h:50
int csn
codestream number
Definition: cache_manager.h:41
metadatalist_param_t * metadatalist
metadata-bin list
Definition: cache_manager.h:44
void remove_cachecid(const char *cid, cachelist_param_t *cachelist)
remove cid in cache
Definition: cache_manager.c:225
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
struct cachelist_param cachelist_param_t
char ** cid
dynamic array of channel identifiers
Definition: cache_manager.h:42
void delete_cache(cache_param_t **cache)
delete a cache
Definition: cache_manager.c:84
char * filename
file name
Definition: cache_manager.h:39
void print_allcache(cachelist_param_t *cachelist)
print all cache parameters
Definition: cache_manager.c:283
cache_param_t * gene_cache(const char *targetname, int csn, char *tid, char *cid)
generate a cache
Definition: cache_manager.c:61
void update_cachetid(const char *tid, cache_param_t *cache)
update tid of a cache
Definition: cache_manager.c:210
ihdrbox_param_t * ihdrbox
ihdrbox
Definition: cache_manager.h:45
void add_cachecid(const char *cid, cache_param_t *cache)
add cid into a cache
Definition: cache_manager.c:193
void print_cache(cache_param_t *cache)
print cache parameters
Definition: cache_manager.c:267
cache_param_t * search_cache(const char targetname[], cachelist_param_t *cachelist)
search a cache by target name
Definition: cache_manager.c:113
void delete_cachelist(cachelist_param_t **cachelist)
delete cache list
Definition: cache_manager.c:48
I.5.3.1 Image Header box.
Definition: ihdrbox_manager.h:39
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 * first
first cache pointer of the list
Definition: cache_manager.h:51
struct cache_param * next
pointer to the next cache
Definition: cache_manager.h:46
int numOfcid
number of cids
Definition: cache_manager.h:43
struct cache_param cache_param_t
cache parameters
cachelist_param_t * gene_cachelist(void)
generate a cache list
Definition: cache_manager.c:36