FFmpeg
Loading...
Searching...
No Matches
dvdsub_parser.c File Reference
#include <string.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "parser_internal.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 FFCodecParser 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 36 of file dvdsub_parser.c.

◆ dvdsub_parse_close()

static av_cold void dvdsub_parse_close ( AVCodecParserContext * s)
static

Definition at line 82 of file dvdsub_parser.c.

Variable Documentation

◆ ff_dvdsub_parser

const FFCodecParser ff_dvdsub_parser
Initial value:
= {
.priv_data_size = sizeof(DVDSubParseContext),
}
static int parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition apv_parser.c:92
static av_cold void close(AVCodecParserContext *s)
Definition apv_parser.c:197
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)
@ AV_CODEC_ID_DVD_SUBTITLE
Definition codec_id.h:566
#define PARSER_CODEC_LIST(...)

Definition at line 88 of file dvdsub_parser.c.