FFmpeg
fftools
textformat
tf_mermaid.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) The FFmpeg developers
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_TEXTFORMAT_TF_MERMAID_H
22
#define FFTOOLS_TEXTFORMAT_TF_MERMAID_H
23
24
typedef
enum
{
25
AV_DIAGRAMTYPE_GRAPH
,
26
AV_DIAGRAMTYPE_ENTITYRELATIONSHIP
,
27
}
AVDiagramType
;
28
29
typedef
struct
AVDiagramConfig
{
30
AVDiagramType
diagram_type
;
31
const
char
*
diagram_css
;
32
const
char
*
html_template
;
33
}
AVDiagramConfig
;
34
35
36
void
av_diagram_init
(
AVTextFormatContext
*tfc,
AVDiagramConfig
*diagram_config);
37
38
void
av_mermaid_set_html_template
(
AVTextFormatContext
*tfc,
const
char
*html_template);
39
40
41
#endif
/* FFTOOLS_TEXTFORMAT_TF_MERMAID_H */
AV_DIAGRAMTYPE_ENTITYRELATIONSHIP
@ AV_DIAGRAMTYPE_ENTITYRELATIONSHIP
Definition:
tf_mermaid.h:26
AVDiagramConfig::diagram_css
const char * diagram_css
Definition:
tf_mermaid.h:31
AVTextFormatContext
Definition:
avtextformat.h:112
AVDiagramConfig
Definition:
tf_mermaid.h:29
AV_DIAGRAMTYPE_GRAPH
@ AV_DIAGRAMTYPE_GRAPH
Definition:
tf_mermaid.h:25
AVDiagramType
AVDiagramType
Definition:
tf_mermaid.h:24
AVDiagramConfig::diagram_type
AVDiagramType diagram_type
Definition:
tf_mermaid.h:30
av_diagram_init
void av_diagram_init(AVTextFormatContext *tfc, AVDiagramConfig *diagram_config)
Definition:
tf_mermaid.c:172
AVDiagramConfig::html_template
const char * html_template
Definition:
tf_mermaid.h:32
av_mermaid_set_html_template
void av_mermaid_set_html_template(AVTextFormatContext *tfc, const char *html_template)
Generated on Thu Jul 3 2025 19:21:39 for FFmpeg by
1.8.17