FFmpeg
|
#include "config_components.h"
#include <stdarg.h>
#include "avcodec.h"
#include "libavutil/bprint.h"
#include "ass_split.h"
#include "ass.h"
#include "codec_internal.h"
Go to the source code of this file.
Data Structures | |
struct | SRTContext |
Macros | |
#define | SRT_STACK_SIZE 64 |
Functions | |
static | av_printf_format (2, 3) |
static int | srt_stack_push (SRTContext *s, const char c) |
static char | srt_stack_pop (SRTContext *s) |
static int | srt_stack_find (SRTContext *s, const char c) |
static void | srt_close_tag (SRTContext *s, char tag) |
static void | srt_stack_push_pop (SRTContext *s, const char c, int close) |
static void | srt_style_apply (SRTContext *s, const char *style) |
static av_cold int | srt_encode_init (AVCodecContext *avctx) |
static void | srt_text_cb (void *priv, const char *text, int len) |
static void | srt_new_line_cb (void *priv, int forced) |
static void | srt_style_cb (void *priv, char style, int close) |
static void | srt_color_cb (void *priv, unsigned int color, unsigned int color_id) |
static void | srt_font_name_cb (void *priv, const char *name) |
static void | srt_font_size_cb (void *priv, int size) |
static void | srt_alignment_cb (void *priv, int alignment) |
static void | srt_cancel_overrides_cb (void *priv, const char *style) |
static void | srt_move_cb (void *priv, int x1, int y1, int x2, int y2, int t1, int t2) |
static void | srt_end_cb (void *priv) |
static int | encode_frame (AVCodecContext *avctx, unsigned char *buf, int bufsize, const AVSubtitle *sub, const ASSCodesCallbacks *cb) |
static int | srt_encode_frame (AVCodecContext *avctx, unsigned char *buf, int bufsize, const AVSubtitle *sub) |
static int | text_encode_frame (AVCodecContext *avctx, unsigned char *buf, int bufsize, const AVSubtitle *sub) |
static int | srt_encode_close (AVCodecContext *avctx) |
Variables | |
static const ASSCodesCallbacks | srt_callbacks |
static const ASSCodesCallbacks | text_callbacks |
|
static |
Definition at line 52 of file srtenc.c.
Referenced by srt_stack_push_pop(), and srt_style_apply().
|
static |
Definition at line 60 of file srtenc.c.
Referenced by srt_stack_push_pop().
|
static |
Definition at line 67 of file srtenc.c.
Referenced by srt_stack_push_pop().
|
static |
Definition at line 76 of file srtenc.c.
Referenced by srt_stack_push_pop().
|
static |
Definition at line 81 of file srtenc.c.
Referenced by srt_cancel_overrides_cb(), srt_color_cb(), srt_end_cb(), srt_font_name_cb(), srt_font_size_cb(), and srt_style_cb().
|
static |
Definition at line 93 of file srtenc.c.
Referenced by encode_frame(), and srt_cancel_overrides_cb().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 227 of file srtenc.c.
Referenced by srt_encode_frame(), and text_encode_frame().
|
static |
|
static |
|
static |
|
static |
Definition at line 209 of file srtenc.c.
Referenced by srt_encode_frame().
|
static |
Definition at line 222 of file srtenc.c.
Referenced by text_encode_frame().