FFmpeg
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 (const 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 ( const 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 159 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),
}

Definition at line 215 of file thp.c.

ThpDemuxContext
Definition: thp.c:27
thp_probe
static int thp_probe(const AVProbeData *p)
Definition: thp.c:48
thp_read_header
static int thp_read_header(AVFormatContext *s)
Definition: thp.c:62
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:527
read_probe
static int read_probe(const AVProbeData *pd)
Definition: jvdec.c:55
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
thp_read_packet
static int thp_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: thp.c:159
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42