FFmpeg
Loading...
Searching...
No Matches
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
36
37typedef struct FFResourceDefinition {
39 const char *name;
40
41 const unsigned char *data;
42 const unsigned *data_len;
43
45
46void ff_resman_uninit(void);
47
48char *ff_resman_get_string(FFResourceId resource_id);
49
50#endif /* FFTOOLS_RESOURCES_RESMAN_H */
Convenience header that includes libavutil's core.
AVBPrint public header.
char * ff_resman_get_string(FFResourceId resource_id)
Definition resman.c:130
void ff_resman_uninit(void)
Definition resman.c:120
FFResourceId
Definition resman.h:32
@ FF_RESOURCE_GRAPH_CSS
Definition resman.h:33
@ FF_RESOURCE_GRAPH_HTML
Definition resman.h:34
const char * name
Definition resman.h:39
FFResourceId resource_id
Definition resman.h:38
const unsigned * data_len
Definition resman.h:42
const unsigned char * data
Definition resman.h:41