FFmpeg  4.0
Data Structures | Functions | Variables
thp.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/intfloat.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  ThpDemuxContext
 

Functions

static int thp_probe (AVProbeData *p)
 
static int thp_read_header (AVFormatContext *s)
 
static int thp_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_thp_demuxer
 

Function Documentation

◆ thp_probe()

static int thp_probe ( AVProbeData p)
static

Definition at line 48 of file thp.c.

◆ thp_read_header()

static int thp_read_header ( AVFormatContext s)
static

Definition at line 62 of file thp.c.

◆ thp_read_packet()

static int thp_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 151 of file thp.c.

Variable Documentation

◆ ff_thp_demuxer

AVInputFormat ff_thp_demuxer
Initial value:
= {
.name = "thp",
.long_name = NULL_IF_CONFIG_SMALL("THP"),
.priv_data_size = sizeof(ThpDemuxContext),
}
static int thp_read_header(AVFormatContext *s)
Definition: thp.c:62
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int thp_probe(AVProbeData *p)
Definition: thp.c:48
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:530
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
static int thp_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: thp.c:151

Definition at line 209 of file thp.c.