|
OpenJPEG
2.3.0
|
Go to the source code of this file.
Data Structures | |
| struct | cache_param |
| cache parameters More... | |
| struct | cachelist_param |
Typedefs | |
| typedef struct cache_param | cache_param_t |
| cache parameters More... | |
| typedef struct cachelist_param | cachelist_param_t |
Functions | |
| cachelist_param_t * | gene_cachelist (void) |
| generate a cache list More... | |
| void | delete_cachelist (cachelist_param_t **cachelist) |
| delete cache list More... | |
| cache_param_t * | gene_cache (const char *targetname, int csn, char *tid, char *cid) |
| generate a cache More... | |
| void | delete_cache (cache_param_t **cache) |
| delete a cache More... | |
| void | insert_cache_into_list (cache_param_t *cache, cachelist_param_t *cachelist) |
| insert a cache into list More... | |
| cache_param_t * | search_cache (const char targetname[], cachelist_param_t *cachelist) |
| search a cache by target name More... | |
| cache_param_t * | search_cacheBycsn (int csn, cachelist_param_t *cachelist) |
| search a cache by csn More... | |
| cache_param_t * | search_cacheBycid (const char cid[], cachelist_param_t *cachelist) |
| search a cache by cid More... | |
| cache_param_t * | search_cacheBytid (const char tid[], cachelist_param_t *cachelist) |
| search a cache by tid More... | |
| void | add_cachecid (const char *cid, cache_param_t *cache) |
| add cid into a cache More... | |
| void | update_cachetid (const char *tid, cache_param_t *cache) |
| update tid of a cache More... | |
| void | remove_cachecid (const char *cid, cachelist_param_t *cachelist) |
| remove cid in cache More... | |
| void | print_cache (cache_param_t *cache) |
| print cache parameters More... | |
| void | print_allcache (cachelist_param_t *cachelist) |
| print all cache parameters More... | |
| typedef struct cache_param cache_param_t |
cache parameters
cache list parameters
| typedef struct cachelist_param cachelist_param_t |
| void add_cachecid | ( | const char * | cid, |
| cache_param_t * | cache | ||
| ) |
add cid into a cache
| [in] | cid | channel identifier |
| [in] | cache | cache pointer |
References cache_param::cid, and cache_param::numOfcid.
Referenced by handle_JPIPstreamMSG().
| void delete_cache | ( | cache_param_t ** | cache | ) |
delete a cache
| [in] | cache | address of the cache pointer |
References delete_metadatalist().
Referenced by delete_cachelist().
| void delete_cachelist | ( | cachelist_param_t ** | cachelist | ) |
delete cache list
| [in,out] | cachelist | address of the cache list pointer |
References delete_cache(), and cache_param::next.
Referenced by terminate_dec_server().
| cache_param_t* gene_cache | ( | const char * | targetname, |
| int | csn, | ||
| char * | tid, | ||
| char * | cid | ||
| ) |
generate a cache
| [in] | targetname | target file name |
| [in] | csn | codestream number |
| [in] | tid | target identifier |
| [in] | cid | channel identifier |
References cache_param::cid, cache_param::csn, cache_param::filename, gene_metadatalist(), cache_param::ihdrbox, cache_param::metadatalist, cache_param::next, cache_param::numOfcid, and cache_param::tid.
Referenced by handle_JPIPstreamMSG().
| cachelist_param_t* gene_cachelist | ( | void | ) |
generate a cache list
References cachelist_param::first, and cachelist_param::last.
Referenced by init_dec_server().
| void insert_cache_into_list | ( | cache_param_t * | cache, |
| cachelist_param_t * | cachelist | ||
| ) |
insert a cache into list
| [in] | cache | cache pointer |
| [in] | cachelist | cache list pointer |
References cachelist_param::first, cachelist_param::last, and cache_param::next.
Referenced by handle_JPIPstreamMSG().
| void print_allcache | ( | cachelist_param_t * | cachelist | ) |
print all cache parameters
| [in] | cachelist | cache list pointer |
References cachelist_param::first, cache_param::next, and print_cache().
| void print_cache | ( | cache_param_t * | cache | ) |
print cache parameters
| [in] | cache | cache pointer |
References cache_param::cid, cache_param::csn, cache_param::filename, cache_param::numOfcid, and cache_param::tid.
Referenced by print_allcache().
| void remove_cachecid | ( | const char * | cid, |
| cachelist_param_t * | cachelist | ||
| ) |
remove cid in cache
| [in] | cid | channel identifier |
| [in] | cachelist | cachelist pointer |
References remove_cidInCache(), and search_cacheBycid().
Referenced by handle_dstCIDreqMSG().
| cache_param_t* search_cache | ( | const char | targetname[], |
| cachelist_param_t * | cachelist | ||
| ) |
search a cache by target name
| [in] | targetname | target filename |
| [in] | cachelist | cache list pointer |
References cache_param::filename, cachelist_param::first, and cache_param::next.
Referenced by handle_CIDreqMSG(), handle_JPIPstreamMSG(), and handle_TIDreqMSG().
| cache_param_t* search_cacheBycid | ( | const char | cid[], |
| cachelist_param_t * | cachelist | ||
| ) |
search a cache by cid
| [in] | cid | channel identifier |
| [in] | cachelist | cache list pointer |
References cache_param::cid, cachelist_param::first, cache_param::next, and cache_param::numOfcid.
Referenced by handle_JP2saveMSG(), handle_PNMreqMSG(), handle_SIZreqMSG(), handle_XMLreqMSG(), and remove_cachecid().
| cache_param_t* search_cacheBycsn | ( | int | csn, |
| cachelist_param_t * | cachelist | ||
| ) |
search a cache by csn
| [in] | csn | codestream number |
| [in] | cachelist | cache list pointer |
References cache_param::csn, cachelist_param::first, and cache_param::next.
Referenced by handle_JPIPstreamMSG().
| cache_param_t* search_cacheBytid | ( | const char | tid[], |
| cachelist_param_t * | cachelist | ||
| ) |
search a cache by tid
| [in] | tid | target identifier |
| [in] | cachelist | cache list pointer |
References cachelist_param::first, cache_param::next, and cache_param::tid.
Referenced by handle_PNMreqMSG(), and handle_SIZreqMSG().
| void update_cachetid | ( | const char * | tid, |
| cache_param_t * | cache | ||
| ) |
update tid of a cache
| [in] | tid | target identifier |
| [in] | cache | cache pointer |
References cache_param::filename, and cache_param::tid.
Referenced by handle_JPIPstreamMSG().
1.8.14