FFmpeg
|
#include "libavutil/avstring.h"
#include "libavutil/parseutils.h"
#include "libavutil/bprint.h"
#include "avcodec.h"
#include "ass.h"
#include "codec_internal.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, AVSubtitle *sub, int *got_sub_ptr, const AVPacket *avpkt) |
static int | microdvd_init (AVCodecContext *avctx) |
Variables | |
const FFCodec | 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 51 of file microdvddec.c.
#define MICRODVD_PERSISTENT_ON 1 |
Definition at line 52 of file microdvddec.c.
#define MICRODVD_PERSISTENT_OPENED 2 |
Definition at line 53 of file microdvddec.c.
#define MICRODVD_TAGS "cfshyYpo" |
Definition at line 56 of file microdvddec.c.
#define MICRODVD_STYLES "ibus" |
Definition at line 68 of file microdvddec.c.
Definition at line 36 of file microdvddec.c.
Referenced by check_for_italic_slash_marker(), microdvd_load_tags(), and microdvd_set_tag().
|
static |
Definition at line 58 of file microdvddec.c.
Referenced by check_for_italic_slash_marker(), and microdvd_load_tags().
|
static |
Definition at line 72 of file microdvddec.c.
Referenced by microdvd_load_tags().
|
static |
Definition at line 84 of file microdvddec.c.
Referenced by microdvd_decode_frame(), and microdvd_init().
|
static |
Definition at line 203 of file microdvddec.c.
Referenced by microdvd_decode_frame().
|
static |
Definition at line 245 of file microdvddec.c.
Referenced by microdvd_decode_frame().
|
static |
Definition at line 277 of file microdvddec.c.
|
static |
Definition at line 322 of file microdvddec.c.
const FFCodec ff_microdvd_decoder |
Definition at line 371 of file microdvddec.c.