sunrast.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  SUNRASTContext

Macros

#define RT_OLD   0
#define RT_STANDARD   1
#define RT_BYTE_ENCODED   2
#define RT_FORMAT_RGB   3
#define RT_FORMAT_TIFF   4
#define RT_FORMAT_IFF   5

Typedefs

typedef struct SUNRASTContext SUNRASTContext

Functions

static av_cold int sunrast_init (AVCodecContext *avctx)
static int sunrast_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
static av_cold int sunrast_end (AVCodecContext *avctx)

Variables

AVCodec ff_sunrast_decoder

Macro Definition Documentation

#define RT_BYTE_ENCODED   2

Definition at line 28 of file sunrast.c.

Referenced by sunrast_decode_frame().

#define RT_FORMAT_IFF   5

Definition at line 31 of file sunrast.c.

Referenced by sunrast_decode_frame().

#define RT_FORMAT_RGB   3

Definition at line 29 of file sunrast.c.

Referenced by sunrast_decode_frame().

#define RT_FORMAT_TIFF   4

Definition at line 30 of file sunrast.c.

Referenced by sunrast_decode_frame().

#define RT_OLD   0

Definition at line 26 of file sunrast.c.

#define RT_STANDARD   1

Definition at line 27 of file sunrast.c.

Typedef Documentation

Function Documentation

static int sunrast_decode_frame ( AVCodecContext avctx,
void data,
int *  data_size,
AVPacket avpkt 
)
static

Definition at line 46 of file sunrast.c.

static av_cold int sunrast_end ( AVCodecContext avctx)
static

Definition at line 192 of file sunrast.c.

static av_cold int sunrast_init ( AVCodecContext avctx)
static

Definition at line 37 of file sunrast.c.

Variable Documentation

AVCodec ff_sunrast_decoder
Initial value:
{
.name = "sunrast",
.priv_data_size = sizeof(SUNRASTContext),
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Sun Rasterfile image"),
}

Definition at line 201 of file sunrast.c.