libavcodec/sunrast.c File Reference

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  SUNRASTContext

Defines

#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

Functions

static av_cold int sunrast_init (AVCodecContext *avctx)
static int sunrast_decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)
static av_cold int sunrast_end (AVCodecContext *avctx)

Variables

AVCodec sunrast_decoder


Define Documentation

#define RT_BYTE_ENCODED   2

Definition at line 27 of file sunrast.c.

Referenced by sunrast_decode_frame().

#define RT_FORMAT_IFF   5

Definition at line 30 of file sunrast.c.

Referenced by sunrast_decode_frame().

#define RT_FORMAT_RGB   3

Definition at line 28 of file sunrast.c.

#define RT_FORMAT_TIFF   4

Definition at line 29 of file sunrast.c.

#define RT_OLD   0

Definition at line 25 of file sunrast.c.

#define RT_STANDARD   1

Definition at line 26 of file sunrast.c.


Function Documentation

static int sunrast_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
const uint8_t *  buf,
int  buf_size 
) [static]

Definition at line 45 of file sunrast.c.

static av_cold int sunrast_end ( AVCodecContext avctx  )  [static]

Definition at line 176 of file sunrast.c.

static av_cold int sunrast_init ( AVCodecContext avctx  )  [static]

Definition at line 36 of file sunrast.c.


Variable Documentation

Initial value:

 {
    "sunrast",
    CODEC_TYPE_VIDEO,
    CODEC_ID_SUNRAST,
    sizeof(SUNRASTContext),
    sunrast_init,
    NULL,
    sunrast_end,
    sunrast_decode_frame,
    0,
    NULL,
    .long_name = NULL_IF_CONFIG_SMALL("Sun Rasterfile image"),
}

Definition at line 185 of file sunrast.c.


Generated on Fri Oct 26 02:35:44 2012 for FFmpeg by  doxygen 1.5.8