chromium/third_party/ffmpeg/libavutil/iamf.c

/*
 * Immersive Audio Model and Formats helper functions and defines
 *
 * 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 <limits.h>
#include <stddef.h>
#include <stdint.h>

#include "avassert.h"
#include "error.h"
#include "iamf.h"
#include "log.h"
#include "mem.h"
#include "opt.h"

#define IAMF_ADD_FUNC_TEMPLATE(parent_type, parent_name, child_type, child_name, suffix)

#define FLAGS

//
// Param Definition
//
#define OFFSET
static const AVOption mix_gain_options[] =;

static const AVClass mix_gain_class =;

#undef OFFSET
#define OFFSET
static const AVOption demixing_info_options[] =;

static const AVClass demixing_info_class =;

#undef OFFSET
#define OFFSET
static const AVOption recon_gain_options[] =;

static const AVClass recon_gain_class =;

#undef OFFSET
#define OFFSET
static const AVOption param_definition_options[] =;

static const AVClass *param_definition_child_iterate(void **opaque)
{}

static const AVClass param_definition_class =;

const AVClass *av_iamf_param_definition_get_class(void)
{}

AVIAMFParamDefinition *av_iamf_param_definition_alloc(enum AVIAMFParamDefinitionType type,
                                                      unsigned int nb_subblocks, size_t *out_size)
{}

//
// Audio Element
//
#undef OFFSET
#define OFFSET
static const AVOption layer_options[] =;

static const AVClass layer_class =;

#undef OFFSET
#define OFFSET
static const AVOption audio_element_options[] =;

static const AVClass *audio_element_child_iterate(void **opaque)
{}

static const AVClass audio_element_class =;

const AVClass *av_iamf_audio_element_get_class(void)
{}

AVIAMFAudioElement *av_iamf_audio_element_alloc(void)
{}

IAMF_ADD_FUNC_TEMPLATE()

void av_iamf_audio_element_free(AVIAMFAudioElement **paudio_element)
{}

//
// Mix Presentation
//
#undef OFFSET
#define OFFSET
static const AVOption submix_element_options[] =;

static void *submix_element_child_next(void *obj, void *prev)
{}

static const AVClass *submix_element_child_iterate(void **opaque)
{}

static const AVClass element_class =;

IAMF_ADD_FUNC_TEMPLATE()

#undef OFFSET
#define OFFSET
static const AVOption submix_layout_options[] =;

static const AVClass layout_class =;

IAMF_ADD_FUNC_TEMPLATE()

#undef OFFSET
#define OFFSET
static const AVOption submix_presentation_options[] =;

static void *submix_presentation_child_next(void *obj, void *prev)
{}

static const AVClass *submix_presentation_child_iterate(void **opaque)
{}

static const AVClass submix_class =;

#undef OFFSET
#define OFFSET
static const AVOption mix_presentation_options[] =;

#undef OFFSET
#undef FLAGS

static const AVClass *mix_presentation_child_iterate(void **opaque)
{}

static const AVClass mix_presentation_class =;

const AVClass *av_iamf_mix_presentation_get_class(void)
{}

AVIAMFMixPresentation *av_iamf_mix_presentation_alloc(void)
{}

IAMF_ADD_FUNC_TEMPLATE()

void av_iamf_mix_presentation_free(AVIAMFMixPresentation **pmix_presentation)
{}