FFmpeg
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
resman.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2025 - softworkz
3  *
4  * This file is part of FFmpeg.
5  *
6  * FFmpeg is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * FFmpeg is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with FFmpeg; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 #ifndef FFTOOLS_RESOURCES_RESMAN_H
22 #define FFTOOLS_RESOURCES_RESMAN_H
23 
24 #include <stdint.h>
25 
26 #include "config.h"
27 #include "fftools/ffmpeg.h"
28 #include "libavutil/avutil.h"
29 #include "libavutil/bprint.h"
31 
32 typedef enum {
35 } FFResourceId;
36 
37 typedef struct FFResourceDefinition {
39  const char *name;
40 
41  const unsigned char *data;
42  const unsigned *data_len;
43 
45 
46 void ff_resman_uninit(void);
47 
48 char *ff_resman_get_string(FFResourceId resource_id);
49 
50 #endif /* FFTOOLS_RESOURCES_RESMAN_H */
FFResourceDefinition::data
const unsigned char * data
Definition: resman.h:41
FF_RESOURCE_GRAPH_CSS
@ FF_RESOURCE_GRAPH_CSS
Definition: resman.h:33
avtextformat.h
ffmpeg.h
ff_resman_uninit
void ff_resman_uninit(void)
Definition: resman.c:120
FFResourceDefinition::name
const char * name
Definition: resman.h:39
ff_resman_get_string
char * ff_resman_get_string(FFResourceId resource_id)
Definition: resman.c:130
bprint.h
FFResourceId
FFResourceId
Definition: resman.h:32
FFResourceDefinition::data_len
const unsigned * data_len
Definition: resman.h:42
FFResourceDefinition::resource_id
FFResourceId resource_id
Definition: resman.h:38
FFResourceDefinition
Definition: resman.h:37
FF_RESOURCE_GRAPH_HTML
@ FF_RESOURCE_GRAPH_HTML
Definition: resman.h:34
avutil.h