#include "libavutil/opt.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "encode.h"
#include "sgi.h"
#include "rle.h"
Go to the source code of this file.
◆ SGI_SINGLE_CHAN
#define SGI_SINGLE_CHAN 2 |
◆ SGI_MULTI_CHAN
◆ OFFSET
◆ VE
◆ encode_init()
◆ sgi_rle_encode()
◆ encode_frame()
◆ options
Initial value:
Definition at line 260 of file sgienc.c.
◆ sgi_class
Initial value:= {
.class_name = "sgi",
}
Definition at line 266 of file sgienc.c.
◆ ff_sgi_encoder
Initial value:= {
.p.name = "sgi",
},
}
Definition at line 273 of file sgienc.c.
AVPixelFormat
Pixel format.
@ AV_PIX_FMT_RGBA64BE
packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is st...
static int rle(uint8_t *dst, const uint8_t *src, int compressed_size, int uncompressed_size)
@ AV_PIX_FMT_GRAY16BE
Y , 16bpp, big-endian.
#define FF_CODEC_ENCODE_CB(func)
static av_cold int encode_init(AVCodecContext *avctx)
static const AVOption options[]
#define AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE
This encoder can reorder user opaque values from input AVFrames and return them with corresponding ou...
static const AVClass sgi_class
#define CODEC_LONG_NAME(str)
@ AV_PIX_FMT_RGBA
packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
#define LIBAVUTIL_VERSION_INT
@ AV_PIX_FMT_RGB48LE
packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as lit...
const char * av_default_item_name(void *ptr)
Return the context name.
@ AV_PIX_FMT_RGBA64LE
packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is st...
@ AV_PIX_FMT_GRAY8
Y , 8bpp.
@ AV_PIX_FMT_RGB24
packed RGB 8:8:8, 24bpp, RGBRGB...
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
@ AV_PIX_FMT_RGB48BE
packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as big...
@ AV_PIX_FMT_GRAY16LE
Y , 16bpp, little-endian.