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:162
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:100
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:208
cache_param_t * search_cacheBycsn(int csn, cachelist_param_t *cachelist)
search a cache by csn
Definition: cache_manager.c:128
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:83
char * filename
file name
Definition: cache_manager.h:39
void print_allcache(cachelist_param_t *cachelist)
print all cache parameters
Definition: cache_manager.c:264
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:194
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:179
void print_cache(cache_param_t *cache)
print cache parameters
Definition: cache_manager.c:249
cache_param_t * search_cache(const char targetname[], cachelist_param_t *cachelist)
search a cache by target name
Definition: cache_manager.c:109
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:143
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