FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
mjpegbdec.c File Reference

Apple MJPEG-B decoder. More...

#include <inttypes.h>
#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 *got_frame, AVPacket *avpkt)
 

Variables

AVCodec ff_mjpegb_decoder
 

Detailed Description

Apple MJPEG-B decoder.

Definition in file mjpegbdec.c.

Function Documentation

static uint32_t read_offs ( AVCodecContext avctx,
GetBitContext gb,
uint32_t  size,
const char *  err_msg 
)
static

Definition at line 33 of file mjpegbdec.c.

Referenced by mjpegb_decode_frame().

static int mjpegb_decode_frame ( AVCodecContext avctx,
void data,
int *  got_frame,
AVPacket avpkt 
)
static

Definition at line 42 of file mjpegbdec.c.

Variable Documentation

AVCodec ff_mjpegb_decoder
Initial value:
= {
.name = "mjpegb",
.long_name = NULL_IF_CONFIG_SMALL("Apple MJPEG-B"),
.priv_data_size = sizeof(MJpegDecodeContext),
.capabilities = CODEC_CAP_DR1,
.max_lowres = 3,
}

Definition at line 159 of file mjpegbdec.c.