]> iEval git - fdkaac.git/blame - src/metadata.h
add --tag-from-json
[fdkaac.git] / src / metadata.h
CommitLineData
cbb23cdb 1#ifndef METADATA_H
2#define METADATA_H
3
4typedef struct aacenc_tag_entry_t {
5 uint32_t tag;
6 const char *name;
7 const char *data;
8 uint32_t data_size;
9 int is_file_name;
10} aacenc_tag_entry_t;
11
12typedef struct aacenc_tag_param_t {
13 aacenc_tag_entry_t *tag_table;
14 unsigned tag_count;
15 unsigned tag_table_capacity;
16} aacenc_tag_param_t;
17
18char *aacenc_load_tag_from_file(const char *path, uint32_t *data_size);
19
20void aacenc_param_add_itmf_entry(aacenc_tag_param_t *params, uint32_t tag,
21 const char *key, const char *value,
22 uint32_t size, int is_file_name);
23
24void aacenc_put_tags_from_json(m4af_ctx_t *m4af, const char *json_filename);
25
26void aacenc_put_tag_entry(m4af_ctx_t *m4af, const aacenc_tag_entry_t *tag);
27
28#endif
This page took 0.024403 seconds and 4 git commands to generate.