FFmpeg
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 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

const AVCodecParser ff_dvdsub_parser
 

Function Documentation

◆ dvdsub_parse()

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 35 of file dvdsub_parser.c.

◆ dvdsub_parse_close()

static av_cold void dvdsub_parse_close ( AVCodecParserContext s)
static

Definition at line 81 of file dvdsub_parser.c.

Variable Documentation

◆ ff_dvdsub_parser

const AVCodecParser ff_dvdsub_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_DVD_SUBTITLE },
.priv_data_size = sizeof(DVDSubParseContext),
.parser_parse = dvdsub_parse,
.parser_close = dvdsub_parse_close,
}

Definition at line 87 of file dvdsub_parser.c.

dvdsub_parse
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:35
AV_CODEC_ID_DVD_SUBTITLE
@ AV_CODEC_ID_DVD_SUBTITLE
Definition: codec_id.h:549
dvdsub_parse_close
static av_cold void dvdsub_parse_close(AVCodecParserContext *s)
Definition: dvdsub_parser.c:81
DVDSubParseContext
Definition: dvdsub_parser.c:29