#include "avcodec.h"
#include "bytestream.h"
#include "sgi.h"
#include "rle.h"
Go to the source code of this file.
Data Structures | |
struct | SgiContext |
Defines | |
#define | SGI_SINGLE_CHAN 2 |
#define | SGI_MULTI_CHAN 3 |
Functions | |
static av_cold int | encode_init (AVCodecContext *avctx) |
static int | encode_frame (AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data) |
Variables | |
AVCodec | ff_sgi_encoder |
#define SGI_MULTI_CHAN 3 |
#define SGI_SINGLE_CHAN 2 |
static int encode_frame | ( | AVCodecContext * | avctx, | |
unsigned char * | buf, | |||
int | buf_size, | |||
void * | data | |||
) | [static] |
static av_cold int encode_init | ( | AVCodecContext * | avctx | ) | [static] |
Initial value:
{ .name = "sgi", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_SGI, .priv_data_size = sizeof(SgiContext), .init = encode_init, .encode = encode_frame, .pix_fmts= (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGBA, PIX_FMT_RGB48LE, PIX_FMT_RGB48BE, PIX_FMT_RGBA64LE, PIX_FMT_RGBA64BE, PIX_FMT_GRAY16LE, PIX_FMT_GRAY16BE, PIX_FMT_GRAY8, PIX_FMT_NONE}, .long_name= NULL_IF_CONFIG_SMALL("SGI image"), }