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

Megalux Frame demuxer. More...

#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "riff.h"

Go to the source code of this file.

Data Structures

struct  FrmContext


static int frm_read_probe (AVProbeData *p)
static int frm_read_header (AVFormatContext *avctx)
static int frm_read_packet (AVFormatContext *avctx, AVPacket *pkt)


static const AVCodecTag frm_pix_fmt_tags []
AVInputFormat ff_frm_demuxer

Detailed Description

Megalux Frame demuxer.

Definition in file frmdec.c.

Function Documentation

static int frm_read_probe ( AVProbeData p)

Definition at line 43 of file frmdec.c.

static int frm_read_header ( AVFormatContext avctx)

Definition at line 52 of file frmdec.c.

static int frm_read_packet ( AVFormatContext avctx,
AVPacket pkt 

Definition at line 73 of file frmdec.c.

Variable Documentation

const AVCodecTag frm_pix_fmt_tags[]
Initial value:
= {
{ PIX_FMT_RGB555, 1 },
{ PIX_FMT_BGR32, 2 },
{ PIX_FMT_RGB24, 3 },
{ PIX_FMT_BGR0, 4 },
{ PIX_FMT_BGR0, 5 },

Definition at line 31 of file frmdec.c.

AVInputFormat ff_frm_demuxer
Initial value:
= {
.name = "frm",
.priv_data_size = sizeof(FrmContext),
.long_name = NULL_IF_CONFIG_SMALL("Megalux Frame"),
.read_probe = frm_read_probe,
.read_header = frm_read_header,
.read_packet = frm_read_packet,

Definition at line 96 of file frmdec.c.