libavcodec/xwdenc.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "bytestream.h"
#include "xwd.h"
Go to the source code of this file.
Define Documentation
#define WINDOW_NAME "lavcxwdenc" |
#define WINDOW_NAME_SIZE 11 |
Function Documentation
static av_cold int xwd_encode_close |
( |
AVCodecContext * |
avctx |
) |
[static] |
static int xwd_encode_frame |
( |
AVCodecContext * |
avctx, |
|
|
uint8_t * |
buf, |
|
|
int |
buf_size, |
|
|
void * |
data | |
|
) |
| | [static] |
static av_cold int xwd_encode_init |
( |
AVCodecContext * |
avctx |
) |
[static] |
Variable Documentation
Initial value:
{
.name = "xwd",
.type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_XWD,
.init = xwd_encode_init,
.encode = xwd_encode_frame,
.close = xwd_encode_close,
.pix_fmts = (const enum PixelFormat[]) { PIX_FMT_BGRA,
PIX_FMT_RGBA,
PIX_FMT_ARGB,
PIX_FMT_ABGR,
PIX_FMT_RGB24,
PIX_FMT_BGR24,
PIX_FMT_RGB565BE,
PIX_FMT_RGB565LE,
PIX_FMT_BGR565BE,
PIX_FMT_BGR565LE,
PIX_FMT_RGB555BE,
PIX_FMT_RGB555LE,
PIX_FMT_BGR555BE,
PIX_FMT_BGR555LE,
PIX_FMT_RGB8,
PIX_FMT_BGR8,
PIX_FMT_RGB4_BYTE,
PIX_FMT_BGR4_BYTE,
PIX_FMT_PAL8,
PIX_FMT_MONOWHITE,
PIX_FMT_NONE },
.long_name = NULL_IF_CONFIG_SMALL("XWD (X Window Dump) image"),
}
Definition at line 217 of file xwdenc.c.