#include "avcodec.h"
#include "bytestream.h"
#include "bmp.h"
Go to the source code of this file.
Defines | |
#define | SIZE_BITMAPFILEHEADER 14 |
#define | SIZE_BITMAPINFOHEADER 40 |
Functions | |
static av_cold int | bmp_encode_init (AVCodecContext *avctx) |
static int | bmp_encode_frame (AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data) |
Variables | |
AVCodec | bmp_encoder |
#define SIZE_BITMAPFILEHEADER 14 |
Referenced by bmp_encode_frame().
#define SIZE_BITMAPINFOHEADER 40 |
Referenced by bmp_encode_frame().
static int bmp_encode_frame | ( | AVCodecContext * | avctx, | |
unsigned char * | buf, | |||
int | buf_size, | |||
void * | data | |||
) | [static] |
static av_cold int bmp_encode_init | ( | AVCodecContext * | avctx | ) | [static] |
Initial value:
{ "bmp", CODEC_TYPE_VIDEO, CODEC_ID_BMP, sizeof(BMPContext), bmp_encode_init, bmp_encode_frame, NULL, .pix_fmts= (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE}, .long_name = NULL_IF_CONFIG_SMALL("BMP image"), }