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 29 of file lmlm4.c.

Referenced by lmlm4_read_packet().

#define LMLM4_P_FRAME   0x01

Definition at line 30 of file lmlm4.c.

Referenced by lmlm4_read_packet().

#define LMLM4_B_FRAME   0x02

Definition at line 31 of file lmlm4.c.

Referenced by lmlm4_read_packet().

#define LMLM4_INVALID   0x03

Definition at line 32 of file lmlm4.c.

Referenced by lmlm4_probe(), and lmlm4_read_packet().

#define LMLM4_MPEG1L2   0x04

Definition at line 33 of file lmlm4.c.

Referenced by lmlm4_probe(), and lmlm4_read_packet().

#define LMLM4_MAX_PACKET_SIZE   1024 * 1024

Definition at line 35 of file lmlm4.c.

Referenced by lmlm4_probe(), and lmlm4_read_packet().

Function Documentation

static int lmlm4_probe ( AVProbeData pd)
static

Definition at line 37 of file lmlm4.c.

static int lmlm4_read_header ( AVFormatContext s)
static

Definition at line 61 of file lmlm4.c.

static int lmlm4_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 81 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,
}

Definition at line 121 of file lmlm4.c.