FFmpeg
Macros | Functions | Variables
lmlm4.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.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 AVInputFormat ff_lmlm4_demuxer
 

Macro Definition Documentation

◆ LMLM4_I_FRAME

#define LMLM4_I_FRAME   0x00

Definition at line 30 of file lmlm4.c.

◆ LMLM4_P_FRAME

#define LMLM4_P_FRAME   0x01

Definition at line 31 of file lmlm4.c.

◆ LMLM4_B_FRAME

#define LMLM4_B_FRAME   0x02

Definition at line 32 of file lmlm4.c.

◆ LMLM4_INVALID

#define LMLM4_INVALID   0x03

Definition at line 33 of file lmlm4.c.

◆ LMLM4_MPEG1L2

#define LMLM4_MPEG1L2   0x04

Definition at line 34 of file lmlm4.c.

◆ LMLM4_MAX_PACKET_SIZE

#define LMLM4_MAX_PACKET_SIZE   1024 * 1024

Definition at line 36 of file lmlm4.c.

Function Documentation

◆ lmlm4_probe()

static int lmlm4_probe ( const AVProbeData pd)
static

Definition at line 38 of file lmlm4.c.

◆ lmlm4_read_header()

static int lmlm4_read_header ( AVFormatContext s)
static

Definition at line 62 of file lmlm4.c.

◆ lmlm4_read_packet()

static int lmlm4_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 83 of file lmlm4.c.

Variable Documentation

◆ ff_lmlm4_demuxer

const AVInputFormat ff_lmlm4_demuxer
Initial value:
= {
.name = "lmlm4",
.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 124 of file lmlm4.c.

lmlm4_read_header
static int lmlm4_read_header(AVFormatContext *s)
Definition: lmlm4.c:62
lmlm4_probe
static int lmlm4_probe(const AVProbeData *pd)
Definition: lmlm4.c:38
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:117
lmlm4_read_packet
static int lmlm4_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: lmlm4.c:83