All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
xbmenc.c File Reference
#include "avcodec.h"
#include "internal.h"
#include "mathops.h"

Go to the source code of this file.


static av_cold int xbm_encode_init (AVCodecContext *avctx)
static int xbm_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *p, int *got_packet)
static av_cold int xbm_encode_close (AVCodecContext *avctx)


AVCodec ff_xbm_encoder

Function Documentation

static av_cold int xbm_encode_init ( AVCodecContext avctx)

Definition at line 27 of file xbmenc.c.

static int xbm_encode_frame ( AVCodecContext avctx,
AVPacket pkt,
const AVFrame p,
int *  got_packet 

Definition at line 37 of file xbmenc.c.

static av_cold int xbm_encode_close ( AVCodecContext avctx)

Definition at line 68 of file xbmenc.c.

Variable Documentation

AVCodec ff_xbm_encoder
Initial value:
= {
.name = "xbm",
.init = xbm_encode_init,
.encode2 = xbm_encode_frame,
.close = xbm_encode_close,
.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_MONOWHITE,
.long_name = NULL_IF_CONFIG_SMALL("XBM (X BitMap) image"),

Definition at line 75 of file xbmenc.c.