FFmpeg
Data Structures | Macros | Functions | Variables
dvbsub_parser.c File Reference
#include <inttypes.h>
#include <string.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  DVBSubParseContext
 

Macros

#define PARSE_BUF_SIZE   (65536)
 

Functions

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

Variables

const AVCodecParser ff_dvbsub_parser
 

Macro Definition Documentation

◆ PARSE_BUF_SIZE

#define PARSE_BUF_SIZE   (65536)

Definition at line 31 of file dvbsub_parser.c.

Function Documentation

◆ dvbsub_parse()

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 42 of file dvbsub_parser.c.

Variable Documentation

◆ ff_dvbsub_parser

const AVCodecParser ff_dvbsub_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_DVB_SUBTITLE },
.priv_data_size = sizeof(DVBSubParseContext),
.parser_parse = dvbsub_parse,
}

Definition at line 166 of file dvbsub_parser.c.

AV_CODEC_ID_DVB_SUBTITLE
@ AV_CODEC_ID_DVB_SUBTITLE
Definition: codec_id.h:550
DVBSubParseContext
Definition: dvbsub_parser.c:35
dvbsub_parse
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:42