FFmpeg
Functions | Variables
qoadec.c File Reference
#include "avformat.h"
#include "avio_internal.h"
#include "demux.h"
#include "internal.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Functions

static int qoa_probe (const AVProbeData *p)
 
static int qoa_read_header (AVFormatContext *s)
 
static int qoa_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_qoa_demuxer
 

Function Documentation

◆ qoa_probe()

static int qoa_probe ( const AVProbeData p)
static

Definition at line 27 of file qoadec.c.

◆ qoa_read_header()

static int qoa_read_header ( AVFormatContext s)
static

Definition at line 40 of file qoadec.c.

◆ qoa_read_packet()

static int qoa_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 74 of file qoadec.c.

Variable Documentation

◆ ff_qoa_demuxer

const FFInputFormat ff_qoa_demuxer
Initial value:
= {
.p.name = "qoa",
.p.long_name = NULL_IF_CONFIG_SMALL("QOA"),
.p.flags = AVFMT_GENERIC_INDEX,
.p.extensions = "qoa",
.read_probe = qoa_probe,
.read_header = qoa_read_header,
.read_packet = qoa_read_packet,
}

Definition at line 106 of file qoadec.c.

qoa_read_packet
static int qoa_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: qoadec.c:74
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
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
qoa_read_header
static int qoa_read_header(AVFormatContext *s)
Definition: qoadec.c:40
qoa_probe
static int qoa_probe(const AVProbeData *p)
Definition: qoadec.c:27