#include "avcodec.h"
#include "mjpeg.h"
#include "mjpegdec.h"
Go to the source code of this file.
Functions | |
static uint32_t | read_offs (AVCodecContext *avctx, GetBitContext *gb, uint32_t size, const char *err_msg) |
static int | mjpegb_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
Variables | |
AVCodec | ff_mjpegb_decoder |
Definition in file mjpegbdec.c.
static int mjpegb_decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
Definition at line 40 of file mjpegbdec.c.
static uint32_t read_offs | ( | AVCodecContext * | avctx, | |
GetBitContext * | gb, | |||
uint32_t | size, | |||
const char * | err_msg | |||
) | [static] |
Initial value:
{ .name = "mjpegb", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_MJPEGB, .priv_data_size = sizeof(MJpegDecodeContext), .init = ff_mjpeg_decode_init, .close = ff_mjpeg_decode_end, .decode = mjpegb_decode_frame, .capabilities = CODEC_CAP_DR1, .max_lowres = 3, .long_name = NULL_IF_CONFIG_SMALL("Apple MJPEG-B"), }
Definition at line 152 of file mjpegbdec.c.