FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 (AVProbeData *pd)
 
static int lmlm4_read_header (AVFormatContext *s)
 
static int lmlm4_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_lmlm4_demuxer
 

Macro Definition Documentation

#define LMLM4_I_FRAME   0x00

Definition at line 30 of file lmlm4.c.

Referenced by lmlm4_read_packet().

#define LMLM4_P_FRAME   0x01

Definition at line 31 of file lmlm4.c.

Referenced by lmlm4_read_packet().

#define LMLM4_B_FRAME   0x02

Definition at line 32 of file lmlm4.c.

Referenced by lmlm4_read_packet().

#define LMLM4_INVALID   0x03

Definition at line 33 of file lmlm4.c.

Referenced by lmlm4_probe(), and lmlm4_read_packet().

#define LMLM4_MPEG1L2   0x04

Definition at line 34 of file lmlm4.c.

Referenced by lmlm4_probe(), and lmlm4_read_packet().

#define LMLM4_MAX_PACKET_SIZE   1024 * 1024

Definition at line 36 of file lmlm4.c.

Referenced by lmlm4_probe(), and lmlm4_read_packet().

Function Documentation

static int lmlm4_probe ( AVProbeData pd)
static

Definition at line 38 of file lmlm4.c.

static int lmlm4_read_header ( AVFormatContext s)
static

Definition at line 62 of file lmlm4.c.

static int lmlm4_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 83 of file lmlm4.c.

Variable Documentation

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,
}
static int lmlm4_read_header(AVFormatContext *s)
Definition: lmlm4.c:62
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:176
static int lmlm4_probe(AVProbeData *pd)
Definition: lmlm4.c:38
static int lmlm4_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: lmlm4.c:83

Definition at line 124 of file lmlm4.c.