libavcodec/bmpenc.c File Reference

#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "bytestream.h"
#include "bmp.h"

Go to the source code of this file.




static av_cold int bmp_encode_init (AVCodecContext *avctx)
static int bmp_encode_frame (AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data)


static const uint32_t monoblack_pal [] = { 0x000000, 0xFFFFFF }
static const uint32_t rgb565_masks [] = { 0xF800, 0x07E0, 0x001F }
AVCodec ff_bmp_encoder

Define Documentation


Referenced by bmp_encode_frame().


Referenced by bmp_encode_frame().

Function Documentation

static int bmp_encode_frame ( AVCodecContext avctx,
unsigned char *  buf,
int  buf_size,
void *  data 
) [static]

Definition at line 66 of file bmpenc.c.

static av_cold int bmp_encode_init ( AVCodecContext avctx  )  [static]

Definition at line 31 of file bmpenc.c.

Variable Documentation

const uint32_t monoblack_pal[] = { 0x000000, 0xFFFFFF } [static]

Definition at line 28 of file bmpenc.c.

Referenced by bmp_encode_frame(), and pcx_encode_frame().

const uint32_t rgb565_masks[] = { 0xF800, 0x07E0, 0x001F } [static]

Definition at line 29 of file bmpenc.c.

Referenced by bmp_encode_frame().

Generated on Fri Oct 26 02:39:44 2012 for FFmpeg by  doxygen 1.5.8