libavcodec/mjpegdec.h File Reference

MJPEG decoder. More...

#include "libavutil/log.h"
#include "avcodec.h"
#include "get_bits.h"
#include "dsputil.h"

Go to the source code of this file.

Data Structures

struct  MJpegDecodeContext

Defines

#define MAX_COMPONENTS   4

Functions

int ff_mjpeg_decode_init (AVCodecContext *avctx)
int ff_mjpeg_decode_end (AVCodecContext *avctx)
int ff_mjpeg_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
int ff_mjpeg_decode_dqt (MJpegDecodeContext *s)
int ff_mjpeg_decode_dht (MJpegDecodeContext *s)
int ff_mjpeg_decode_sof (MJpegDecodeContext *s)
int ff_mjpeg_decode_sos (MJpegDecodeContext *s, const uint8_t *mb_bitmask, const AVFrame *reference)
int ff_mjpeg_find_marker (MJpegDecodeContext *s, const uint8_t **buf_ptr, const uint8_t *buf_end, const uint8_t **unescaped_buf_ptr, int *unescaped_buf_size)


Detailed Description

MJPEG decoder.

Definition in file mjpegdec.h.


Define Documentation

#define MAX_COMPONENTS   4


Function Documentation

int ff_mjpeg_decode_dht ( MJpegDecodeContext s  ) 

int ff_mjpeg_decode_dqt ( MJpegDecodeContext s  ) 

Definition at line 130 of file mjpegdec.c.

Referenced by ff_mjpeg_decode_frame(), mjpegb_decode_frame(), and mxpeg_decode_frame().

int ff_mjpeg_decode_end ( AVCodecContext avctx  ) 

Definition at line 1632 of file mjpegdec.c.

Referenced by mxpeg_decode_end().

int ff_mjpeg_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
AVPacket avpkt 
)

Definition at line 1463 of file mjpegdec.c.

Referenced by sp5x_decode_frame().

int ff_mjpeg_decode_init ( AVCodecContext avctx  ) 

Definition at line 82 of file mjpegdec.c.

Referenced by mxpeg_decode_init().

int ff_mjpeg_decode_sof ( MJpegDecodeContext s  ) 

Definition at line 218 of file mjpegdec.c.

Referenced by ff_mjpeg_decode_frame(), mjpegb_decode_frame(), and mxpeg_decode_frame().

int ff_mjpeg_decode_sos ( MJpegDecodeContext s,
const uint8_t *  mb_bitmask,
const AVFrame reference 
)

Definition at line 1020 of file mjpegdec.c.

Referenced by ff_mjpeg_decode_frame(), mjpegb_decode_frame(), and mxpeg_decode_frame().

int ff_mjpeg_find_marker ( MJpegDecodeContext s,
const uint8_t **  buf_ptr,
const uint8_t *  buf_end,
const uint8_t **  unescaped_buf_ptr,
int *  unescaped_buf_size 
)

Definition at line 1368 of file mjpegdec.c.

Referenced by ff_mjpeg_decode_frame(), and mxpeg_decode_frame().


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