dvbsub_parser.c File Reference
#include "avcodec.h"
#include "get_bits.h"
Include dependency graph for dvbsub_parser.c:

Go to the source code of this file.

Data Structures

struct  DVBSubParseContext
 

Macros

#define PARSE_BUF_SIZE   (65536)
 

Typedefs

typedef struct DVBSubParseContext DVBSubParseContext
 

Functions

static av_cold int dvbsub_parse_init (AVCodecParserContext *s)
 
static int dvbsub_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
 
static av_cold void dvbsub_parse_close (AVCodecParserContext *s)
 

Variables

AVCodecParser ff_dvbsub_parser
 

Macro Definition Documentation

#define PARSE_BUF_SIZE   (65536)

Definition at line 26 of file dvbsub_parser.c.

Referenced by dvbsub_parse(), and dvbsub_parse_init().

Typedef Documentation

Function Documentation

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

Definition at line 45 of file dvbsub_parser.c.

static av_cold void dvbsub_parse_close ( AVCodecParserContext s)
static

Definition at line 167 of file dvbsub_parser.c.

static av_cold int dvbsub_parse_init ( AVCodecParserContext s)
static

Definition at line 37 of file dvbsub_parser.c.

Variable Documentation

AVCodecParser ff_dvbsub_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_DVB_SUBTITLE },
.priv_data_size = sizeof(DVBSubParseContext),
.parser_init = dvbsub_parse_init,
.parser_parse = dvbsub_parse,
.parser_close = dvbsub_parse_close,
}
static av_cold void dvbsub_parse_close(AVCodecParserContext *s)
static av_cold int dvbsub_parse_init(AVCodecParserContext *s)
Definition: dvbsub_parser.c:37
static int dvbsub_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: dvbsub_parser.c:45
struct DVBSubParseContext DVBSubParseContext

Definition at line 173 of file dvbsub_parser.c.