FFmpeg
Loading...
Searching...
No Matches
xwd_parser.c File Reference

XWD parser. More...

#include "libavutil/intreadwrite.h"
#include "parser.h"
#include "parser_internal.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 FFCodecParser 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 39 of file xwd_parser.c.

Variable Documentation

◆ ff_xwd_parser

const FFCodecParser ff_xwd_parser
Initial value:
= {
.priv_data_size = sizeof(XWDParseContext),
}
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
@ AV_CODEC_ID_XWD
Definition codec_id.h:207
av_cold void ff_parse_close(AVCodecParserContext *s)
Definition parser.c:300
#define PARSER_CODEC_LIST(...)
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:39

Definition at line 99 of file xwd_parser.c.