FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
assenc.c File Reference
#include <string.h>
#include "avcodec.h"
#include "ass_split.h"
#include "ass.h"
#include "libavutil/avstring.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"

Go to the source code of this file.

Data Structures

struct  ASSEncodeContext
 

Macros

#define SKIP_ENTRY(ptr)
 

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)
 

Macro Definition Documentation

#define SKIP_ENTRY (   ptr)
Value:
do { \
char *sep = strchr(ptr, ','); \
if (sep) \
ptr = sep + 1; \
} while (0)
if(ret< 0)
Definition: vf_mcdeint.c:280

Referenced by ass_encode_frame().

Function Documentation

static av_cold int ass_encode_init ( AVCodecContext avctx)
static

Definition at line 35 of file assenc.c.

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

Definition at line 46 of file assenc.c.