FFmpeg
|
MJPEG decoder. More...
#include "libavutil/imgutils.h"
#include "libavutil/avassert.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "blockdsp.h"
#include "copy_block.h"
#include "hwaccel.h"
#include "idctdsp.h"
#include "internal.h"
#include "jpegtables.h"
#include "mjpeg.h"
#include "mjpegdec.h"
#include "jpeglsdec.h"
#include "put_bits.h"
#include "tiff.h"
#include "exif.h"
#include "bytestream.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 893 of file mjpegdec.c.
Referenced by decode_block_refinement().
#define ZERO_RUN |
Definition at line 901 of file mjpegdec.c.
Referenced by decode_block_refinement().
#define copy_data_segment | ( | skip | ) |
Referenced by ff_mjpeg_find_marker().
|
static |
Definition at line 52 of file mjpegdec.c.
Referenced by build_basic_mjpeg_vlc(), and ff_mjpeg_decode_dht().
|
static |
Definition at line 75 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_init().
|
static |
Definition at line 107 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_init(), and mjpeg_decode_com().
|
static |
Definition at line 118 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 127 of file mjpegdec.c.
Referenced by mxpeg_decode_init().
int ff_mjpeg_decode_dqt | ( | MJpegDecodeContext * | s | ) |
Definition at line 188 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame(), mjpegb_decode_frame(), and mxpeg_decode_frame().
int ff_mjpeg_decode_dht | ( | MJpegDecodeContext * | s | ) |
Definition at line 229 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame(), ff_mjpeg_decode_init(), mjpegb_decode_frame(), and mxpeg_decode_frame().
int ff_mjpeg_decode_sof | ( | MJpegDecodeContext * | s | ) |
Definition at line 293 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame(), mjpegb_decode_frame(), and mxpeg_decode_frame().
|
inlinestatic |
Definition at line 735 of file mjpegdec.c.
Referenced by decode_block(), decode_dc_progressive(), ljpeg_decode_rgb_scan(), and ljpeg_decode_yuv_scan().
|
static |
Definition at line 753 of file mjpegdec.c.
Referenced by mjpeg_decode_scan().
|
static |
Definition at line 802 of file mjpegdec.c.
Referenced by mjpeg_decode_scan().
|
static |
Definition at line 820 of file mjpegdec.c.
Referenced by mjpeg_decode_scan_progressive_ac().
|
static |
Definition at line 919 of file mjpegdec.c.
Referenced by mjpeg_decode_scan_progressive_ac().
|
static |
Definition at line 984 of file mjpegdec.c.
Referenced by mjpeg_decode_scan(), and mjpeg_decode_scan_progressive_ac().
|
static |
Definition at line 1018 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_sos().
|
static |
Definition at line 1143 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_sos().
|
static |
Definition at line 1297 of file mjpegdec.c.
Referenced by mjpeg_decode_scan().
|
static |
Definition at line 1313 of file mjpegdec.c.
Referenced by mjpeg_decode_scan(), and mjpeg_idct_scan_progressive_ac().
|
static |
Definition at line 1328 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_sos().
|
static |
Definition at line 1449 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_sos().
|
static |
Definition at line 1501 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame().
int ff_mjpeg_decode_sos | ( | MJpegDecodeContext * | s, |
const uint8_t * | mb_bitmask, | ||
int | mb_bitmask_size, | ||
const AVFrame * | reference | ||
) |
Definition at line 1536 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame(), mjpegb_decode_frame(), and mxpeg_decode_frame().
|
static |
Definition at line 1716 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame().
|
static |
Definition at line 1728 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame().
|
static |
Definition at line 2037 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame().
Definition at line 2077 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 2102 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_frame(), and mxpeg_decode_frame().
|
static |
Definition at line 2222 of file mjpegdec.c.
Referenced by ff_mjpeg_decode_end(), and ff_mjpeg_decode_frame().
int ff_mjpeg_decode_frame | ( | AVCodecContext * | avctx, |
void * | data, | ||
int * | got_frame, | ||
AVPacket * | avpkt | ||
) |
Definition at line 2236 of file mjpegdec.c.
Referenced by sp5x_decode_frame().
av_cold int ff_mjpeg_decode_end | ( | AVCodecContext * | avctx | ) |
Definition at line 2715 of file mjpegdec.c.
Referenced by mxpeg_decode_end().
|
static |
Definition at line 2752 of file mjpegdec.c.