JACOsub subtitle demuxer.
More...
Go to the source code of this file.
|
static int | timed_line (const char *ptr) |
|
static int | jacosub_probe (AVProbeData *p) |
|
static int | get_jss_cmd (char k) |
|
static int | jacosub_read_close (AVFormatContext *s) |
|
static const char * | read_ts (JACOsubContext *jacosub, const char *buf, int64_t *start, int *duration) |
|
static int | get_shift (int timeres, const char *buf) |
|
static int | jacosub_read_header (AVFormatContext *s) |
|
static int | jacosub_read_packet (AVFormatContext *s, AVPacket *pkt) |
|
static int | jacosub_read_seek (AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) |
|
JACOsub subtitle demuxer.
- See also
- http://unicorn.us.com/jacosub/jscripts.html
- Todo:
- Support P[ALETTE] directive.
Definition in file libavformat/jacosubdec.c.
static int get_jss_cmd |
( |
char |
k | ) |
|
|
static |
static int get_shift |
( |
int |
timeres, |
|
|
const char * |
buf |
|
) |
| |
|
static |
static int jacosub_read_seek |
( |
AVFormatContext * |
s, |
|
|
int |
stream_index, |
|
|
int64_t |
min_ts, |
|
|
int64_t |
ts, |
|
|
int64_t |
max_ts, |
|
|
int |
flags |
|
) |
| |
|
static |
static const char* read_ts |
( |
JACOsubContext * |
jacosub, |
|
|
const char * |
buf, |
|
|
int64_t * |
start, |
|
|
int * |
duration |
|
) |
| |
|
static |
static int timed_line |
( |
const char * |
ptr | ) |
|
|
static |
Initial value:= {
"CLOCKPAUSE",
"DIRECTIVE",
"FONT",
"HRES",
"INCLUDE",
"PALETTE",
"QUANTIZE",
"RAMP",
"SHIFT",
"TIMERES",
}
Definition at line 71 of file libavformat/jacosubdec.c.
Referenced by get_jss_cmd(), and jacosub_read_header().
Initial value:= {
.name = "jacosub",
}
static av_cold int read_close(AVFormatContext *ctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int read_header(FFV1Context *f)
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition at line 261 of file libavformat/jacosubdec.c.