libavcodec/mjpegbdec.c File Reference

Apple MJPEG-B decoder. More...

#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


Detailed Description

Apple MJPEG-B decoder.

Definition in file mjpegbdec.c.


Function Documentation

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]

Definition at line 31 of file mjpegbdec.c.

Referenced by mjpegb_decode_frame().


Variable Documentation

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.


Generated on Fri Oct 26 02:43:48 2012 for FFmpeg by  doxygen 1.5.8