FFmpeg
Data Structures | Functions | Variables
frmdec.c File Reference
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "demux.h"

Go to the source code of this file.

Data Structures

struct  FrmContext
 

Functions

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

Variables

static enum AVPixelFormat frm_pix_fmt_tags []
 
const FFInputFormat ff_frm_demuxer
 

Detailed Description

Megalux Frame demuxer

Definition in file frmdec.c.

Function Documentation

◆ frm_read_probe()

static int frm_read_probe ( const AVProbeData p)
static

Definition at line 44 of file frmdec.c.

◆ frm_read_header()

static int frm_read_header ( AVFormatContext avctx)
static

Definition at line 53 of file frmdec.c.

◆ frm_read_packet()

static int frm_read_packet ( AVFormatContext avctx,
AVPacket pkt 
)
static

Definition at line 77 of file frmdec.c.

Variable Documentation

◆ frm_pix_fmt_tags

enum AVPixelFormat frm_pix_fmt_tags[]
static
Initial value:

Definition at line 32 of file frmdec.c.

Referenced by frm_read_header().

◆ ff_frm_demuxer

const FFInputFormat ff_frm_demuxer
Initial value:
= {
.p.name = "frm",
.p.long_name = NULL_IF_CONFIG_SMALL("Megalux Frame"),
.priv_data_size = sizeof(FrmContext),
}

Definition at line 106 of file frmdec.c.

FrmContext
Definition: frmdec.c:40
AV_PIX_FMT_BGRA
@ AV_PIX_FMT_BGRA
packed BGRA 8:8:8:8, 32bpp, BGRABGRA...
Definition: pixfmt.h:102
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:42
frm_read_probe
static int frm_read_probe(const AVProbeData *p)
Definition: frmdec.c:44
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:538
AV_PIX_FMT_BGR0
@ AV_PIX_FMT_BGR0
packed BGR 8:8:8, 32bpp, BGRXBGRX... X=unused/undefined
Definition: pixfmt.h:265
AV_PIX_FMT_RGB24
@ AV_PIX_FMT_RGB24
packed RGB 8:8:8, 24bpp, RGBRGB...
Definition: pixfmt.h:75
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:94
AV_PIX_FMT_RGB0
@ AV_PIX_FMT_RGB0
packed RGB 8:8:8, 32bpp, RGBXRGBX... X=unused/undefined
Definition: pixfmt.h:263
AV_PIX_FMT_RGB555
#define AV_PIX_FMT_RGB555
Definition: pixfmt.h:466
frm_read_header
static int frm_read_header(AVFormatContext *avctx)
Definition: frmdec.c:53
frm_read_packet
static int frm_read_packet(AVFormatContext *avctx, AVPacket *pkt)
Definition: frmdec.c:77
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30