libavcodec/sgienc.c File Reference

#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 sgi_encoder


Define Documentation

#define SGI_MULTI_CHAN   3

Definition at line 28 of file sgienc.c.

Referenced by encode_frame().

#define SGI_SINGLE_CHAN   2

Definition at line 27 of file sgienc.c.

Referenced by encode_frame().


Function Documentation

static int encode_frame ( AVCodecContext avctx,
unsigned char *  buf,
int  buf_size,
void *  data 
) [static]

Definition at line 44 of file sgienc.c.

static av_cold int encode_init ( AVCodecContext avctx  )  [static]

Definition at line 34 of file sgienc.c.


Variable Documentation

Initial value:

 {
    "sgi",
    AVMEDIA_TYPE_VIDEO,
    CODEC_ID_SGI,
    sizeof(SgiContext),
    encode_init,
    encode_frame,
    NULL,
    .pix_fmts= (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGBA, PIX_FMT_GRAY8, PIX_FMT_NONE},
    .long_name= NULL_IF_CONFIG_SMALL("SGI image"),
}

Definition at line 162 of file sgienc.c.


Generated on Fri Oct 26 02:36:53 2012 for FFmpeg by  doxygen 1.5.8