#include <stdarg.h>
#include "avcodec.h"
#include "libavutil/avstring.h"
#include "libavutil/bprint.h"
#include "ass_split.h"
#include "ass.h"
Go to the source code of this file.
|
static void | webvtt_print (WebVTTContext *s, const char *str,...) |
|
static int | webvtt_stack_push (WebVTTContext *s, const char c) |
|
static char | webvtt_stack_pop (WebVTTContext *s) |
|
static int | webvtt_stack_find (WebVTTContext *s, const char c) |
|
static void | webvtt_close_tag (WebVTTContext *s, char tag) |
|
static void | webvtt_stack_push_pop (WebVTTContext *s, const char c, int close) |
|
static void | webvtt_style_apply (WebVTTContext *s, const char *style) |
|
static void | webvtt_text_cb (void *priv, const char *text, int len) |
|
static void | webvtt_new_line_cb (void *priv, int forced) |
|
static void | webvtt_style_cb (void *priv, char style, int close) |
|
static void | webvtt_cancel_overrides_cb (void *priv, const char *style) |
|
static void | webvtt_end_cb (void *priv) |
|
static int | webvtt_encode_frame (AVCodecContext *avctx, unsigned char *buf, int bufsize, const AVSubtitle *sub) |
|
static int | webvtt_encode_close (AVCodecContext *avctx) |
|
static av_cold int | webvtt_encode_init (AVCodecContext *avctx) |
|
#define WEBVTT_STACK_SIZE 64 |
static void webvtt_text_cb |
( |
void * |
priv, |
|
|
const char * |
text, |
|
|
int |
len |
|
) |
| |
|
static |
static void webvtt_new_line_cb |
( |
void * |
priv, |
|
|
int |
forced |
|
) |
| |
|
static |
static void webvtt_style_cb |
( |
void * |
priv, |
|
|
char |
style, |
|
|
int |
close |
|
) |
| |
|
static |
static void webvtt_cancel_overrides_cb |
( |
void * |
priv, |
|
|
const char * |
style |
|
) |
| |
|
static |
static void webvtt_end_cb |
( |
void * |
priv | ) |
|
|
static |