FFmpeg
Data Structures | Macros | Functions | Variables
alp.c File Reference
#include "avformat.h"
#include "internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/internal.h"

Go to the source code of this file.

Data Structures

struct  ALPHeader
 

Macros

#define ALP_TAG   MKTAG('A', 'L', 'P', ' ')
 
#define ALP_MAX_READ_SIZE   4096
 

Functions

static int alp_probe (const AVProbeData *p)
 
static int alp_read_header (AVFormatContext *s)
 
static int alp_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_alp_demuxer
 

Macro Definition Documentation

◆ ALP_TAG

#define ALP_TAG   MKTAG('A', 'L', 'P', ' ')

Definition at line 27 of file alp.c.

◆ ALP_MAX_READ_SIZE

#define ALP_MAX_READ_SIZE   4096

Definition at line 28 of file alp.c.

Function Documentation

◆ alp_probe()

static int alp_probe ( const AVProbeData p)
static

Definition at line 39 of file alp.c.

◆ alp_read_header()

static int alp_read_header ( AVFormatContext s)
static

Definition at line 57 of file alp.c.

◆ alp_read_packet()

static int alp_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 125 of file alp.c.

Variable Documentation

◆ ff_alp_demuxer

AVInputFormat ff_alp_demuxer
Initial value:
= {
.name = "alp",
.long_name = NULL_IF_CONFIG_SMALL("LEGO Racers ALP"),
.read_probe = alp_probe,
.read_header = alp_read_header,
.read_packet = alp_read_packet
}

Definition at line 140 of file alp.c.

alp_read_header
static int alp_read_header(AVFormatContext *s)
Definition: alp.c:57
alp_read_packet
static int alp_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: alp.c:125
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:188
alp_probe
static int alp_probe(const AVProbeData *p)
Definition: alp.c:39