FFmpeg
Data Structures | Functions | Variables
genh.c File Reference
#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  GENHDemuxContext
 

Functions

static int genh_probe (const AVProbeData *p)
 
static int genh_read_header (AVFormatContext *s)
 
static int genh_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const AVInputFormat ff_genh_demuxer
 

Function Documentation

◆ genh_probe()

static int genh_probe ( const AVProbeData p)
static

Definition at line 32 of file genh.c.

◆ genh_read_header()

static int genh_read_header ( AVFormatContext s)
static

Definition at line 42 of file genh.c.

◆ genh_read_packet()

static int genh_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 162 of file genh.c.

Variable Documentation

◆ ff_genh_demuxer

const AVInputFormat ff_genh_demuxer
Initial value:
= {
.name = "genh",
.long_name = NULL_IF_CONFIG_SMALL("GENeric Header"),
.priv_data_size = sizeof(GENHDemuxContext),
.extensions = "genh",
}

Definition at line 196 of file genh.c.

GENHDemuxContext
Definition: genh.c:27
genh_probe
static int genh_probe(const AVProbeData *p)
Definition: genh.c:32
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:532
read_probe
static int read_probe(const AVProbeData *pd)
Definition: jvdec.c:55
genh_read_packet
static int genh_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: genh.c:162
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:117
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
genh_read_header
static int genh_read_header(AVFormatContext *s)
Definition: genh.c:42