FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
sgienc.c File Reference
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "sgi.h"
#include "rle.h"

Go to the source code of this file.

Macros

#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, AVPacket *pkt, const AVFrame *frame, int *got_packet)
 
static av_cold int encode_close (AVCodecContext *avctx)
 

Variables

AVCodec ff_sgi_encoder
 

Macro Definition Documentation

#define SGI_SINGLE_CHAN   2

Definition at line 28 of file sgienc.c.

Referenced by encode_frame().

#define SGI_MULTI_CHAN   3

Definition at line 29 of file sgienc.c.

Referenced by encode_frame().

Function Documentation

static av_cold int encode_init ( AVCodecContext avctx)
static

Definition at line 31 of file sgienc.c.

static int encode_frame ( AVCodecContext avctx,
AVPacket pkt,
const AVFrame frame,
int *  got_packet 
)
static

Definition at line 47 of file sgienc.c.

static av_cold int encode_close ( AVCodecContext avctx)
static

Definition at line 209 of file sgienc.c.

Variable Documentation

AVCodec ff_sgi_encoder
Initial value:

Definition at line 215 of file sgienc.c.