FFmpeg
Loading...
Searching...
No Matches
xbmenc.c File Reference
#include "avcodec.h"
#include "codec_internal.h"
#include "encode.h"

Go to the source code of this file.

Macros

#define ANSI_MIN_READLINE   509
 

Functions

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

Variables

const FFCodec ff_xbm_encoder
 

Macro Definition Documentation

◆ ANSI_MIN_READLINE

#define ANSI_MIN_READLINE   509

Definition at line 27 of file xbmenc.c.

Referenced by xbm_encode_frame().

Function Documentation

◆ xbm_encode_frame()

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

Definition at line 29 of file xbmenc.c.

Variable Documentation

◆ ff_xbm_encoder

const FFCodec ff_xbm_encoder
Initial value:
= {
.p.name = "xbm",
CODEC_LONG_NAME("XBM (X BitMap) image"),
.p.type = AVMEDIA_TYPE_VIDEO,
.p.id = AV_CODEC_ID_XBM,
}
#define CODEC_PIXFMTS(...)
#define FF_CODEC_ENCODE_CB(func)
#define CODEC_LONG_NAME(str)
#define AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE
This encoder can reorder user opaque values from input AVFrames and return them with corresponding ou...
Definition codec.h:147
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
Definition codec.h:49
@ AV_CODEC_ID_XBM
Definition codec_id.h:209
@ AVMEDIA_TYPE_VIDEO
Definition avutil.h:200
@ AV_PIX_FMT_MONOWHITE
Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb.
Definition pixfmt.h:82
static int xbm_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *p, int *got_packet)
Definition xbmenc.c:29

Definition at line 89 of file xbmenc.c.