#include <stdio.h>
#include <stdint.h>
#include "libavutil/avstring.h"
#include "libavutil/channel_layout.h"
#include "libavutil/display.h"
#include "libavutil/iamf.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/log.h"
#include "libavutil/mastering_display_metadata.h"
#include "libavutil/ambient_viewing_environment.h"
#include "libavutil/dovi_meta.h"
#include "libavutil/mathematics.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/replaygain.h"
#include "libavutil/spherical.h"
#include "libavutil/stereo3d.h"
#include "libavutil/timecode.h"
#include "libavcodec/avcodec.h"
#include "avformat.h"
#include "internal.h"
#define HEXDUMP_PRINT(...) …
static void hex_dump_internal(void *avcl, FILE *f, int level,
const uint8_t *buf, int size)
{ … }
void av_hex_dump(FILE *f, const uint8_t *buf, int size)
{ … }
void av_hex_dump_log(void *avcl, int level, const uint8_t *buf, int size)
{ … }
static void pkt_dump_internal(void *avcl, FILE *f, int level, const AVPacket *pkt,
int dump_payload, AVRational time_base)
{ … }
void av_pkt_dump2(FILE *f, const AVPacket *pkt, int dump_payload, const AVStream *st)
{ … }
void av_pkt_dump_log2(void *avcl, int level, const AVPacket *pkt, int dump_payload,
const AVStream *st)
{ … }
static void print_fps(double d, const char *postfix, int log_level)
{ … }
static void dump_dictionary(void *ctx, const AVDictionary *m,
const char *name, const char *indent,
int log_level)
{ … }
static void dump_metadata(void *ctx, const AVDictionary *m, const char *indent,
int log_level)
{ … }
static void dump_paramchange(void *ctx, const AVPacketSideData *sd, int log_level)
{ … }
static void print_gain(void *ctx, const char *str, int32_t gain, int log_level)
{ … }
static void print_peak(void *ctx, const char *str, uint32_t peak, int log_level)
{ … }
static void dump_replaygain(void *ctx, const AVPacketSideData *sd, int log_level)
{ … }
static void dump_stereo3d(void *ctx, const AVPacketSideData *sd, int log_level)
{ … }
static void dump_audioservicetype(void *ctx, const AVPacketSideData *sd, int log_level)
{ … }
static void dump_cpb(void *ctx, const AVPacketSideData *sd, int log_level)
{ … }
static void dump_mastering_display_metadata(void *ctx, const AVPacketSideData *sd,
int log_level)
{ … }
static void dump_content_light_metadata(void *ctx, const AVPacketSideData *sd,
int log_level)
{ … }
static void dump_ambient_viewing_environment_metadata(void *ctx, const AVPacketSideData *sd)
{ … }
static void dump_spherical(void *ctx, const AVCodecParameters *par,
const AVPacketSideData *sd, int log_level)
{ … }
static void dump_dovi_conf(void *ctx, const AVPacketSideData *sd,
int log_level)
{ … }
static void dump_s12m_timecode(void *ctx, const AVStream *st, const AVPacketSideData *sd,
int log_level)
{ … }
static void dump_sidedata(void *ctx, const AVStream *st, const char *indent,
int log_level)
{ … }
static void dump_disposition(int disposition, int log_level)
{ … }
static void dump_stream_format(const AVFormatContext *ic, int i,
int group_index, int index, int is_output,
int log_level)
{ … }
static void dump_stream_group(const AVFormatContext *ic, uint8_t *printed,
int i, int index, int is_output)
{ … }
void av_dump_format(AVFormatContext *ic, int index,
const char *url, int is_output)
{ … }