#include "avcodec.h"
#include "internal.h"
#include "mathops.h"
Go to the source code of this file.
Initial value:= {
.name = "xbm",
}
static av_cold int xbm_encode_close(AVCodecContext *avctx)
static int xbm_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *p, int *got_packet)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
AVPixelFormat
Pixel format.
static av_cold int xbm_encode_init(AVCodecContext *avctx)
Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb...
Definition at line 77 of file xbmenc.c.