|
|
#define | pthread_mutex_lock(a) do{}while(0) |
| |
|
#define | pthread_mutex_unlock(a) do{}while(0) |
| |
|
#define | SECTION_MAX_NB_CHILDREN 10 |
| |
|
#define | SECTION_FLAG_IS_WRAPPER 1 |
| | the section only contains other sections, but has no data at its own level
|
| |
|
#define | SECTION_FLAG_IS_ARRAY 2 |
| | the section contains an array of elements of the same type
|
| |
| #define | SECTION_FLAG_HAS_VARIABLE_FIELDS 4 |
| | the section may contain a variable number of fields with variable keys. More...
|
| |
|
#define | WRITER_FLAG_DISPLAY_OPTIONAL_FIELDS 1 |
| |
|
#define | WRITER_FLAG_PUT_PACKETS_AND_FRAMES_IN_SAME_CHAPTER 2 |
| |
|
#define | SECTION_MAX_NB_LEVELS 10 |
| |
|
#define | OFFSET(x) offsetof(WriterContext, x) |
| |
|
#define | PRINT_STRING_OPT 1 |
| |
|
#define | PRINT_STRING_VALIDATE 2 |
| |
|
#define | MAX_REGISTERED_WRITERS_NB 64 |
| |
| #define | DEFINE_WRITER_CLASS(name) |
| |
|
#define | OFFSET(x) offsetof(DefaultContext, x) |
| |
|
#define | OFFSET(x) offsetof(CompactContext, x) |
| |
|
#define | OFFSET(x) offsetof(CompactContext, x) |
| |
|
#define | OFFSET(x) offsetof(FlatContext, x) |
| |
|
#define | OFFSET(x) offsetof(INIContext, x) |
| |
|
#define | OFFSET(x) offsetof(JSONContext, x) |
| |
|
#define | JSON_INDENT() printf("%*c", json->indent_level * 4, ' ') |
| |
|
#define | OFFSET(x) offsetof(XMLContext, x) |
| |
| #define | CHECK_COMPLIANCE(opt, opt_name) |
| |
|
#define | XML_INDENT() printf("%*c", xml->indent_level * 4, ' ') |
| |
| #define | print_fmt(k, f, ...) |
| |
|
#define | print_int(k, v) writer_print_integer(w, k, v) |
| |
|
#define | print_q(k, v, s) writer_print_rational(w, k, v, s) |
| |
|
#define | print_str(k, v) writer_print_string(w, k, v, 0) |
| |
|
#define | print_str_opt(k, v) writer_print_string(w, k, v, PRINT_STRING_OPT) |
| |
|
#define | print_str_validate(k, v) writer_print_string(w, k, v, PRINT_STRING_VALIDATE) |
| |
|
#define | print_time(k, v, tb) writer_print_time(w, k, v, tb, 0) |
| |
|
#define | print_ts(k, v) writer_print_ts(w, k, v, 0) |
| |
|
#define | print_duration_time(k, v, tb) writer_print_time(w, k, v, tb, 1) |
| |
|
#define | print_duration_ts(k, v) writer_print_ts(w, k, v, 1) |
| |
| #define | print_val(k, v, u) |
| |
|
#define | print_section_header(s) writer_print_section_header(w, s) |
| |
|
#define | print_section_footer(s) writer_print_section_footer(w, s) |
| |
| #define | REALLOCZ_ARRAY_STREAM(ptr, cur_n, new_n) |
| |
| #define | PRINT_DISPOSITION(flagname, name) |
| |
|
#define | CHECK_END if (ret < 0) goto end |
| |
| #define | SHOW_LIB_VERSION(libname, LIBNAME) |
| |
| #define | PRINT_PIX_FMT_FLAG(flagname, name) |
| |
| #define | DEFINE_OPT_SHOW_SECTION(section, target_section_id) |
| |
| #define | SET_DO_SHOW(id, varname) |
| |
|
| enum | SectionID {
SECTION_ID_NONE = -1,
SECTION_ID_CHAPTER,
SECTION_ID_CHAPTER_TAGS,
SECTION_ID_CHAPTERS,
SECTION_ID_ERROR,
SECTION_ID_FORMAT,
SECTION_ID_FORMAT_TAGS,
SECTION_ID_FRAME,
SECTION_ID_FRAMES,
SECTION_ID_FRAME_TAGS,
SECTION_ID_FRAME_SIDE_DATA_LIST,
SECTION_ID_FRAME_SIDE_DATA,
SECTION_ID_FRAME_LOG,
SECTION_ID_FRAME_LOGS,
SECTION_ID_LIBRARY_VERSION,
SECTION_ID_LIBRARY_VERSIONS,
SECTION_ID_PACKET,
SECTION_ID_PACKET_TAGS,
SECTION_ID_PACKETS,
SECTION_ID_PACKETS_AND_FRAMES,
SECTION_ID_PACKET_SIDE_DATA_LIST,
SECTION_ID_PACKET_SIDE_DATA,
SECTION_ID_PIXEL_FORMAT,
SECTION_ID_PIXEL_FORMAT_FLAGS,
SECTION_ID_PIXEL_FORMAT_COMPONENT,
SECTION_ID_PIXEL_FORMAT_COMPONENTS,
SECTION_ID_PIXEL_FORMATS,
SECTION_ID_PROGRAM_STREAM_DISPOSITION,
SECTION_ID_PROGRAM_STREAM_TAGS,
SECTION_ID_PROGRAM,
SECTION_ID_PROGRAM_STREAMS,
SECTION_ID_PROGRAM_STREAM,
SECTION_ID_PROGRAM_TAGS,
SECTION_ID_PROGRAM_VERSION,
SECTION_ID_PROGRAMS,
SECTION_ID_ROOT,
SECTION_ID_STREAM,
SECTION_ID_STREAM_DISPOSITION,
SECTION_ID_STREAMS,
SECTION_ID_STREAM_TAGS,
SECTION_ID_STREAM_SIDE_DATA_LIST,
SECTION_ID_STREAM_SIDE_DATA,
SECTION_ID_SUBTITLE
} |
| |
| enum | StringValidation { WRITER_STRING_VALIDATION_FAIL,
WRITER_STRING_VALIDATION_REPLACE,
WRITER_STRING_VALIDATION_IGNORE,
WRITER_STRING_VALIDATION_NB
} |
| |
simple media prober based on the FFmpeg libraries