FFmpeg
Macros | Functions | Variables
loasdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/internal.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "rawdec.h"

Go to the source code of this file.

Macros

#define LOAS_SYNC_WORD   0x2b7
 

Functions

static int loas_probe (const AVProbeData *p)
 
static int loas_read_header (AVFormatContext *s)
 

Variables

const FFInputFormat ff_loas_demuxer
 

Macro Definition Documentation

◆ LOAS_SYNC_WORD

#define LOAS_SYNC_WORD   0x2b7

Definition at line 29 of file loasdec.c.

Function Documentation

◆ loas_probe()

static int loas_probe ( const AVProbeData p)
static

Definition at line 31 of file loasdec.c.

◆ loas_read_header()

static int loas_read_header ( AVFormatContext s)
static

Definition at line 69 of file loasdec.c.

Variable Documentation

◆ ff_loas_demuxer

const FFInputFormat ff_loas_demuxer
Initial value:
= {
.p.name = "loas",
.p.long_name = NULL_IF_CONFIG_SMALL("LOAS AudioSyncStream"),
.p.flags = AVFMT_GENERIC_INDEX,
.p.priv_class = &ff_raw_demuxer_class,
.read_probe = loas_probe,
.read_header = loas_read_header,
.raw_codec_id = AV_CODEC_ID_AAC_LATM,
.priv_data_size = sizeof(FFRawDemuxerContext),
}

Definition at line 87 of file loasdec.c.

loas_probe
static int loas_probe(const AVProbeData *p)
Definition: loasdec.c:31
FFRawDemuxerContext
Definition: rawdec.h:37
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
ff_raw_read_partial_packet
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawdec.c:33
ff_raw_demuxer_class
const AVClass ff_raw_demuxer_class
Definition: rawdec.c:141
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
loas_read_header
static int loas_read_header(AVFormatContext *s)
Definition: loasdec.c:69
AV_CODEC_ID_AAC_LATM
@ AV_CODEC_ID_AAC_LATM
Definition: codec_id.h:489