#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) |
|
◆ WEBVTT_STACK_SIZE
#define WEBVTT_STACK_SIZE 64 |
◆ webvtt_print()
static void webvtt_print |
( |
WebVTTContext * |
s, |
|
|
const char * |
str, |
|
|
|
... |
|
) |
| |
|
static |
◆ webvtt_stack_push()
◆ webvtt_stack_pop()
◆ webvtt_stack_find()
◆ webvtt_close_tag()
◆ webvtt_stack_push_pop()
static void webvtt_stack_push_pop |
( |
WebVTTContext * |
s, |
|
|
const char |
c, |
|
|
int |
close |
|
) |
| |
|
static |
◆ webvtt_style_apply()
static void webvtt_style_apply |
( |
WebVTTContext * |
s, |
|
|
const char * |
style |
|
) |
| |
|
static |
◆ webvtt_text_cb()
static void webvtt_text_cb |
( |
void * |
priv, |
|
|
const char * |
text, |
|
|
int |
len |
|
) |
| |
|
static |
◆ webvtt_new_line_cb()
static void webvtt_new_line_cb |
( |
void * |
priv, |
|
|
int |
forced |
|
) |
| |
|
static |
◆ webvtt_style_cb()
static void webvtt_style_cb |
( |
void * |
priv, |
|
|
char |
style, |
|
|
int |
close |
|
) |
| |
|
static |
◆ webvtt_cancel_overrides_cb()
static void webvtt_cancel_overrides_cb |
( |
void * |
priv, |
|
|
const char * |
style |
|
) |
| |
|
static |
◆ webvtt_end_cb()
static void webvtt_end_cb |
( |
void * |
priv | ) |
|
|
static |
◆ webvtt_encode_frame()
◆ webvtt_encode_close()
◆ webvtt_encode_init()
◆ webvtt_callbacks
◆ ff_webvtt_encoder