FFmpeg
Loading...
Searching...
No Matches
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,
}
#define AVFMT_NO_BYTE_SEEK
Format does not allow seeking by bytes.
Definition avformat.h:506
#define AVFMT_SHOW_IDS
Show format stream IDs numbers.
Definition avformat.h:496
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition avformat.h:499
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition avformat.h:498
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int read_probe(const AVProbeData *p)
Definition cdg.c:30
#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
static int read_header(FFV1Context *f, RangeCoder *c)
Definition ffv1dec.c:578
static int iamf_probe(const AVProbeData *p)
Definition iamfdec.c:47
static int iamf_read_header(AVFormatContext *s)
Definition iamfdec.c:72
static int iamf_read_close(AVFormatContext *s)
Definition iamfdec.c:175
static int iamf_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition iamfdec.c:163
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition internal.h:88
static av_cold int read_close(AVFormatContext *ctx)
Definition libcdio.c:143

Definition at line 184 of file iamfdec.c.