FFmpeg
|
#include "config_components.h"
#include "libavutil/display.h"
#include "libavutil/emms.h"
#include "libavutil/imgutils.h"
#include "libavutil/avassert.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "blockdsp.h"
#include "codec_internal.h"
#include "copy_block.h"
#include "decode.h"
#include "hwaccel_internal.h"
#include "hwconfig.h"
#include "idctdsp.h"
#include "internal.h"
#include "jpegtables.h"
#include "mjpeg.h"
#include "mjpegdec.h"
#include "jpeglsdec.h"
#include "profiles.h"
#include "put_bits.h"
#include "tiff.h"
#include "exif.h"
#include "bytestream.h"
#include "tiff_common.h"
Go to the source code of this file.
Macros | |
#define | REFINE_BIT(j) |
#define | ZERO_RUN |
#define | copy_data_segment(skip) |
MJPEG decoder.
Definition in file mjpegdec.c.
#define REFINE_BIT | ( | j | ) |
Definition at line 974 of file mjpegdec.c.
#define ZERO_RUN |
#define copy_data_segment | ( | skip | ) |
|
static |
Definition at line 61 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_init().
|
static |
Definition at line 104 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_init(), and mjpeg_decode_com().
|
static |
Definition at line 115 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_init(), and ff_mjpeg_decode_sof().
av_cold int ff_mjpeg_decode_init | ( | AVCodecContext * | avctx | ) |
Definition at line 124 of file mjpegdec.c.
Referenced by mxpeg_decode_init().
int ff_mjpeg_decode_dqt | ( | MJpegDecodeContext * | s | ) |
Definition at line 198 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame_from_buf(), mjpegb_decode_frame(), and mxpeg_decode_frame().
int ff_mjpeg_decode_dht | ( | MJpegDecodeContext * | s | ) |
Definition at line 241 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame_from_buf(), ff_mjpeg_decode_init(), mjpegb_decode_frame(), and mxpeg_decode_frame().
int ff_mjpeg_decode_sof | ( | MJpegDecodeContext * | s | ) |
Definition at line 302 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame_from_buf(), mjpegb_decode_frame(), and mxpeg_decode_frame().
|
inlinestatic |
Definition at line 816 of file mjpegdec.c.
Referenced by decode_block(), decode_dc_progressive(), ljpeg_decode_rgb_scan(), and ljpeg_decode_yuv_scan().
|
static |
Definition at line 834 of file mjpegdec.c.
Referenced by mjpeg_decode_scan().
|
static |
Definition at line 883 of file mjpegdec.c.
Referenced by mjpeg_decode_scan().
|
static |
Definition at line 901 of file mjpegdec.c.
Referenced by mjpeg_decode_scan_progressive_ac().
|
static |
Definition at line 1000 of file mjpegdec.c.
Referenced by mjpeg_decode_scan_progressive_ac().
|
static |
Definition at line 1065 of file mjpegdec.c.
Referenced by mjpeg_decode_scan(), and mjpeg_decode_scan_progressive_ac().
|
static |
Definition at line 1100 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_sos().
|
static |
Definition at line 1272 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_sos().
|
static |
Definition at line 1426 of file mjpegdec.c.
Referenced by mjpeg_decode_scan().
|
static |
Definition at line 1442 of file mjpegdec.c.
Referenced by mjpeg_decode_scan(), and mjpeg_idct_scan_progressive_ac().
|
static |
Definition at line 1457 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_sos().
|
static |
Definition at line 1578 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_sos().
|
static |
Definition at line 1633 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame_from_buf().
int ff_mjpeg_decode_sos | ( | MJpegDecodeContext * | s, |
const uint8_t * | mb_bitmask, | ||
int | mb_bitmask_size, | ||
const AVFrame * | reference | ||
) |
Definition at line 1668 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame_from_buf(), mjpegb_decode_frame(), and mxpeg_decode_frame().
|
static |
Definition at line 1843 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame_from_buf().
|
static |
Definition at line 1855 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame_from_buf().
|
static |
Definition at line 2172 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame_from_buf().
|
static |
Definition at line 2212 of file mjpegdec.c.
Referenced by ff_mjpeg_find_marker().
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 2237 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame_from_buf(), and mxpeg_decode_frame().
|
static |
Definition at line 2357 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_end(), and ff_mjpeg_decode_frame_from_buf().
int ff_mjpeg_decode_frame_from_buf | ( | AVCodecContext * | avctx, |
AVFrame * | frame, | ||
int * | got_frame, | ||
const AVPacket * | avpkt, | ||
const uint8_t * | buf, | ||
const int | buf_size | ||
) |
Definition at line 2371 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame(), and sp5x_decode_frame().
int ff_mjpeg_decode_frame | ( | AVCodecContext * | avctx, |
AVFrame * | frame, | ||
int * | got_frame, | ||
AVPacket * | avpkt | ||
) |
Definition at line 2924 of file mjpegdec.c.
av_cold int ff_mjpeg_decode_end | ( | AVCodecContext * | avctx | ) |
Definition at line 2934 of file mjpegdec.c.
Referenced by mxpeg_decode_end().
|
static |
Definition at line 2974 of file mjpegdec.c.