FFmpeg
Functions
srtdec.c File Reference
#include "config_components.h"
#include "libavutil/avstring.h"
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/parseutils.h"
#include "avcodec.h"
#include "ass.h"
#include "codec_internal.h"
#include "htmlsubtitles.h"

Go to the source code of this file.

Functions

static int srt_to_ass (AVCodecContext *avctx, AVBPrint *dst, const char *in, int x1, int y1, int x2, int y2)
 
static int srt_decode_frame (AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, const AVPacket *avpkt)
 

Function Documentation

◆ srt_to_ass()

static int srt_to_ass ( AVCodecContext avctx,
AVBPrint *  dst,
const char *  in,
int  x1,
int  y1,
int  x2,
int  y2 
)
static

Definition at line 33 of file srtdec.c.

Referenced by srt_decode_frame().

◆ srt_decode_frame()

static int srt_decode_frame ( AVCodecContext avctx,
AVSubtitle sub,
int got_sub_ptr,
const AVPacket avpkt 
)
static

Definition at line 58 of file srtdec.c.