FFmpeg
4.0
|
MicroDVD subtitle decoder. More...
#include "libavutil/avstring.h"
#include "libavutil/parseutils.h"
#include "libavutil/bprint.h"
#include "avcodec.h"
#include "ass.h"
Go to the source code of this file.
Data Structures | |
struct | microdvd_tag |
Macros | |
#define | MICRODVD_PERSISTENT_OFF 0 |
#define | MICRODVD_PERSISTENT_ON 1 |
#define | MICRODVD_PERSISTENT_OPENED 2 |
#define | MICRODVD_TAGS "cfshyYpo" |
#define | MICRODVD_STYLES "ibus" |
Functions | |
static int | indexof (const char *s, int c) |
static void | microdvd_set_tag (struct microdvd_tag *tags, struct microdvd_tag tag) |
static char * | check_for_italic_slash_marker (struct microdvd_tag *tags, char *s) |
static char * | microdvd_load_tags (struct microdvd_tag *tags, char *s) |
static void | microdvd_open_tags (AVBPrint *new_line, struct microdvd_tag *tags) |
static void | microdvd_close_no_persistent_tags (AVBPrint *new_line, struct microdvd_tag *tags) |
static int | microdvd_decode_frame (AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt) |
static int | microdvd_init (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_microdvd_decoder |
MicroDVD subtitle decoder.
Based on the specifications found here: https://trac.videolan.org/vlc/ticket/1825#comment:6
Definition in file microdvddec.c.
#define MICRODVD_PERSISTENT_OFF 0 |
Definition at line 50 of file microdvddec.c.
Referenced by microdvd_close_no_persistent_tags().
#define MICRODVD_PERSISTENT_ON 1 |
Definition at line 51 of file microdvddec.c.
Referenced by microdvd_load_tags(), and microdvd_open_tags().
#define MICRODVD_PERSISTENT_OPENED 2 |
Definition at line 52 of file microdvddec.c.
Referenced by microdvd_open_tags().
#define MICRODVD_TAGS "cfshyYpo" |
Definition at line 55 of file microdvddec.c.
Referenced by check_for_italic_slash_marker(), microdvd_close_no_persistent_tags(), microdvd_init(), microdvd_open_tags(), and microdvd_set_tag().
#define MICRODVD_STYLES "ibus" |
Definition at line 67 of file microdvddec.c.
Referenced by microdvd_close_no_persistent_tags(), microdvd_init(), microdvd_load_tags(), and microdvd_open_tags().
Definition at line 35 of file microdvddec.c.
Referenced by check_for_italic_slash_marker(), microdvd_load_tags(), and microdvd_set_tag().
|
static |
Definition at line 57 of file microdvddec.c.
Referenced by check_for_italic_slash_marker(), and microdvd_load_tags().
|
static |
Definition at line 71 of file microdvddec.c.
Referenced by microdvd_load_tags().
|
static |
Definition at line 83 of file microdvddec.c.
Referenced by microdvd_decode_frame(), and microdvd_init().
|
static |
Definition at line 202 of file microdvddec.c.
Referenced by microdvd_decode_frame().
|
static |
Definition at line 244 of file microdvddec.c.
Referenced by microdvd_decode_frame().
|
static |
Definition at line 276 of file microdvddec.c.
|
static |
Definition at line 322 of file microdvddec.c.
AVCodec ff_microdvd_decoder |
Definition at line 371 of file microdvddec.c.