libavformat/microdvddec.c File Reference
#include "avformat.h"
#include "internal.h"
#include "subtitles.h"
#include "libavutil/intreadwrite.h"
Include dependency graph for libavformat/microdvddec.c:

Go to the source code of this file.

Data Structures

struct  MicroDVDContext
 

Macros

#define MAX_LINESIZE   2048
 
#define SKIP_FRAME_ID
 

Functions

static int microdvd_probe (AVProbeData *p)
 
static int64_t get_pts (const char *buf)
 
static int get_duration (const char *buf)
 
static int microdvd_read_header (AVFormatContext *s)
 
static int microdvd_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int microdvd_read_seek (AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags)
 
static int microdvd_read_close (AVFormatContext *s)
 

Variables

AVInputFormat ff_microdvd_demuxer
 

Macro Definition Documentation

#define MAX_LINESIZE   2048

Definition at line 28 of file libavformat/microdvddec.c.

Referenced by microdvd_read_header().

#define SKIP_FRAME_ID
Value:
p = strchr(p, '}'); \
if (!p) { \
av_log(s, AV_LOG_WARNING, "Invalid event \"%s\"" \
" at line %d\n", line, i); \
} \
p++
const char * s
Definition: avisynth_c.h:668
#define AV_LOG_WARNING
Something somehow does not look correct.
Definition: log.h:154
initialize output if(nPeaks >3)%at least 3 peaks in spectrum for trying to find f0 nf0peaks
Definition: graph2dot.c:48
void av_log(void *avcl, int level, const char *fmt,...)
Definition: log.c:246
loc<=1||loc >=hN-1 continue()
synthesis window for stochastic i

Referenced by microdvd_read_header().

Function Documentation

static int get_duration ( const char *  buf)
static

Definition at line 65 of file libavformat/microdvddec.c.

Referenced by microdvd_read_header().

static int64_t get_pts ( const char *  buf)
static

Definition at line 55 of file libavformat/microdvddec.c.

Referenced by microdvd_read_header().

static int microdvd_probe ( AVProbeData p)
static

Definition at line 36 of file libavformat/microdvddec.c.

static int microdvd_read_close ( AVFormatContext s)
static

Definition at line 151 of file libavformat/microdvddec.c.

static int microdvd_read_header ( AVFormatContext s)
static

Definition at line 74 of file libavformat/microdvddec.c.

static int microdvd_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 137 of file libavformat/microdvddec.c.

static int microdvd_read_seek ( AVFormatContext s,
int  stream_index,
int64_t  min_ts,
int64_t  ts,
int64_t  max_ts,
int  flags 
)
static

Definition at line 143 of file libavformat/microdvddec.c.

Variable Documentation

AVInputFormat ff_microdvd_demuxer
Initial value:
= {
.name = "microdvd",
.long_name = NULL_IF_CONFIG_SMALL("MicroDVD subtitle format"),
.priv_data_size = sizeof(MicroDVDContext),
.read_seek2 = microdvd_read_seek,
}
static int microdvd_read_seek(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags)
static int microdvd_read_packet(AVFormatContext *s, AVPacket *pkt)
static av_cold int read_close(AVFormatContext *ctx)
Definition: libcdio.c:145
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int microdvd_read_header(AVFormatContext *s)
static int read_probe(AVProbeData *pd)
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:517
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: libcdio.c:114
static int microdvd_read_close(AVFormatContext *s)
static int microdvd_probe(AVProbeData *p)

Definition at line 158 of file libavformat/microdvddec.c.