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 "demux.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 FFInputFormat ff_thp_demuxer
 

Function Documentation

◆ thp_probe()

static int thp_probe ( const AVProbeData p)
static

Definition at line 50 of file thp.c.

◆ thp_read_header()

static int thp_read_header ( AVFormatContext s)
static

Definition at line 64 of file thp.c.

◆ thp_read_packet()

static int thp_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 163 of file thp.c.

Variable Documentation

◆ ff_thp_demuxer

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

Definition at line 219 of file thp.c.

ThpDemuxContext
Definition: thp.c:29
thp_probe
static int thp_probe(const AVProbeData *p)
Definition: thp.c:50
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:42
thp_read_header
static int thp_read_header(AVFormatContext *s)
Definition: thp.c:64
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:540
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
thp_read_packet
static int thp_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: thp.c:163
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30