Libav
Functions | Variables
assenc.c File Reference
#include <string.h>
#include "avcodec.h"
#include "libavutil/avstring.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"

Go to the source code of this file.

Functions

static av_cold int ass_encode_init (AVCodecContext *avctx)
 
static int ass_encode_frame (AVCodecContext *avctx, unsigned char *buf, int bufsize, const AVSubtitle *sub)
 

Variables

AVCodec ff_ass_encoder
 

Function Documentation

static av_cold int ass_encode_init ( AVCodecContext avctx)
static

Definition at line 29 of file assenc.c.

static int ass_encode_frame ( AVCodecContext avctx,
unsigned char *  buf,
int  bufsize,
const AVSubtitle sub 
)
static

Definition at line 39 of file assenc.c.

Variable Documentation

AVCodec ff_ass_encoder
Initial value:
= {
.name = "ass",
.long_name = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) subtitle"),
.init = ass_encode_init,
.encode_sub = ass_encode_frame,
}
static int ass_encode_frame(AVCodecContext *avctx, unsigned char *buf, int bufsize, const AVSubtitle *sub)
Definition: assenc.c:39
static av_cold int ass_encode_init(AVCodecContext *avctx)
Definition: assenc.c:29
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:150

Definition at line 64 of file assenc.c.