FFmpeg
Data Structures | Functions | Variables
bmp_parser.c File Reference
#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

◆ bmp_parse()

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

◆ ff_bmp_parser

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 108 of file bmp_parser.c.

ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:319
bmp_parse
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
AV_CODEC_ID_BMP
@ AV_CODEC_ID_BMP
Definition: codec_id.h:127
BMPParseContext
Definition: bmp_parser.c:32