FFmpeg
|
#include <limits.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "avtextformat.h"
#include "tf_internal.h"
#include "tf_mermaid.h"
#include <libavutil/mem.h>
#include <libavutil/avassert.h>
#include <libavutil/bprint.h>
#include <libavutil/opt.h>
Go to the source code of this file.
Data Structures | |
struct | MermaidContext |
struct | MermaidContext::section_data |
Macros | |
#define | OFFSET(x) offsetof(MermaidContext, x) |
#define | MM_INDENT() writer_printf(tfc, "%*c", mmc->indent_level * 2, ' ') |
Functions | |
DEFINE_FORMATTER_CLASS (mermaid) | |
void | av_diagram_init (AVTextFormatContext *tfc, AVDiagramConfig *diagram_config) |
static av_cold int | has_link_pair (const AVTextFormatContext *tfc, const char *src, const char *dest) |
static av_cold int | mermaid_init (AVTextFormatContext *tfc) |
static av_cold int | mermaid_init_html (AVTextFormatContext *tfc) |
static av_cold int | mermaid_uninit (AVTextFormatContext *tfc) |
static void | set_str (const char **dst, const char *src) |
static void | mermaid_print_section_header (AVTextFormatContext *tfc, const void *data) |
static void | mermaid_print_section_footer (AVTextFormatContext *tfc) |
static void | mermaid_print_value (AVTextFormatContext *tfc, const char *key, const char *str, int64_t num, const int is_int) |
static void | mermaid_print_str (AVTextFormatContext *tfc, const char *key, const char *value) |
static void | mermaid_print_int (AVTextFormatContext *tfc, const char *key, int64_t value) |
Variables | |
static const char * | init_directive |
static const char * | init_directive_er |
static const char * | theme_css_er |
static const AVOption | mermaid_options [] |
const AVTextFormatter | avtextformatter_mermaid |
const AVTextFormatter | avtextformatter_mermaidhtml |
#define OFFSET | ( | x | ) | offsetof(MermaidContext, x) |
Definition at line 161 of file tf_mermaid.c.
#define MM_INDENT | ( | ) | writer_printf(tfc, "%*c", mmc->indent_level * 2, ' ') |
Definition at line 244 of file tf_mermaid.c.
DEFINE_FORMATTER_CLASS | ( | mermaid | ) |
void av_diagram_init | ( | AVTextFormatContext * | tfc, |
AVDiagramConfig * | diagram_config | ||
) |
Definition at line 172 of file tf_mermaid.c.
Referenced by init_graphprint().
|
static |
Definition at line 178 of file tf_mermaid.c.
Referenced by mermaid_print_section_footer().
|
static |
Definition at line 194 of file tf_mermaid.c.
Referenced by mermaid_init_html().
|
static |
Definition at line 204 of file tf_mermaid.c.
|
static |
Definition at line 218 of file tf_mermaid.c.
|
static |
Definition at line 235 of file tf_mermaid.c.
Referenced by mermaid_print_section_header(), and mermaid_print_value().
|
static |
Definition at line 246 of file tf_mermaid.c.
|
static |
Definition at line 412 of file tf_mermaid.c.
|
static |
Definition at line 549 of file tf_mermaid.c.
Referenced by mermaid_print_int(), and mermaid_print_str().
|
inlinestatic |
Definition at line 641 of file tf_mermaid.c.
|
static |
Definition at line 646 of file tf_mermaid.c.
|
static |
Definition at line 36 of file tf_mermaid.c.
Referenced by mermaid_print_section_header().
|
static |
Definition at line 60 of file tf_mermaid.c.
Referenced by mermaid_print_section_header().
|
static |
Definition at line 87 of file tf_mermaid.c.
Referenced by mermaid_print_section_header().
|
static |
Definition at line 163 of file tf_mermaid.c.
const AVTextFormatter avtextformatter_mermaid |
Definition at line 651 of file tf_mermaid.c.
const AVTextFormatter avtextformatter_mermaidhtml |
Definition at line 665 of file tf_mermaid.c.