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

Go to the source code of this file.

Functions

static int osq_probe (const AVProbeData *p)
 
static int osq_read_header (AVFormatContext *s)
 

Variables

const FFInputFormat ff_osq_demuxer
 

Function Documentation

◆ osq_probe()

static int osq_probe ( const AVProbeData p)
static

Definition at line 29 of file osq.c.

◆ osq_read_header()

static int osq_read_header ( AVFormatContext s)
static

Definition at line 49 of file osq.c.

Variable Documentation

◆ ff_osq_demuxer

const FFInputFormat ff_osq_demuxer
Initial value:
= {
.p.name = "osq",
.p.long_name = NULL_IF_CONFIG_SMALL("raw OSQ"),
.p.extensions = "osq",
.p.priv_class = &ff_raw_demuxer_class,
.read_probe = osq_probe,
.read_header = osq_read_header,
.raw_codec_id = AV_CODEC_ID_OSQ,
.priv_data_size = sizeof(FFRawDemuxerContext),
}

Definition at line 107 of file osq.c.

AVFMT_NO_BYTE_SEEK
#define AVFMT_NO_BYTE_SEEK
Format does not allow seeking by bytes.
Definition: avformat.h:487
AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:479
AVFMT_NOBINSEARCH
#define AVFMT_NOBINSEARCH
Format does not allow to fall back on binary search via read_timestamp.
Definition: avformat.h:485
FFRawDemuxerContext
Definition: rawdec.h:37
ff_raw_read_partial_packet
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawdec.c:33
ff_raw_demuxer_class
const AVClass ff_raw_demuxer_class
Definition: rawdec.c:141
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:106
osq_read_header
static int osq_read_header(AVFormatContext *s)
Definition: osq.c:49
osq_probe
static int osq_probe(const AVProbeData *p)
Definition: osq.c:29
AVFMT_NOGENSEARCH
#define AVFMT_NOGENSEARCH
Format does not allow to fall back on generic search.
Definition: avformat.h:486
AV_CODEC_ID_OSQ
@ AV_CODEC_ID_OSQ
Definition: codec_id.h:544