libavcodec/sunrast.c File Reference

#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "sunrast.h"

Go to the source code of this file.

Data Structures

struct  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


Function Documentation

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

Definition at line 41 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 32 of file sunrast.c.


Variable Documentation

Initial value:

 {
    .name           = "sunrast",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = AV_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:50:07 2012 for FFmpeg by  doxygen 1.5.8