#include "libavutil/opt.h"
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "sunrast.h"
Go to the source code of this file.
◆ GET_VALUE
#define GET_VALUE y >= avctx->height ? 0 : x >= len ? ptr[len-1] : ptr[x] |
◆ OFFSET
◆ VE
◆ sunrast_image_write_header()
◆ sunrast_image_write_image()
◆ sunrast_encode_init()
◆ sunrast_encode_frame()
◆ options
◆ sunrast_class
Initial value:= {
.class_name = "sunrast",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
static const AVOption options[]
Definition at line 220 of file sunrastenc.c.
◆ sunrast_defaults
◆ ff_sunrast_encoder
Initial value:= {
.name = "sunrast",
}
static const AVCodecDefault sunrast_defaults[]
static av_cold int init(AVCodecContext *avctx)
static int sunrast_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
8 bits with AV_PIX_FMT_RGB32 palette
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVCodecDefault defaults[]
packed RGB 8:8:8, 24bpp, BGRBGR...
static av_cold int sunrast_encode_init(AVCodecContext *avctx)
static enum AVPixelFormat pix_fmts[]
Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb...
static const AVClass sunrast_class
AVPixelFormat
Pixel format.
Definition at line 234 of file sunrastenc.c.