FFmpeg
Data Structures | Functions | Variables
thp.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/intfloat.h"
#include "avformat.h"
#include "avio_internal.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

const AVInputFormat ff_thp_demuxer
 

Function Documentation

◆ thp_probe()

static int thp_probe ( const AVProbeData p)
static

Definition at line 49 of file thp.c.

◆ thp_read_header()

static int thp_read_header ( AVFormatContext s)
static

Definition at line 63 of file thp.c.

◆ thp_read_packet()

static int thp_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 162 of file thp.c.

Variable Documentation

◆ ff_thp_demuxer

const AVInputFormat ff_thp_demuxer
Initial value:
= {
.name = "thp",
.long_name = NULL_IF_CONFIG_SMALL("THP"),
.priv_data_size = sizeof(ThpDemuxContext),
}

Definition at line 218 of file thp.c.

ThpDemuxContext
Definition: thp.c:28
thp_probe
static int thp_probe(const AVProbeData *p)
Definition: thp.c:49
thp_read_header
static int thp_read_header(AVFormatContext *s)
Definition: thp.c:63
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:162
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42