FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
jvdec.c File Reference

Bitmap Brothers JV demuxer. More...

#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  JVFrame
 
struct  JVDemuxContext
 

Macros

#define JV_PREAMBLE_SIZE   5
 
#define MAGIC   " Compression by John M Phillips Copyright (C) 1995 The Bitmap Brothers Ltd."
 

Functions

static int read_probe (AVProbeData *pd)
 
static int read_header (AVFormatContext *s)
 
static int read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int read_seek (AVFormatContext *s, int stream_index, int64_t ts, int flags)
 
static int read_close (AVFormatContext *s)
 

Variables

AVInputFormat ff_jv_demuxer
 

Detailed Description

Bitmap Brothers JV demuxer.

Author
Peter Ross pross.nosp@m.@xvi.nosp@m.d.org

Definition in file jvdec.c.

Macro Definition Documentation

#define JV_PREAMBLE_SIZE   5

Definition at line 33 of file jvdec.c.

Referenced by read_header(), and read_packet().

#define MAGIC   " Compression by John M Phillips Copyright (C) 1995 The Bitmap Brothers Ltd."

Definition at line 52 of file jvdec.c.

Referenced by read_probe().

Function Documentation

static int read_probe ( AVProbeData pd)
static

Definition at line 54 of file jvdec.c.

static int read_header ( AVFormatContext s)
static

Definition at line 62 of file jvdec.c.

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 139 of file jvdec.c.

static int read_seek ( AVFormatContext s,
int  stream_index,
int64_t  ts,
int  flags 
)
static

Definition at line 190 of file jvdec.c.

static int read_close ( AVFormatContext s)
static

Definition at line 221 of file jvdec.c.

Variable Documentation

AVInputFormat ff_jv_demuxer
Initial value:
= {
.name = "jv",
.long_name = NULL_IF_CONFIG_SMALL("Bitmap Brothers JV"),
.priv_data_size = sizeof(JVDemuxContext),
}

Definition at line 230 of file jvdec.c.