#include <stdint.h>
#include <string.h>
#include "avtextformat.h"
#include "libavutil/bprint.h"
#include "libavutil/error.h"
#include "libavutil/opt.h"
#include "tf_internal.h"
Go to the source code of this file.
◆ OFFSET
◆ CHECK_COMPLIANCE
#define CHECK_COMPLIANCE |
( |
|
opt, |
|
|
|
opt_name |
|
) |
| |
Value: if (opt) { \
"XSD-compliant output selected but option '%s' was selected, XML output may be non-compliant.\n" \
"You need to disable such option with '-no%s'\n", opt_name, opt_name); \
}
◆ XML_INDENT
#define XML_INDENT |
( |
| ) |
writer_printf(wctx, "%*c", xml->indent_level * 4, ' ') |
◆ DEFINE_FORMATTER_CLASS()
DEFINE_FORMATTER_CLASS |
( |
xml |
| ) |
|
◆ xml_init()
◆ xml_print_section_header()
◆ xml_print_section_footer()
◆ xml_print_value()
◆ xml_print_str()
◆ xml_print_int()
◆ xml_options
Initial value:= {
{
"fully_qualified",
"specify if the output should be fully qualified",
OFFSET(fully_qualified),
AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1 },
{
"q",
"specify if the output should be fully qualified",
OFFSET(fully_qualified),
AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1 },
{
"xsd_strict",
"ensure that the output is XSD compliant",
OFFSET(xsd_strict),
AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1 },
}
Definition at line 43 of file tf_xml.c.
◆ avtextformatter_xml