FFmpeg
|
mxpegdec.c File Reference
MxPEG decoder. More...
Include dependency graph for mxpegdec.c:
Go to the source code of this file.
Data Structures | |
struct | MXpegDecodeContext |
Typedefs | |
typedef struct MXpegDecodeContext | 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 *got_frame, AVPacket *avpkt) |
static av_cold int | mxpeg_decode_end (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_mxpeg_decoder |
Detailed Description
MxPEG decoder.
Definition in file mxpegdec.c.
Typedef Documentation
typedef struct MXpegDecodeContext MXpegDecodeContext |
Function Documentation
|
static |
Definition at line 133 of file mxpegdec.c.
Referenced by mxpeg_decode_frame().
|
static |
Definition at line 53 of file mxpegdec.c.
Referenced by mxpeg_decode_frame().
|
static |
Definition at line 118 of file mxpegdec.c.
Referenced by mxpeg_decode_frame().
|
static |
Definition at line 311 of file mxpegdec.c.
|
static |
Definition at line 158 of file mxpegdec.c.
|
static |
Definition at line 45 of file mxpegdec.c.
|
static |
Definition at line 65 of file mxpegdec.c.
Referenced by mxpeg_decode_com().
Variable Documentation
AVCodec ff_mxpeg_decoder |
Initial value:
= {
.name = "mxpeg",
.long_name = NULL_IF_CONFIG_SMALL("Mobotix MxPEG video"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_MXPEG,
.priv_data_size = sizeof(MXpegDecodeContext),
.capabilities = CODEC_CAP_DR1,
.max_lowres = 3,
}
static int mxpeg_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: mxpegdec.c:158
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: libavcodec/avcodec.h:743
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
Definition: libavcodec/avcodec.h:249
static av_cold int mxpeg_decode_init(AVCodecContext *avctx)
Definition: mxpegdec.c:45
static av_cold int mxpeg_decode_end(AVCodecContext *avctx)
Definition: mxpegdec.c:311
Definition: avutil.h:143
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
struct MXpegDecodeContext MXpegDecodeContext
Definition at line 329 of file mxpegdec.c.
Generated on Mon Nov 18 2024 06:52:08 for FFmpeg by 1.8.11