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()
| static void sunrast_image_write_image |
( |
AVCodecContext * | avctx, |
|
|
const uint8_t * | pixels, |
|
|
const uint32_t * | palette_data, |
|
|
int | linesize ) |
|
static |
◆ sunrast_encode_init()
◆ sunrast_encode_frame()
◆ options
Initial value:= {
}
@ AV_OPT_TYPE_INT
Underlying C type is int.
Definition at line 199 of file sunrastenc.c.
◆ sunrast_class
Initial value:= {
.class_name = "sunrast",
}
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
Definition at line 205 of file sunrastenc.c.
◆ ff_sunrast_encoder
Initial value:= {
.p.name = "sunrast",
}
#define CODEC_PIXFMTS(...)
#define FF_CODEC_ENCODE_CB(func)
#define CODEC_LONG_NAME(str)
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE
This encoder can reorder user opaque values from input AVFrames and return them with corresponding ou...
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
@ AV_PIX_FMT_GRAY8
Y , 8bpp.
@ AV_PIX_FMT_PAL8
8 bits with AV_PIX_FMT_RGB32 palette
@ AV_PIX_FMT_BGR24
packed RGB 8:8:8, 24bpp, BGRBGR...
@ AV_PIX_FMT_MONOWHITE
Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb.
static int sunrast_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
static av_cold int sunrast_encode_init(AVCodecContext *avctx)
static const AVClass sunrast_class
Definition at line 212 of file sunrastenc.c.