FFmpeg
|
sgienc.c File Reference
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "sgi.h"
#include "rle.h"
Include dependency graph for sgienc.c:
Go to the source code of this file.
Data Structures | |
struct | SgiContext |
Macros | |
#define | SGI_SINGLE_CHAN 2 |
#define | SGI_MULTI_CHAN 3 |
Typedefs | |
typedef struct SgiContext | SgiContext |
Functions | |
static av_cold int | encode_init (AVCodecContext *avctx) |
static int | encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) |
Variables | |
AVCodec | ff_sgi_encoder |
Macro Definition Documentation
#define SGI_MULTI_CHAN 3 |
Definition at line 29 of file sgienc.c.
Referenced by encode_frame().
#define SGI_SINGLE_CHAN 2 |
Definition at line 28 of file sgienc.c.
Referenced by encode_frame().
Typedef Documentation
typedef struct SgiContext SgiContext |
Function Documentation
|
static |
|
static |
Variable Documentation
AVCodec ff_sgi_encoder |
Initial value:
= {
.name = "sgi",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_SGI,
.priv_data_size = sizeof(SgiContext),
.init = encode_init,
.encode2 = encode_frame,
},
.long_name = NULL_IF_CONFIG_SMALL("SGI image"),
}
Definition: pixfmt.h:67
packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as lit...
Definition: pixfmt.h:112
packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is st...
Definition: pixfmt.h:209
static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
Definition: sgienc.c:50
struct SgiContext SgiContext
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as big...
Definition: pixfmt.h:111
Definition: avutil.h:143
packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is st...
Definition: pixfmt.h:210
Definition: libavcodec/avcodec.h:204
Generated on Fri Dec 20 2024 06:56:15 for FFmpeg by 1.8.11