#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 |
Defines | |
| #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 * | 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 |
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 |
| #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 |
| #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().
| #define MICRODVD_TAGS "cfshyYpo" |
Definition at line 55 of file microdvddec.c.
Referenced by microdvd_close_no_persistent_tags(), microdvd_open_tags(), and microdvd_set_tag().
Definition at line 35 of file microdvddec.c.
Referenced by microdvd_load_tags(), and microdvd_set_tag().
| static void microdvd_close_no_persistent_tags | ( | AVBPrint * | new_line, | |
| struct microdvd_tag * | tags | |||
| ) | [static] |
| static int microdvd_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | got_sub_ptr, | |||
| AVPacket * | avpkt | |||
| ) | [static] |
Definition at line 258 of file microdvddec.c.
| static int microdvd_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 314 of file microdvddec.c.
| static char* microdvd_load_tags | ( | struct microdvd_tag * | tags, | |
| char * | s | |||
| ) | [static] |
Definition at line 69 of file microdvddec.c.
Referenced by microdvd_decode_frame(), and microdvd_init().
| static void microdvd_open_tags | ( | AVBPrint * | new_line, | |
| struct microdvd_tag * | tags | |||
| ) | [static] |
| static void microdvd_set_tag | ( | struct microdvd_tag * | tags, | |
| struct microdvd_tag | tag | |||
| ) | [static] |
Initial value:
{
.name = "microdvd",
.long_name = NULL_IF_CONFIG_SMALL("MicroDVD subtitle"),
.type = AVMEDIA_TYPE_SUBTITLE,
.id = AV_CODEC_ID_MICRODVD,
.init = microdvd_init,
.decode = microdvd_decode_frame,
}
Definition at line 362 of file microdvddec.c.
1.5.8