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 164 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 198 of file genh.c.

GENHDemuxContext
Definition: genh.c:27
genh_probe
static int genh_probe(const AVProbeData *p)
Definition: genh.c:32
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:41
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:550
genh_read_packet
static int genh_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: genh.c:164
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:106
genh_read_header
static int genh_read_header(AVFormatContext *s)
Definition: genh.c:42
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:29