FFmpeg
|
Libass subtitles burning filter. More...
#include <ass/ass.h>
#include "config.h"
#include "libavutil/avstring.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "drawutils.h"
#include "avfilter.h"
#include "internal.h"
#include "formats.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | AssContext |
Macros | |
#define | OFFSET(x) offsetof(AssContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
#define | COMMON_OPTIONS |
#define | AR(c) ( (c)>>24) |
#define | AG(c) (((c)>>16)&0xFF) |
#define | AB(c) (((c)>>8) &0xFF) |
#define | AA(c) ((0xFF-(c)) &0xFF) |
Functions | |
static void | ass_log (int ass_level, const char *fmt, va_list args, void *ctx) |
static av_cold int | init (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static void | overlay_ass_image (AssContext *ass, AVFrame *picref, const ASS_Image *image) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *picref) |
Variables | |
static const int | ass_libavfilter_log_level_map [] |
static const AVFilterPad | ass_inputs [] |
static const AVFilterPad | ass_outputs [] |
Libass subtitles burning filter.
Definition in file vf_subtitles.c.
#define OFFSET | ( | x | ) | offsetof(AssContext, x) |
Definition at line 63 of file vf_subtitles.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 64 of file vf_subtitles.c.
#define COMMON_OPTIONS |
Definition at line 66 of file vf_subtitles.c.
Definition at line 153 of file vf_subtitles.c.
Referenced by overlay_ass_image().
Definition at line 154 of file vf_subtitles.c.
Referenced by overlay_ass_image().
Definition at line 155 of file vf_subtitles.c.
Referenced by overlay_ass_image().
#define AA | ( | c | ) | ((0xFF-(c)) &0xFF) |
Definition at line 156 of file vf_subtitles.c.
Referenced by overlay_ass_image().
Definition at line 83 of file vf_subtitles.c.
Referenced by init().
|
static |
Definition at line 93 of file vf_subtitles.c.
|
static |
Definition at line 118 of file vf_subtitles.c.
|
static |
Definition at line 130 of file vf_subtitles.c.
|
static |
Definition at line 136 of file vf_subtitles.c.
|
static |
Definition at line 158 of file vf_subtitles.c.
Referenced by filter_frame().
|
static |
Definition at line 173 of file vf_subtitles.c.
|
static |
Definition at line 72 of file vf_subtitles.c.
Referenced by ass_log().
|
static |
Definition at line 191 of file vf_subtitles.c.
|
static |
Definition at line 202 of file vf_subtitles.c.