FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
bmp_parser.c File Reference

BMP parser. More...

#include "libavutil/bswap.h"
#include "parser.h"

Go to the source code of this file.

Data Structures

struct  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.

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,
}

Definition at line 86 of file bmp_parser.c.