#include <limits.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "avtextformat.h"
#include "libavutil/bprint.h"
#include "libavutil/error.h"
#include "libavutil/opt.h"
Go to the source code of this file.
◆ writer_w8
#define writer_w8 |
( |
|
wctx_, |
|
|
|
b_ |
|
) |
| (wctx_)->writer->writer->writer_w8((wctx_)->writer, b_) |
◆ writer_put_str
#define writer_put_str |
( |
|
wctx_, |
|
|
|
str_ |
|
) |
| (wctx_)->writer->writer->writer_put_str((wctx_)->writer, str_) |
◆ writer_printf
#define writer_printf |
( |
|
wctx_, |
|
|
|
fmt_, |
|
|
|
... |
|
) |
| (wctx_)->writer->writer->writer_printf((wctx_)->writer, fmt_, __VA_ARGS__) |
◆ DEFINE_FORMATTER_CLASS
#define DEFINE_FORMATTER_CLASS |
( |
|
name | ) |
|
Value:static const char *
name##_get_name(
void *
ctx) \
{ \
} \
.item_name =
name##_get_name, \
.option =
name##_options \
}
Definition at line 36 of file tf_flat.c.
◆ OFFSET
◆ DEFINE_FORMATTER_CLASS()
DEFINE_FORMATTER_CLASS |
( |
flat |
| ) |
|
◆ flat_init()
◆ flat_escape_key_str()
static const char* flat_escape_key_str |
( |
AVBPrint * |
dst, |
|
|
const char * |
src, |
|
|
const char |
sep |
|
) |
| |
|
static |
◆ flat_escape_value_str()
static const char* flat_escape_value_str |
( |
AVBPrint * |
dst, |
|
|
const char * |
src |
|
) |
| |
|
static |
◆ flat_print_section_header()
◆ flat_print_int()
◆ flat_print_str()
static void flat_print_str |
( |
AVTextFormatContext * |
wctx, |
|
|
const char * |
key, |
|
|
const char * |
value |
|
) |
| |
|
static |
◆ flat_options
Initial value:= {
{
"hierarchical",
"specify if the section specification should be hierarchical",
OFFSET(hierarchical),
AV_OPT_TYPE_BOOL, {.i64=1}, 0, 1 },
{
"h",
"specify if the section specification should be hierarchical",
OFFSET(hierarchical),
AV_OPT_TYPE_BOOL, {.i64=1}, 0, 1 },
}
Definition at line 60 of file tf_flat.c.
◆ avtextformatter_flat