dvdsub_parser.c File Reference
#include <string.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "avcodec.h"
Include dependency graph for dvdsub_parser.c:

Go to the source code of this file.

Data Structures

struct  DVDSubParseContext
 

Typedefs

typedef struct DVDSubParseContext DVDSubParseContext
 

Functions

static av_cold int dvdsub_parse_init (AVCodecParserContext *s)
 
static int dvdsub_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
 
static av_cold void dvdsub_parse_close (AVCodecParserContext *s)
 

Variables

AVCodecParser ff_dvdsub_parser
 

Typedef Documentation

Function Documentation

static int dvdsub_parse ( AVCodecParserContext s,
AVCodecContext avctx,
const uint8_t **  poutbuf,
int *  poutbuf_size,
const uint8_t buf,
int  buf_size 
)
static

Definition at line 40 of file dvdsub_parser.c.

static av_cold void dvdsub_parse_close ( AVCodecParserContext s)
static

Definition at line 76 of file dvdsub_parser.c.

static av_cold int dvdsub_parse_init ( AVCodecParserContext s)
static

Definition at line 35 of file dvdsub_parser.c.

Variable Documentation

AVCodecParser ff_dvdsub_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_DVD_SUBTITLE },
.priv_data_size = sizeof(DVDSubParseContext),
.parser_init = dvdsub_parse_init,
.parser_parse = dvdsub_parse,
.parser_close = dvdsub_parse_close,
}
static int dvdsub_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: dvdsub_parser.c:40
static av_cold int dvdsub_parse_init(AVCodecParserContext *s)
Definition: dvdsub_parser.c:35
struct DVDSubParseContext DVDSubParseContext
static av_cold void dvdsub_parse_close(AVCodecParserContext *s)
Definition: dvdsub_parser.c:76

Definition at line 82 of file dvdsub_parser.c.