FFmpeg
Functions | Variables
iamfdec.c File Reference
#include "libavutil/avassert.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "demux.h"
#include "iamf.h"
#include "iamf_reader.h"
#include "iamf_parse.h"
#include "internal.h"

Go to the source code of this file.

Functions

static int get_score (const uint8_t *buf, int buf_size, enum IAMF_OBU_Type type, int *seq)
 
static int iamf_probe (const AVProbeData *p)
 
static int iamf_read_header (AVFormatContext *s)
 
static int iamf_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int iamf_read_close (AVFormatContext *s)
 

Variables

const FFInputFormat ff_iamf_demuxer
 

Function Documentation

◆ get_score()

static int get_score ( const uint8_t *  buf,
int  buf_size,
enum IAMF_OBU_Type  type,
int seq 
)
static

Definition at line 32 of file iamfdec.c.

Referenced by iamf_probe().

◆ iamf_probe()

static int iamf_probe ( const AVProbeData p)
static

Definition at line 47 of file iamfdec.c.

◆ iamf_read_header()

static int iamf_read_header ( AVFormatContext s)
static

Definition at line 72 of file iamfdec.c.

◆ iamf_read_packet()

static int iamf_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 163 of file iamfdec.c.

◆ iamf_read_close()

static int iamf_read_close ( AVFormatContext s)
static

Definition at line 175 of file iamfdec.c.

Variable Documentation

◆ ff_iamf_demuxer

const FFInputFormat ff_iamf_demuxer
Initial value:
= {
.p.name = "iamf",
.p.long_name = NULL_IF_CONFIG_SMALL("Raw Immersive Audio Model and Formats"),
.p.extensions = "iamf",
.priv_data_size = sizeof(IAMFDemuxContext),
.flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
}

Definition at line 184 of file iamfdec.c.

AVFMT_NO_BYTE_SEEK
#define AVFMT_NO_BYTE_SEEK
Format does not allow seeking by bytes.
Definition: avformat.h:487
AVFMT_SHOW_IDS
#define AVFMT_SHOW_IDS
Show format stream IDs numbers.
Definition: avformat.h:477
AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:479
iamf_probe
static int iamf_probe(const AVProbeData *p)
Definition: iamfdec.c:47
iamf_read_header
static int iamf_read_header(AVFormatContext *s)
Definition: iamfdec.c:72
read_close
static av_cold int read_close(AVFormatContext *ctx)
Definition: libcdio.c:143
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:41
FF_INFMT_FLAG_INIT_CLEANUP
#define FF_INFMT_FLAG_INIT_CLEANUP
For an FFInputFormat with this flag set read_close() needs to be called by the caller upon read_heade...
Definition: demux.h:35
iamf_read_packet
static int iamf_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: iamfdec.c:163
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:550
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:106
iamf_read_close
static int iamf_read_close(AVFormatContext *s)
Definition: iamfdec.c:175
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30
IAMFDemuxContext
Definition: iamf_reader.h:32