FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
dvdsub_parser.c File Reference
#include <string.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  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
 

Function Documentation

static av_cold int dvdsub_parse_init ( AVCodecParserContext s)
static

Definition at line 35 of file dvdsub_parser.c.

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.

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,
}

Definition at line 82 of file dvdsub_parser.c.