FFmpeg
Data Structures | Functions | Variables
dhav.c File Reference
#include "libavutil/parseutils.h"
#include "avio_internal.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  DHAVContext
 
struct  DHAVStream
 

Functions

static int dhav_probe (const AVProbeData *p)
 
static int dhav_read_header (AVFormatContext *s)
 
static int64_t get_pts (AVFormatContext *s, DHAVStream *st)
 
static int parse_ext (AVFormatContext *s, int length)
 
static int read_chunk (AVFormatContext *s)
 
static int dhav_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int dhav_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
 

Variables

static const uint32_t sample_rates []
 
AVInputFormat ff_dhav_demuxer
 

Function Documentation

static int dhav_probe ( const AVProbeData p)
static

Definition at line 52 of file dhav.c.

static int dhav_read_header ( AVFormatContext s)
static

Definition at line 68 of file dhav.c.

static int64_t get_pts ( AVFormatContext s,
DHAVStream st 
)
static

Definition at line 87 of file dhav.c.

Referenced by dhav_read_packet().

static int parse_ext ( AVFormatContext s,
int  length 
)
static

Definition at line 129 of file dhav.c.

Referenced by read_chunk().

static int read_chunk ( AVFormatContext s)
static

Definition at line 215 of file dhav.c.

Referenced by dhav_read_packet(), and mpjpeg_read_packet().

static int dhav_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 258 of file dhav.c.

static int dhav_read_seek ( AVFormatContext s,
int  stream_index,
int64_t  timestamp,
int  flags 
)
static

Definition at line 349 of file dhav.c.

Variable Documentation

const uint32_t sample_rates[]
static
Initial value:
= {
8000, 4000, 8000, 11025, 16000,
20000, 22050, 32000, 44100, 48000,
96000, 192000, 64000,
}

Definition at line 123 of file dhav.c.

Referenced by parse_ext().

AVInputFormat ff_dhav_demuxer
Initial value:
= {
.name = "dhav",
.long_name = NULL_IF_CONFIG_SMALL("Video DAV"),
.priv_data_size = sizeof(DHAVContext),
.extensions = "dav",
}
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:153
static int dhav_read_header(AVFormatContext *s)
Definition: dhav.c:68
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int dhav_probe(const AVProbeData *p)
Definition: dhav.c:52
static int dhav_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: dhav.c:258
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:530
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
static int dhav_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: dhav.c:349
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:468
#define flags(name, subs,...)
Definition: cbs_av1.c:561
static int read_probe(const AVProbeData *pd)
Definition: jvdec.c:55
#define AVFMT_NO_BYTE_SEEK
Format does not allow seeking by bytes.
Definition: avformat.h:475

Definition at line 374 of file dhav.c.