#include <inttypes.h>
#include <limits.h>
#include <stdarg.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
◆ 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 },
}
@ AV_OPT_TYPE_BOOL
Underlying C type is int.
@ AV_OPT_TYPE_STRING
Underlying C type is a uint8_t* that is either NULL or points to a C string allocated with the av_mal...
Definition at line 44 of file tf_flat.c.
◆ avtextformatter_flat
Initial value:= {
.name = "flat",
.priv_class = &flat_class,
}
#define AV_TEXTFORMAT_FLAG_SUPPORTS_OPTIONAL_FIELDS
#define AV_TEXTFORMAT_FLAG_SUPPORTS_MIXED_ARRAY_CONTENT
#define flags(name, subs,...)
int(* init)(AVBSFContext *ctx)
static void flat_print_int(AVTextFormatContext *wctx, const char *key, int64_t value)
static void flat_print_str(AVTextFormatContext *wctx, const char *key, const char *value)
static void flat_print_section_header(AVTextFormatContext *wctx, const void *data)
static av_cold int flat_init(AVTextFormatContext *wctx)
Definition at line 150 of file tf_flat.c.