|
FFmpeg
|
output writers for filtergraph details More...
#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/mem.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) |
| #define | print_id_noprefix(k, v) |
| #define | print_int(k, v) |
| #define | print_int_opt(k, v) |
| #define | print_q(k, v, s) |
| #define | print_str(k, v) |
| #define | print_str_opt(k, v) |
| #define | print_val(k, v, u) |
| #define | print_fmt(k, f, ...) |
| #define | print_fmt_opt(k, f, ...) |
Functions | |
| static void | rec_write (AVBPrint *rec, const void *data, size_t size) |
| static void | rec_write_str (AVBPrint *rec, const char *str) |
| static int | rec_read (const uint8_t **p, const uint8_t *end, void *data, size_t size) |
| static int | rec_read_str (const uint8_t **p, const uint8_t *end, const char **str) |
| static void | gp_section_header (const GraphPrintContext *gpc, const AVTextFormatSectionContext *sec_ctx, int section_id) |
| static void | gp_section_footer (const GraphPrintContext *gpc) |
| static void | gp_print_string (const GraphPrintContext *gpc, const char *key, const char *value, int flags) |
| static void | gp_print_integer (const GraphPrintContext *gpc, const char *key, int64_t value, int flags) |
| static void | gp_print_unit_integer (const GraphPrintContext *gpc, const char *key, int64_t value, const char *unit) |
| static void | gp_print_rational (const GraphPrintContext *gpc, const char *key, AVRational q, char sep) |
| static int | gp_replay (const GraphPrintContext *gpc, const AVBPrint *rec) |
| 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 | 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 record) |
| int | print_filtergraph (FilterGraph *fg, AVFilterGraph *graph) |
| static void | print_recorded_graph (const GraphPrintContext *gpc, AVBPrint *graph_buf) |
| 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 const AVTextFormatSection | sections [] |
| static atomic_int | prefix_num = 0 |
output writers for filtergraph details
Definition in file graphprint.c.
| #define print_id | ( | k, | |
| v ) |
Definition at line 332 of file graphprint.c.
Referenced by print_filter(), and print_filtergraph_single().
| #define print_id_noprefix | ( | k, | |
| v ) |
Definition at line 333 of file graphprint.c.
Referenced by print_filter().
| #define print_int | ( | k, | |
| v ) |
Definition at line 334 of file graphprint.c.
Referenced by print_filter(), print_filtergraph_single(), and print_link().
| #define print_int_opt | ( | k, | |
| v ) |
Definition at line 335 of file graphprint.c.
Referenced by print_filter(), print_hwdevicecontext(), and print_hwframescontext().
| #define print_q | ( | k, | |
| v, | |||
| s ) |
Definition at line 336 of file graphprint.c.
Referenced by print_link().
| #define print_str | ( | k, | |
| v ) |
Definition at line 337 of file graphprint.c.
Referenced by print_filter(), print_filtergraph_single(), print_hwframescontext(), print_link(), print_sanizied_id(), and print_streams().
| #define print_str_opt | ( | k, | |
| v ) |
Definition at line 338 of file graphprint.c.
Referenced by print_filter(), print_hwdevicecontext(), print_hwframescontext(), print_link(), and print_streams().
| #define print_val | ( | k, | |
| v, | |||
| u ) |
Definition at line 339 of file graphprint.c.
Referenced by print_link().
| #define print_fmt | ( | k, | |
| f, | |||
| ... ) |
Definition at line 341 of file graphprint.c.
Referenced by print_filtergraph_single(), print_link(), and print_streams().
| #define print_fmt_opt | ( | k, | |
| f, | |||
| ... ) |
Definition at line 347 of file graphprint.c.
Referenced by print_link().
| enum SectionID |
Definition at line 47 of file graphprint.c.
| enum GraphPrintOp |
| Enumerator | |
|---|---|
| GP_OP_SECTION_HEADER | |
| GP_OP_SECTION_FOOTER | |
| GP_OP_STRING | |
| GP_OP_INTEGER | |
| GP_OP_UNIT_INTEGER | |
Definition at line 139 of file graphprint.c.
|
static |
Definition at line 147 of file graphprint.c.
Referenced by gp_print_integer(), gp_print_string(), gp_print_unit_integer(), gp_section_footer(), gp_section_header(), and rec_write_str().
|
static |
Definition at line 152 of file graphprint.c.
Referenced by gp_print_integer(), gp_print_string(), gp_print_unit_integer(), and gp_section_header().
|
static |
Definition at line 161 of file graphprint.c.
Referenced by gp_replay(), and rec_read_str().
|
static |
Definition at line 170 of file graphprint.c.
Referenced by gp_replay().
|
static |
Definition at line 184 of file graphprint.c.
Referenced by print_filter(), print_filtergraph(), print_filtergraph_single(), print_filtergraphs_priv(), print_hwframescontext(), print_section_header_id(), and print_streams().
|
static |
Definition at line 205 of file graphprint.c.
Referenced by print_filter(), print_filtergraph(), print_filtergraph_single(), print_filtergraphs_priv(), print_hwframescontext(), and print_streams().
|
static |
Definition at line 216 of file graphprint.c.
Referenced by gp_print_rational().
|
static |
Definition at line 231 of file graphprint.c.
|
static |
Definition at line 246 of file graphprint.c.
|
static |
Definition at line 260 of file graphprint.c.
|
static |
Definition at line 268 of file graphprint.c.
Referenced by print_recorded_graph().
|
inlinestatic |
Definition at line 356 of file graphprint.c.
Referenced by default_print_section_header(), and print_streams().
|
static |
Definition at line 365 of file graphprint.c.
Referenced by print_streams().
|
static |
Definition at line 397 of file graphprint.c.
Referenced by print_filter().
|
static |
Definition at line 407 of file graphprint.c.
Referenced by print_link().
|
static |
Definition at line 441 of file graphprint.c.
Referenced by print_filter().
|
static |
Definition at line 517 of file graphprint.c.
Referenced by print_sanizied_id(), and print_section_header_id().
|
static |
Definition at line 524 of file graphprint.c.
|
static |
Definition at line 545 of file graphprint.c.
Referenced by print_filter(), print_filtergraph_single(), and print_streams().
|
static |
Definition at line 569 of file graphprint.c.
Referenced by print_filter().
|
static |
Definition at line 574 of file graphprint.c.
Referenced by print_filtergraph_single().
|
static |
Definition at line 663 of file graphprint.c.
Referenced by print_filtergraph().
|
static |
Definition at line 771 of file graphprint.c.
Referenced by print_filtergraphs_priv().
|
static |
Definition at line 1039 of file graphprint.c.
Referenced by print_filtergraph(), and print_filtergraphs_priv().
|
static |
Definition at line 1053 of file graphprint.c.
Referenced by print_filtergraph(), and print_filtergraphs_priv().
| int print_filtergraph | ( | FilterGraph * | fg, |
| AVFilterGraph * | graph ) |
Definition at line 1141 of file graphprint.c.
Referenced by filter_thread().
|
static |
Definition at line 1169 of file graphprint.c.
Referenced by print_filtergraphs_priv().
|
static |
Definition at line 1180 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 1246 of file graphprint.c.
Referenced by ffmpeg_cleanup().
|
static |
Definition at line 78 of file graphprint.c.
|
static |
Definition at line 354 of file graphprint.c.
Referenced by init_graphprint().