FFmpeg
Functions | Variables
ingenientdec.c File Reference
#include "avformat.h"
#include "demux.h"
#include "rawdec.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Functions

static int ingenient_probe (const AVProbeData *p)
 
static int ingenient_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_ingenient_demuxer
 

Function Documentation

◆ ingenient_probe()

static int ingenient_probe ( const AVProbeData p)
static

Definition at line 28 of file ingenientdec.c.

◆ ingenient_read_packet()

static int ingenient_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 37 of file ingenientdec.c.

Variable Documentation

◆ ff_ingenient_demuxer

const FFInputFormat ff_ingenient_demuxer
Initial value:
= {
.p.name = "ingenient",
.p.long_name = NULL_IF_CONFIG_SMALL("raw Ingenient MJPEG"),
.p.flags = AVFMT_GENERIC_INDEX,
.p.extensions = "cgi",
.p.priv_class = &ff_rawvideo_demuxer_class,
.priv_data_size = sizeof(FFRawVideoDemuxerContext),
.raw_codec_id = AV_CODEC_ID_MJPEG,
}

Definition at line 65 of file ingenientdec.c.

ff_raw_video_read_header
int ff_raw_video_read_header(AVFormatContext *s)
Definition: rawdec.c:69
ff_rawvideo_demuxer_class
const AVClass ff_rawvideo_demuxer_class
Definition: rawdec.c:128
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
ingenient_read_packet
static int ingenient_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: ingenientdec.c:37
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:42
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:550
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
FFRawVideoDemuxerContext
Definition: rawdec.h:29
AV_CODEC_ID_MJPEG
@ AV_CODEC_ID_MJPEG
Definition: codec_id.h:59
ingenient_probe
static int ingenient_probe(const AVProbeData *p)
Definition: ingenientdec.c:28
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30