FFmpeg
Data Structures | Functions | Variables
genh.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "demux.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 FFInputFormat ff_genh_demuxer
 

Function Documentation

◆ genh_probe()

static int genh_probe ( const AVProbeData p)
static

Definition at line 33 of file genh.c.

◆ genh_read_header()

static int genh_read_header ( AVFormatContext s)
static

Definition at line 43 of file genh.c.

◆ genh_read_packet()

static int genh_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 165 of file genh.c.

Variable Documentation

◆ ff_genh_demuxer

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

Definition at line 199 of file genh.c.

GENHDemuxContext
Definition: genh.c:28
genh_probe
static int genh_probe(const AVProbeData *p)
Definition: genh.c:33
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
genh_read_packet
static int genh_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: genh.c:165
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
genh_read_header
static int genh_read_header(AVFormatContext *s)
Definition: genh.c:43
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30