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, int64_t *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 jacosubdec.c.
◆ SSEP
◆ timed_line()
static int timed_line |
( |
const char * |
ptr | ) |
|
|
static |
◆ jacosub_probe()
◆ get_jss_cmd()
static int get_jss_cmd |
( |
char |
k | ) |
|
|
static |
◆ jacosub_read_close()
◆ read_ts()
static const char* read_ts |
( |
JACOsubContext * |
jacosub, |
|
|
const char * |
buf, |
|
|
int64_t * |
start, |
|
|
int64_t * |
duration |
|
) |
| |
|
static |
◆ get_shift()
static int get_shift |
( |
int |
timeres, |
|
|
const char * |
buf |
|
) |
| |
|
static |
◆ jacosub_read_header()
◆ jacosub_read_packet()
◆ jacosub_read_seek()
static int jacosub_read_seek |
( |
AVFormatContext * |
s, |
|
|
int |
stream_index, |
|
|
int64_t |
min_ts, |
|
|
int64_t |
ts, |
|
|
int64_t |
max_ts, |
|
|
int |
flags |
|
) |
| |
|
static |
◆ cmds
Initial value:= {
"CLOCKPAUSE",
"DIRECTIVE",
"FONT",
"HRES",
"INCLUDE",
"PALETTE",
"QUANTIZE",
"RAMP",
"SHIFT",
"TIMERES",
}
Definition at line 72 of file jacosubdec.c.
Referenced by decode_byterun2(), get_jss_cmd(), and jacosub_read_header().
◆ ff_jacosub_demuxer
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(void *opaque, uint8_t *buf, int buf_size)
Definition at line 265 of file jacosubdec.c.