#include "avcodec.h"
#include "bytestream.h"
#include "sgi.h"
#include "rle.h"
Go to the source code of this file.
#define SGI_SINGLE_CHAN 2 |
static int encode_frame |
( |
AVCodecContext * |
avctx, |
|
|
unsigned char * |
buf, |
|
|
int |
buf_size, |
|
|
void * |
data |
|
) |
| |
|
static |
Initial value:= {
.name = "sgi",
}
struct SgiContext SgiContext
static int init(AVCodecParserContext *s)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold int encode_init(AVCodecContext *avctx)
packed RGB 8:8:8, 24bpp, RGBRGB...
packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data)
Definition at line 162 of file sgienc.c.