#include "avcodec.h"
#include "internal.h"
#include "libavutil/common.h"
Go to the source code of this file.
Functions | |
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) |
Variables | |
AVCodec | ff_xbm_encoder |
static av_cold int xbm_encode_close | ( | AVCodecContext * | avctx | ) | [static] |
static int xbm_encode_frame | ( | AVCodecContext * | avctx, | |
AVPacket * | pkt, | |||
const AVFrame * | p, | |||
int * | got_packet | |||
) | [static] |
static av_cold int xbm_encode_init | ( | AVCodecContext * | avctx | ) | [static] |
Initial value:
{ .name = "xbm", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_XBM, .init = xbm_encode_init, .encode2 = xbm_encode_frame, .close = xbm_encode_close, .pix_fmts = (const enum PixelFormat[]) { PIX_FMT_MONOWHITE, PIX_FMT_NONE }, .long_name = NULL_IF_CONFIG_SMALL("XBM (X BitMap) image"), }