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

Go to the source code of this file.

Macros

#define LMLM4_I_FRAME   0x00
 
#define LMLM4_P_FRAME   0x01
 
#define LMLM4_B_FRAME   0x02
 
#define LMLM4_INVALID   0x03
 
#define LMLM4_MPEG1L2   0x04
 
#define LMLM4_MAX_PACKET_SIZE   1024 * 1024
 

Functions

static int lmlm4_probe (const AVProbeData *pd)
 
static int lmlm4_read_header (AVFormatContext *s)
 
static int lmlm4_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_lmlm4_demuxer
 

Macro Definition Documentation

◆ LMLM4_I_FRAME

#define LMLM4_I_FRAME   0x00

Definition at line 31 of file lmlm4.c.

◆ LMLM4_P_FRAME

#define LMLM4_P_FRAME   0x01

Definition at line 32 of file lmlm4.c.

◆ LMLM4_B_FRAME

#define LMLM4_B_FRAME   0x02

Definition at line 33 of file lmlm4.c.

◆ LMLM4_INVALID

#define LMLM4_INVALID   0x03

Definition at line 34 of file lmlm4.c.

◆ LMLM4_MPEG1L2

#define LMLM4_MPEG1L2   0x04

Definition at line 35 of file lmlm4.c.

◆ LMLM4_MAX_PACKET_SIZE

#define LMLM4_MAX_PACKET_SIZE   1024 * 1024

Definition at line 37 of file lmlm4.c.

Function Documentation

◆ lmlm4_probe()

static int lmlm4_probe ( const AVProbeData pd)
static

Definition at line 39 of file lmlm4.c.

◆ lmlm4_read_header()

static int lmlm4_read_header ( AVFormatContext s)
static

Definition at line 63 of file lmlm4.c.

◆ lmlm4_read_packet()

static int lmlm4_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 84 of file lmlm4.c.

Variable Documentation

◆ ff_lmlm4_demuxer

const FFInputFormat ff_lmlm4_demuxer
Initial value:
= {
.p.name = "lmlm4",
.p.long_name = NULL_IF_CONFIG_SMALL("raw lmlm4"),
.read_probe = lmlm4_probe,
.read_header = lmlm4_read_header,
.read_packet = lmlm4_read_packet,
}

Definition at line 125 of file lmlm4.c.

lmlm4_read_header
static int lmlm4_read_header(AVFormatContext *s)
Definition: lmlm4.c:63
lmlm4_probe
static int lmlm4_probe(const AVProbeData *pd)
Definition: lmlm4.c:39
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:94
lmlm4_read_packet
static int lmlm4_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: lmlm4.c:84