libavcodec/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

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, AVPacket *avpkt)
static av_cold int sunrast_end (AVCodecContext *avctx)

Variables

AVCodec ff_sunrast_decoder


Define 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.


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 229 of file sunrast.c.

static av_cold int sunrast_init ( AVCodecContext avctx  )  [static]

Definition at line 37 of file sunrast.c.


Variable Documentation

Initial value:

 {
    .name           = "sunrast",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_SUNRAST,
    .priv_data_size = sizeof(SUNRASTContext),
    .init           = sunrast_init,
    .close          = sunrast_end,
    .decode         = sunrast_decode_frame,
    .capabilities   = CODEC_CAP_DR1,
    .long_name = NULL_IF_CONFIG_SMALL("Sun Rasterfile image"),
}

Definition at line 238 of file sunrast.c.


Generated on Fri Oct 26 02:46:10 2012 for FFmpeg by  doxygen 1.5.8