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 |
Sunplus JPEG decoder (SP5X).
Definition in file sp5xdec.c.
| static int sp5x_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| AVPacket * | avpkt | |||
| ) | [static] |
{
.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"),
}
{
.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)"),
}