FFmpeg
Data Structures | Functions | Variables
xwd_parser.c File Reference
#include "libavutil/intreadwrite.h"
#include "parser.h"
#include "xwd.h"

Go to the source code of this file.

Data Structures

struct  XWDParseContext
 

Functions

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

Variables

const AVCodecParser ff_xwd_parser
 

Detailed Description

XWD parser

Definition in file xwd_parser.c.

Function Documentation

◆ xwd_parse()

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

Definition at line 38 of file xwd_parser.c.

Variable Documentation

◆ ff_xwd_parser

const AVCodecParser ff_xwd_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_XWD },
.priv_data_size = sizeof(XWDParseContext),
.parser_parse = xwd_parse,
.parser_close = ff_parse_close,
}

Definition at line 98 of file xwd_parser.c.

ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:289
AV_CODEC_ID_XWD
@ AV_CODEC_ID_XWD
Definition: codec_id.h:210
xwd_parse
static int xwd_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: xwd_parser.c:38
XWDParseContext
Definition: xwd_parser.c:31