FFmpeg
|
libavformat/srtdec.c File Reference
#include "avformat.h"
#include "internal.h"
#include "subtitles.h"
#include "libavutil/bprint.h"
#include "libavutil/intreadwrite.h"
Include dependency graph for libavformat/srtdec.c:
Go to the source code of this file.
Data Structures | |
struct | SRTContext |
Functions | |
static int | srt_probe (AVProbeData *p) |
static int64_t | get_pts (const char **buf, int *duration, int32_t *x1, int32_t *y1, int32_t *x2, int32_t *y2) |
static int | srt_read_header (AVFormatContext *s) |
static int | srt_read_packet (AVFormatContext *s, AVPacket *pkt) |
static int | srt_read_seek (AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) |
static int | srt_read_close (AVFormatContext *s) |
Variables | |
AVInputFormat | ff_srt_demuxer |
Function Documentation
|
static |
Definition at line 50 of file libavformat/srtdec.c.
Referenced by srt_read_header().
|
static |
Definition at line 32 of file libavformat/srtdec.c.
|
static |
Definition at line 147 of file libavformat/srtdec.c.
|
static |
Definition at line 74 of file libavformat/srtdec.c.
|
static |
Definition at line 133 of file libavformat/srtdec.c.
|
static |
Definition at line 139 of file libavformat/srtdec.c.
Variable Documentation
AVInputFormat ff_srt_demuxer |
Initial value:
= {
.name = "srt",
.long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"),
.priv_data_size = sizeof(SRTContext),
.read_probe = srt_probe,
.read_seek2 = srt_read_seek,
}
struct SRTContext SRTContext
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
static int srt_read_seek(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags)
Definition: libavformat/srtdec.c:139
static int srt_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: libavformat/srtdec.c:133
Definition at line 154 of file libavformat/srtdec.c.
Generated on Fri Dec 20 2024 06:56:15 for FFmpeg by 1.8.11