FFmpeg
Data Structures | Functions | Variables
moflex.c File Reference
#include "libavcodec/bytestream.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  BitReader
 
struct  MOFLEXDemuxContext
 

Functions

static int pop (BitReader *br, AVIOContext *pb)
 
static int pop_int (BitReader *br, AVIOContext *pb, int n)
 
static int pop_length (BitReader *br, AVIOContext *pb)
 
static int read_var_byte (AVFormatContext *s, unsigned *out)
 
static int moflex_probe (const AVProbeData *p)
 
static int moflex_read_sync (AVFormatContext *s)
 
static int moflex_read_header (AVFormatContext *s)
 
static int moflex_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int moflex_read_seek (AVFormatContext *s, int stream_index, int64_t pts, int flags)
 
static int moflex_read_close (AVFormatContext *s)
 

Variables

const AVInputFormat ff_moflex_demuxer
 

Function Documentation

◆ pop()

static int pop ( BitReader br,
AVIOContext pb 
)
static

Definition at line 44 of file moflex.c.

Referenced by moflex_read_packet(), pop_int(), and pop_length().

◆ pop_int()

static int pop_int ( BitReader br,
AVIOContext pb,
int  n 
)
static

Definition at line 58 of file moflex.c.

Referenced by moflex_read_packet().

◆ pop_length()

static int pop_length ( BitReader br,
AVIOContext pb 
)
static

Definition at line 75 of file moflex.c.

Referenced by moflex_read_packet().

◆ read_var_byte()

static int read_var_byte ( AVFormatContext s,
unsigned *  out 
)
static

Definition at line 87 of file moflex.c.

Referenced by moflex_read_sync().

◆ moflex_probe()

static int moflex_probe ( const AVProbeData p)
static

Definition at line 120 of file moflex.c.

◆ moflex_read_sync()

static int moflex_read_sync ( AVFormatContext s)
static

Definition at line 155 of file moflex.c.

Referenced by moflex_read_header(), and moflex_read_packet().

◆ moflex_read_header()

static int moflex_read_header ( AVFormatContext s)
static

Definition at line 250 of file moflex.c.

◆ moflex_read_packet()

static int moflex_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 264 of file moflex.c.

◆ moflex_read_seek()

static int moflex_read_seek ( AVFormatContext s,
int  stream_index,
int64_t  pts,
int  flags 
)
static

Definition at line 356 of file moflex.c.

◆ moflex_read_close()

static int moflex_read_close ( AVFormatContext s)
static

Definition at line 366 of file moflex.c.

Variable Documentation

◆ ff_moflex_demuxer

const AVInputFormat ff_moflex_demuxer
Initial value:
= {
.name = "moflex",
.long_name = NULL_IF_CONFIG_SMALL("MobiClip MOFLEX"),
.priv_data_size = sizeof(MOFLEXDemuxContext),
.extensions = "moflex",
}

Definition at line 375 of file moflex.c.

moflex_probe
static int moflex_probe(const AVProbeData *p)
Definition: moflex.c:120
read_seek
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:149
MOFLEXDemuxContext
Definition: moflex.c:34
read_close
static av_cold int read_close(AVFormatContext *ctx)
Definition: libcdio.c:141
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:468
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:527
read_probe
static int read_probe(const AVProbeData *pd)
Definition: jvdec.c:55
moflex_read_close
static int moflex_read_close(AVFormatContext *s)
Definition: moflex.c:366
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
moflex_read_seek
static int moflex_read_seek(AVFormatContext *s, int stream_index, int64_t pts, int flags)
Definition: moflex.c:356
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
moflex_read_packet
static int moflex_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: moflex.c:264
moflex_read_header
static int moflex_read_header(AVFormatContext *s)
Definition: moflex.c:250
flags
#define flags(name, subs,...)
Definition: cbs_av1.c:561