Functions | Variables

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

Initial value:
 {
    "amv",
    AVMEDIA_TYPE_VIDEO,
    CODEC_ID_AMV,
    sizeof(MJpegDecodeContext),
    ff_mjpeg_decode_init,
    NULL,
    ff_mjpeg_decode_end,
    sp5x_decode_frame,
    0,
    .long_name = NULL_IF_CONFIG_SMALL("AMV Video"),
}

Definition at line 209 of file sp5xdec.c.

Initial value:
 {
    "sp5x",
    AVMEDIA_TYPE_VIDEO,
    CODEC_ID_SP5X,
    sizeof(MJpegDecodeContext),
    ff_mjpeg_decode_init,
    NULL,
    ff_mjpeg_decode_end,
    sp5x_decode_frame,
    CODEC_CAP_DR1,
    NULL,
    .long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"),
}

Definition at line 195 of file sp5xdec.c.