bmp_parser.c File Reference

BMP parser. More...

#include "libavutil/bswap.h"
#include "parser.h"
Include dependency graph for bmp_parser.c:

Go to the source code of this file.

Data Structures

struct  BMPParseContext
 

Typedefs

typedef struct BMPParseContext BMPParseContext
 

Functions

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

Variables

AVCodecParser ff_bmp_parser
 

Detailed Description

BMP parser.

Definition in file bmp_parser.c.

Typedef Documentation

Function Documentation

static int bmp_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 bmp_parser.c.

Variable Documentation

AVCodecParser ff_bmp_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_BMP },
.priv_data_size = sizeof(BMPParseContext),
.parser_parse = bmp_parse,
.parser_close = ff_parse_close,
}
struct BMPParseContext BMPParseContext
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:279
static int bmp_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: bmp_parser.c:36

Definition at line 86 of file bmp_parser.c.