chromium/third_party/ffmpeg/libavformat/dump.c

/*
 * Various pretty-printing functions for use within FFmpeg
 * Copyright (c) 2000, 2001, 2002 Fabrice Bellard
 *
 * This file is part of FFmpeg.
 *
 * FFmpeg is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * FFmpeg is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with FFmpeg; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */

#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)
{}

/* param change side data*/
static void dump_paramchange(void *ctx, const AVPacketSideData *sd, int log_level)
{}

/* replaygain side data*/
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)
{}

/* "user interface" functions */
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)
{}