#include "mjpeg.h"
#include "mjpegdec.h"
Go to the source code of this file.
Data Structures | |
struct | MXpegDecodeContext |
Functions | |
static av_cold int | mxpeg_decode_init (AVCodecContext *avctx) |
static int | mxpeg_decode_app (MXpegDecodeContext *s, const uint8_t *buf_ptr, int buf_size) |
static int | mxpeg_decode_mxm (MXpegDecodeContext *s, const uint8_t *buf_ptr, int buf_size) |
static int | mxpeg_decode_com (MXpegDecodeContext *s, const uint8_t *buf_ptr, int buf_size) |
static int | mxpeg_check_dimensions (MXpegDecodeContext *s, MJpegDecodeContext *jpg, AVFrame *reference_ptr) |
static int | mxpeg_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
static av_cold int | mxpeg_decode_end (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_mxpeg_decoder |
Definition in file mxpegdec.c.
static int mxpeg_check_dimensions | ( | MXpegDecodeContext * | s, | |
MJpegDecodeContext * | jpg, | |||
AVFrame * | reference_ptr | |||
) | [static] |
static int mxpeg_decode_app | ( | MXpegDecodeContext * | s, | |
const uint8_t * | buf_ptr, | |||
int | buf_size | |||
) | [static] |
static int mxpeg_decode_com | ( | MXpegDecodeContext * | s, | |
const uint8_t * | buf_ptr, | |||
int | buf_size | |||
) | [static] |
static av_cold int mxpeg_decode_end | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 312 of file mxpegdec.c.
static int mxpeg_decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
Definition at line 158 of file mxpegdec.c.
static av_cold int mxpeg_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 44 of file mxpegdec.c.
static int mxpeg_decode_mxm | ( | MXpegDecodeContext * | s, | |
const uint8_t * | buf_ptr, | |||
int | buf_size | |||
) | [static] |
Initial value:
{ .name = "mxpeg", .long_name = NULL_IF_CONFIG_SMALL("Mobotix MxPEG video"), .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_MXPEG, .priv_data_size = sizeof(MXpegDecodeContext), .init = mxpeg_decode_init, .close = mxpeg_decode_end, .decode = mxpeg_decode_frame, .capabilities = CODEC_CAP_DR1, .max_lowres = 3 }
Definition at line 332 of file mxpegdec.c.