frmdec.c File Reference

Megalux Frame demuxer. More...

#include "libavcodec/raw.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
Include dependency graph for frmdec.c:

Go to the source code of this file.

Data Structures

struct  FrmContext
 

Functions

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

Variables

static const PixelFormatTag frm_pix_fmt_tags []
 
AVInputFormat ff_frm_demuxer
 

Detailed Description

Megalux Frame demuxer.

Definition in file frmdec.c.

Function Documentation

static int frm_read_header ( AVFormatContext avctx)
static

Definition at line 53 of file frmdec.c.

static int frm_read_packet ( AVFormatContext avctx,
AVPacket pkt 
)
static

Definition at line 74 of file frmdec.c.

static int frm_read_probe ( AVProbeData p)
static

Definition at line 44 of file frmdec.c.

Variable Documentation

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,
}
static int frm_read_header(AVFormatContext *avctx)
Definition: frmdec.c:53
static int frm_read_packet(AVFormatContext *avctx, AVPacket *pkt)
Definition: frmdec.c:74
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int frm_read_probe(AVProbeData *p)
Definition: frmdec.c:44

Definition at line 103 of file frmdec.c.

const PixelFormatTag frm_pix_fmt_tags[]
static
Initial value:
= {
}
packed RGB 8:8:8, 24bpp, RGBRGB...
Definition: pixfmt.h:70
packed RGB 8:8:8, 32bpp, RGB0RGB0...
Definition: pixfmt.h:215
packed BGRA 8:8:8:8, 32bpp, BGRABGRA...
Definition: pixfmt.h:99
packed BGR 8:8:8, 32bpp, BGR0BGR0...
Definition: pixfmt.h:217
#define AV_PIX_FMT_RGB555
Definition: pixfmt.h:269

Definition at line 31 of file frmdec.c.