libavcodec/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 int ass_encode_frame ( AVCodecContext avctx,
unsigned char *  buf,
int  bufsize,
const AVSubtitle sub 
) [static]

Definition at line 39 of file assenc.c.

static av_cold int ass_encode_init ( AVCodecContext avctx  )  [static]

Definition at line 29 of file assenc.c.


Variable Documentation

Initial value:

 {
    .name         = "ass",
    .long_name    = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) subtitle"),
    .type         = AVMEDIA_TYPE_SUBTITLE,
    .id           = AV_CODEC_ID_SSA,
    .init         = ass_encode_init,
    .encode_sub   = ass_encode_frame,
}

Definition at line 64 of file assenc.c.


Generated on Fri Oct 26 02:50:04 2012 for FFmpeg by  doxygen 1.5.8