sp5xdec.c File Reference

Sunplus JPEG decoder (SP5X). More...

#include "avcodec.h"
#include "mjpeg.h"
#include "mjpegdec.h"
#include "sp5x.h"

Go to the source code of this file.

Functions

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

Variables

AVCodec ff_sp5x_decoder
AVCodec ff_amv_decoder

Detailed Description

Sunplus JPEG decoder (SP5X).

Definition in file sp5xdec.c.

Function Documentation

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

Definition at line 33 of file sp5xdec.c.

Variable Documentation

AVCodec ff_amv_decoder
Initial value:
{
.name = "amv",
.id = CODEC_ID_AMV,
.priv_data_size = sizeof(MJpegDecodeContext),
.long_name = NULL_IF_CONFIG_SMALL("AMV Video"),
}

Definition at line 109 of file sp5xdec.c.

AVCodec ff_sp5x_decoder
Initial value:
{
.name = "sp5x",
.priv_data_size = sizeof(MJpegDecodeContext),
.capabilities = CODEC_CAP_DR1,
.max_lowres = 3,
.long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"),
}

Definition at line 96 of file sp5xdec.c.