| FFmpeg
    | 
#include <string.h>#include <stdatomic.h>#include "graphprint.h"#include "fftools/ffmpeg.h"#include "fftools/ffmpeg_mux.h"#include "libavutil/avassert.h"#include "libavutil/avstring.h"#include "libavutil/pixdesc.h"#include "libavutil/dict.h"#include "libavutil/common.h"#include "libavfilter/avfilter.h"#include "libavutil/buffer.h"#include "libavutil/hwcontext.h"#include "fftools/textformat/avtextformat.h"#include "fftools/textformat/tf_mermaid.h"#include "fftools/resources/resman.h"Go to the source code of this file.
| Data Structures | |
| struct | GraphPrintContext | 
| Macros | |
| #define | print_id(k, v) print_sanizied_id(gpc, k, v, 0) | 
| #define | print_id_noprefix(k, v) print_sanizied_id(gpc, k, v, 1) | 
| #define | print_int(k, v) avtext_print_integer(tfc, k, v, 0) | 
| #define | print_int_opt(k, v) avtext_print_integer(tfc, k, v, gpc->opt_flags) | 
| #define | print_q(k, v, s) avtext_print_rational(tfc, k, v, s) | 
| #define | print_str(k, v) avtext_print_string(tfc, k, v, 0) | 
| #define | print_str_opt(k, v) avtext_print_string(tfc, k, v, gpc->opt_flags) | 
| #define | print_val(k, v, u) avtext_print_unit_integer(tfc, k, v, u) | 
| #define | print_fmt(k, f, ...) | 
| #define | print_fmt_opt(k, f, ...) | 
| Functions | |
| static char * | upcase_string (char *dst, size_t dst_size, const char *src) | 
| static char * | get_extension (const char *url) | 
| static void | print_hwdevicecontext (const GraphPrintContext *gpc, const AVHWDeviceContext *hw_device_context) | 
| static void | print_hwframescontext (const GraphPrintContext *gpc, const AVHWFramesContext *hw_frames_context) | 
| static void | print_link (GraphPrintContext *gpc, AVFilterLink *link) | 
| static char | sanitize_char (const char c) | 
| static void | print_sanizied_id (const GraphPrintContext *gpc, const char *key, const char *id_str, int skip_prefix) | 
| static void | print_section_header_id (const GraphPrintContext *gpc, int section_id, const char *id_str, int skip_prefix) | 
| static const char * | get_filterpad_name (const AVFilterPad *pad) | 
| static void | print_filter (GraphPrintContext *gpc, const AVFilterContext *filter, AVDictionary *input_map, AVDictionary *output_map) | 
| static void | init_sections (void) | 
| static void | print_filtergraph_single (GraphPrintContext *gpc, FilterGraph *fg, AVFilterGraph *graph) | 
| static int | print_streams (GraphPrintContext *gpc, InputFile **ifiles, int nb_ifiles, OutputFile **ofiles, int nb_ofiles) | 
| static void | uninit_graphprint (GraphPrintContext *gpc) | 
| static int | init_graphprint (GraphPrintContext **pgpc, AVBPrint *target_buf) | 
| int | print_filtergraph (FilterGraph *fg, AVFilterGraph *graph) | 
| static int | print_filtergraphs_priv (FilterGraph **graphs, int nb_graphs, InputFile **ifiles, int nb_ifiles, OutputFile **ofiles, int nb_ofiles) | 
| int | print_filtergraphs (FilterGraph **graphs, int nb_graphs, InputFile **ifiles, int nb_ifiles, OutputFile **ofiles, int nb_ofiles) | 
| Variables | |
| static struct AVTextFormatSection | sections [] | 
| static atomic_int | prefix_num = 0 | 
output writers for filtergraph details
Definition in file graphprint.c.
| #define print_id | ( | k, | |
| v | |||
| ) | print_sanizied_id(gpc, k, v, 0) | 
Definition at line 136 of file graphprint.c.
| #define print_id_noprefix | ( | k, | |
| v | |||
| ) | print_sanizied_id(gpc, k, v, 1) | 
Definition at line 137 of file graphprint.c.
| #define print_int | ( | k, | |
| v | |||
| ) | avtext_print_integer(tfc, k, v, 0) | 
Definition at line 138 of file graphprint.c.
| #define print_int_opt | ( | k, | |
| v | |||
| ) | avtext_print_integer(tfc, k, v, gpc->opt_flags) | 
Definition at line 139 of file graphprint.c.
| #define print_q | ( | k, | |
| v, | |||
| s | |||
| ) | avtext_print_rational(tfc, k, v, s) | 
Definition at line 140 of file graphprint.c.
| #define print_str | ( | k, | |
| v | |||
| ) | avtext_print_string(tfc, k, v, 0) | 
Definition at line 141 of file graphprint.c.
| #define print_str_opt | ( | k, | |
| v | |||
| ) | avtext_print_string(tfc, k, v, gpc->opt_flags) | 
Definition at line 142 of file graphprint.c.
| #define print_val | ( | k, | |
| v, | |||
| u | |||
| ) | avtext_print_unit_integer(tfc, k, v, u) | 
Definition at line 143 of file graphprint.c.
| #define print_fmt | ( | k, | |
| f, | |||
| ... | |||
| ) | 
Definition at line 145 of file graphprint.c.
| #define print_fmt_opt | ( | k, | |
| f, | |||
| ... | |||
| ) | 
Definition at line 151 of file graphprint.c.
| enum SectionID | 
Definition at line 46 of file graphprint.c.
| 
 | inlinestatic | 
Definition at line 160 of file graphprint.c.
Referenced by print_streams().
| 
 | static | 
Definition at line 169 of file graphprint.c.
Referenced by print_streams().
| 
 | static | 
Definition at line 201 of file graphprint.c.
Referenced by print_filter().
| 
 | static | 
Definition at line 212 of file graphprint.c.
Referenced by print_link().
| 
 | static | 
Definition at line 247 of file graphprint.c.
Referenced by print_filter().
| 
 | static | 
Definition at line 324 of file graphprint.c.
Referenced by print_sanizied_id(), and print_section_header_id().
| 
 | static | 
Definition at line 331 of file graphprint.c.
| 
 | static | 
Definition at line 353 of file graphprint.c.
Referenced by print_filter(), print_filtergraph_single(), and print_streams().
| 
 | static | 
Definition at line 378 of file graphprint.c.
Referenced by print_filter().
| 
 | static | 
Definition at line 383 of file graphprint.c.
Referenced by print_filtergraph_single().
| 
 | static | 
Definition at line 473 of file graphprint.c.
Referenced by init_graphprint().
| 
 | static | 
Definition at line 479 of file graphprint.c.
Referenced by print_filtergraph().
| 
 | static | 
Definition at line 588 of file graphprint.c.
Referenced by print_filtergraphs_priv().
| 
 | static | 
Definition at line 857 of file graphprint.c.
Referenced by print_filtergraph(), and print_filtergraphs_priv().
| 
 | static | 
Definition at line 871 of file graphprint.c.
Referenced by print_filtergraph(), and print_filtergraphs_priv().
| int print_filtergraph | ( | FilterGraph * | fg, | 
| AVFilterGraph * | graph | ||
| ) | 
Definition at line 954 of file graphprint.c.
Referenced by filter_thread().
| 
 | static | 
Definition at line 1003 of file graphprint.c.
Referenced by print_filtergraphs().
| int print_filtergraphs | ( | FilterGraph ** | graphs, | 
| int | nb_graphs, | ||
| InputFile ** | ifiles, | ||
| int | nb_ifiles, | ||
| OutputFile ** | ofiles, | ||
| int | nb_ofiles | ||
| ) | 
Definition at line 1093 of file graphprint.c.
Referenced by ffmpeg_cleanup().
| 
 | static | 
Definition at line 77 of file graphprint.c.
Referenced by init_graphprint(), and init_sections().
| 
 | static | 
Definition at line 158 of file graphprint.c.
Referenced by init_graphprint().
 1.8.17
 1.8.17