FFmpeg
Data Structures | Functions | Variables
qoi_parser.c File Reference
#include "parser.h"

Go to the source code of this file.

Data Structures

struct  QOIParseContext
 

Functions

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

Variables

const AVCodecParser ff_qoi_parser
 

Detailed Description

QOI parser

Definition in file qoi_parser.c.

Function Documentation

◆ qoi_parse()

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

Definition at line 33 of file qoi_parser.c.

Variable Documentation

◆ ff_qoi_parser

const AVCodecParser ff_qoi_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_QOI },
.priv_data_size = sizeof(QOIParseContext),
.parser_parse = qoi_parse,
.parser_close = ff_parse_close,
}

Definition at line 72 of file qoi_parser.c.

ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:290
qoi_parse
static int qoi_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: qoi_parser.c:33
AV_CODEC_ID_QOI
@ AV_CODEC_ID_QOI
Definition: codec_id.h:314
QOIParseContext
Definition: qoi_parser.c:29