FFmpeg
Loading...
Searching...
No Matches
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),
}
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int read_probe(const AVProbeData *p)
Definition cdg.c:30
static int read_header(FFV1Context *f, RangeCoder *c)
Definition ffv1dec.c:578
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition internal.h:88
static int thp_read_header(AVFormatContext *s)
Definition thp.c:64
static int thp_probe(const AVProbeData *p)
Definition thp.c:50
static int thp_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition thp.c:163

Definition at line 219 of file thp.c.