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

Initial value:

 {
    .name           = "amv",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_AMV,
    .priv_data_size = sizeof(MJpegDecodeContext),
    .init           = ff_mjpeg_decode_init,
    .close          = ff_mjpeg_decode_end,
    .decode         = sp5x_decode_frame,
    .long_name = NULL_IF_CONFIG_SMALL("AMV Video"),
}

Definition at line 109 of file sp5xdec.c.

Initial value:

 {
    .name           = "sp5x",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_SP5X,
    .priv_data_size = sizeof(MJpegDecodeContext),
    .init           = ff_mjpeg_decode_init,
    .close          = ff_mjpeg_decode_end,
    .decode         = sp5x_decode_frame,
    .capabilities   = CODEC_CAP_DR1,
    .max_lowres = 3,
    .long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"),
}

Definition at line 96 of file sp5xdec.c.


Generated on Fri Oct 26 02:43:49 2012 for FFmpeg by  doxygen 1.5.8