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 "libavutil/common.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 38 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,
}
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:319
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:38

Definition at line 99 of file bmp_parser.c.