#include <time.h>
#include "ass.h"
#include "jacosub.h"
#include "libavutil/avstring.h"
#include "libavutil/bprint.h"
Go to the source code of this file.
Enumerations | |
| enum | { ALIGN_VB = 1<<0, ALIGN_VM = 1<<1, ALIGN_VT = 1<<2, ALIGN_JC = 1<<3, ALIGN_JL = 1<<4, ALIGN_JR = 1<<5 } |
Functions | |
| static int | insert_text (AVBPrint *dst, const char *in, const char *arg) |
| static int | insert_datetime (AVBPrint *dst, const char *in, const char *arg) |
| static int | insert_color (AVBPrint *dst, const char *in, const char *arg) |
| static int | insert_font (AVBPrint *dst, const char *in, const char *arg) |
| static void | jacosub_to_ass (AVCodecContext *avctx, AVBPrint *dst, const char *src) |
| static int | jacosub_decode_frame (AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt) |
Variables | |
| struct { | |
| const char * from | |
| const char * arg | |
| int(* func )(AVBPrint *dst, const char *in, const char *arg) | |
| } | ass_codes_map [] |
| AVCodec | ff_jacosub_decoder |
Definition in file jacosubdec.c.
| anonymous enum |
Definition at line 88 of file jacosubdec.c.
| static int insert_color | ( | AVBPrint * | dst, | |
| const char * | in, | |||
| const char * | arg | |||
| ) | [static] |
Definition at line 57 of file jacosubdec.c.
| static int insert_datetime | ( | AVBPrint * | dst, | |
| const char * | in, | |||
| const char * | arg | |||
| ) | [static] |
Definition at line 41 of file jacosubdec.c.
| static int insert_font | ( | AVBPrint * | dst, | |
| const char * | in, | |||
| const char * | arg | |||
| ) | [static] |
Definition at line 62 of file jacosubdec.c.
| static int insert_text | ( | AVBPrint * | dst, | |
| const char * | in, | |||
| const char * | arg | |||
| ) | [static] |
Definition at line 35 of file jacosubdec.c.
| static int jacosub_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | got_sub_ptr, | |||
| AVPacket * | avpkt | |||
| ) | [static] |
Definition at line 168 of file jacosubdec.c.
| static void jacosub_to_ass | ( | AVCodecContext * | avctx, | |
| AVBPrint * | dst, | |||
| const char * | src | |||
| ) | [static] |
| const char* arg |
Definition at line 69 of file jacosubdec.c.
Referenced by bktr_init(), init(), jacosub_to_ass(), new_output_stream(), parse_acl_row(), parse_ffconfig(), and transcode().
struct { ... } ass_codes_map[] [static] |
Referenced by jacosub_to_ass().
Initial value:
{
.name = "jacosub",
.long_name = NULL_IF_CONFIG_SMALL("JACOsub subtitle"),
.type = AVMEDIA_TYPE_SUBTITLE,
.id = CODEC_ID_JACOSUB,
.init = ff_ass_subtitle_header_default,
.decode = jacosub_decode_frame,
}
Definition at line 200 of file jacosubdec.c.
| const char* from |
1.5.8